Error building libgcrypt in SUNOS
Eduardo Espejo Gavilano
eduardo.espejo at t-empresas.com.pe
Thu Mar 3 21:26:52 CET 2005
Hi, I am trying to compile libgcrypt in SunOS 5.6 but I get this errors:
source='mpiutil.c' object='mpiutil.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/ksh ../depcomp \
/bin/ksh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I../src -I/usr/pptmain/libgpg-error-1.0/include -g -c -o mpiutil.lo
mpiutil.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/pptmain/libgpg-error-1.0/include -g -c mpiutil.c -KPIC -DPIC -o
.libs/mpiutil.o
"mpiutil.c", line 390: warning: argument #1 is incompatible with prototype:
prototype: pointer to uchar : "../src/gcrypt.h", line 1369
argument : pointer to char
"mpiutil.c", line 397: warning: argument #2 is incompatible with prototype:
prototype: pointer to const uchar : "../src/mpi.h", line 126
argument : pointer to char
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/pptmain/libgpg-error-1.0/include -g -c mpiutil.c -o mpiutil.o
>/dev/null 2>&1
/bin/ksh ../libtool --mode=compile cc -g -c -o mpih-add1.lo `test -f
'mpih-add1.S' || echo './'`mpih-add1.S
cc -g -c mpih-add1.S -KPIC -DPIC -o .libs/mpih-add1.o
cc: No input file specified, no output generated
make[2]: *** [mpih-add1.lo] Error 1
make[2]: Leaving directory `/usr/pptmain/libgcrypt-1.2.1/mpi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/pptmain/libgcrypt-1.2.1'
make: *** [all] Error 2
First I compiled libgpg-error successfully then I do configure in libgcrypt
without error but when I do make the messages above appears.. I´ve tried
with GNU make too and the same error.. Later I tried with --disable-asm
and I got this:
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/pptmain/libgpg-error-1.0/include -g -c prime.c
"./../src/gcrypt.h", line 193: syntax error before or at: socklen_t
"./../src/gcrypt.h", line 193: warning: undefined or missing type for:
socklen_t
"./../src/gcrypt.h", line 195: syntax error before or at: socklen_t
"./../src/gcrypt.h", line 195: warning: undefined or missing type for:
socklen_t
cc: acomp failed for prime.c
make[2]: *** [prime.o] Error 2
make[2]: Leaving directory `/usr/pptmain/libgcrypt-1.2.1/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/pptmain/libgcrypt-1.2.1'
make: *** [all] Error 2
I am using cc and GNUmake, what is wrong?? have anyone compiled libgcrypt
successfully in SunOS??
Regards
Eduardo Espejo
More information about the Gcrypt-devel
mailing list