Building libgcrypt-1.4.3 with the Sun C compiler on Solaris 10:
gmake[2]: Entering directory `/opt/build/libgcrypt-1.4.3/random' /opt/fsw/bash32/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/opt/TWWfsw/libgpgerror16/include -mr -Qn -xstrconst -xO2 -xtarget=ultra2 -m32 -xarch=sparcvis -c -o random.lo random.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/opt/TWWfsw/libgpgerror16/include -mr -Qn -xstrconst -xO2 -xtarget=ultra2 -m32 -xarch=sparcvis -c random.c -KPIC -DPIC -o .libs/random.o
"random.c", line 322: void function cannot return value
cc: acomp failed for random.c
gmake[2]: *** [random.lo] Error 1
gmake[2]: Leaving directory `/opt/build/libgcrypt-1.4.3/random'
Patch attached.
--
albert chin (china@thewrittenword.com)
gmake[2]: Entering directory `/opt/build/libgcrypt-1.4.3/random' /opt/fsw/bash32/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/opt/TWWfsw/libgpgerror16/include -mr -Qn -xstrconst -xO2 -xtarget=ultra2 -m32 -xarch=sparcvis -c -o random.lo random.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/opt/TWWfsw/libgpgerror16/include -mr -Qn -xstrconst -xO2 -xtarget=ultra2 -m32 -xarch=sparcvis -c random.c -KPIC -DPIC -o .libs/random.o
"random.c", line 322: void function cannot return value
cc: acomp failed for random.c
gmake[2]: *** [random.lo] Error 1
gmake[2]: Leaving directory `/opt/build/libgcrypt-1.4.3/random'
Patch attached.
--
albert chin (china@thewrittenword.com)