Error building libgcrypt in SUNOS
Eduardo Espejo Gavilano
eduardo.espejo at t-empresas.com.pe
Fri Mar 4 22:41:32 CET 2005
Hi again, I've got fixed the mpi problem using gcc package from
sunfreeware.com, also I added this in every source who calls gcrypt.h like
in /tests
#define socklen_t size_t
Regards
Eduardo Espejo
"Eduardo Espejo
Gavilano"
<eduardo.espejo at t Para
-empresas.com.pe> gcrypt-devel at gnupg.org
Enviado por: cc
gcrypt-devel-boun
ces at gnupg.org Asunto
Error building libgcrypt in SUNOS
03/03/2005 15:26
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
_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
ForwardSourceID:NT0001053E
More information about the Gcrypt-devel
mailing list