[gnutls-dev] `make check` failure on Solaris 2.7

Heiko Stamer stamer at gaos.org
Thu Mar 17 12:05:24 CET 2005


Hello gnutls-team,

during the build of the gnutls 1.2.0 tests on sparc/SunOS 5.7 (Solaris 2.7)
platform the following error occured. It seems to me that the necessary
linker switch "-lresolv" is missing (or was not properly configured).

However, the installed library works fine.

stamer:tests$ make check
make  simple anonself openssl \
  pkcs12_neon
make[1]: Entering directory `/home/stamer/src/gnutls-1.2.0/tests'
make[1]: `simple' is up to date.
/bin/ksh ../libtool --tag=CC --mode=link gcc  -O3 -msupersparc -DSYSV -DSVR4 -I/usr/openwin/include -I/usr/dt/include -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -finline-functions -pipe -I/home/stamer/include  -I/home/stamer/include -no-install -L/usr/lib -L/usr/openwin/lib -L/usr/dt/lib -L/usr/local/lib -L/home/stamer/lib -o anonself  anonself.o ../lib/libgnutls.la libutils.la -lz
gcc -O3 -msupersparc -DSYSV -DSVR4 -I/usr/openwin/include -I/usr/dt/include -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -finline-functions -pipe -I/home/stamer/include -I/home/stamer/include -o anonself anonself.o  -L/usr/lib -L/usr/openwin/lib -L/usr/dt/lib -L/usr/local/lib -L/home/stamer/lib ../lib/.libs/libgnutls.so /home/stamer/lib/libgcrypt.so -lnsl -lsocket /home/stamer/lib/libgpg-error.so ./.libs/libutils.a -lz -R/home/stamer/src/gnutls-1.2.0/lib/.libs -R/home/stamer/lib -R/home/stamer/lib
Undefined                       first referenced
 symbol                             in file
inet_ntop                           anonself.o
inet_pton                           anonself.o
ld: fatal: Symbol referencing errors. No output written to anonself
collect2: ld returned 1 exit status
make[1]: *** [anonself] Error 1
make[1]: Leaving directory `/home/stamer/src/gnutls-1.2.0/tests'
make: *** [check-am] Error 2

If you need further details for fixing this bug, don't hesitate to ask me.

Yours respectfully,
-- 
Heiko Stamer <stamer at theory.informatik.uni-kassel.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
URL: </pipermail/attachments/20050317/b4d67077/attachment.pgp>


More information about the Gnutls-devel mailing list