Dagobert Michelsen <[email protected]> writes: >> /opt/studio/SOS11/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. - >> I../.. -I. -I. -I../.. -I./../.. -I../../gl -I./../../gl >> -I/opt/csw/ >> include -xO3 -xarch=v8 -I/opt/csw/include -c test-select.c >> /bin/bash ../../libtool --tag=CC --preserve-dup-deps --mode=link / >> opt/studio/SOS11/SUNWspro/bin/cc -xO3 -xarch=v8 -I/opt/csw/include >> -xarch=v8 -L/opt/csw/lib -o test-select test-select.o libtests.a >> ../../gl/libgnu.la libtests.a -lsocket >> libtool: link: /opt/studio/SOS11/SUNWspro/bin/cc -xO3 -xarch=v8 -I/ >> opt/csw/include -xarch=v8 -o test-select test-select.o -L/opt/csw/ >> lib libtests.a ../../gl/.libs/libgnu.a libtests.a -lsocket >> Undefined first referenced >> symbol in file >> inet_pton test-select.o (symbol belongs >> to implicit dependency /lib/libnsl.so.1) > > Did you pull-in the gnulib parts from the current distribution in 2.9.8?
That appears to be a different bug in gnulib, I have pushed the patch below to fix it. I'll send you a link to an updated gnutls snapshot to test in a moment. /Simon >From 5076b89c38f9267ac34ca5834bcf6e0a6af35aa6 Mon Sep 17 00:00:00 2001 From: Simon Josefsson <[email protected]> Date: Fri, 6 Nov 2009 10:01:57 +0100 Subject: [PATCH] modules/select-tests (test_select_LDADD): Add $(INET_PTON_LIB). --- ChangeLog | 5 +++++ modules/select-tests | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f87cf5..73991dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-11-06 Simon Josefsson <[email protected]> + * modules/select-tests (test_select_LDADD): Add $(INET_PTON_LIB) + because test-select.c uses inet_pton. + +2009-11-06 Simon Josefsson <[email protected]> + * m4/getaddrinfo.m4: Add content of INET_NTOP_LIB to GETADDRINFO_LIB. Bump serial number. * modules/getaddrinfo (Link): Only mention GETADDRINFO_LIB again. diff --git a/modules/select-tests b/modules/select-tests index 84d8f1b..afa68fe 100644 --- a/modules/select-tests +++ b/modules/select-tests @@ -33,7 +33,7 @@ TESTS += test-select test-select-in.sh test-select-out.sh # test-select-stdin has to be run by hand. TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' check_PROGRAMS += test-select test-select-fd test-select-stdin -test_select_LDADD = $(LDADD) @LIBSOCKET@ +test_select_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) test_select_fd_LDADD = $(LDADD) @LIBSOCKET@ test_select_stdin_LDADD = $(LDADD) @LIBSOCKET@ -- 1.6.5.2
