I need this patch to avoid this failure on Solaris 10: source='../../gltests/test-poll.c' object='test-poll.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../../gltests/../build-aux/depcomp \ cc -xc99=all -DHAVE_CONFIG_H -I. -I../../gltests -I. -I../../gltests -I.. -I../../gltests/.. -I../gllib -I../../gltests/../gllib -D_REENTRANT -g -c -o test-poll.o ../../gltests/test-poll.c cc -xc99=all -g -Wl,-z,ignore -o test-poll test-poll.o ../gllib/libgnu.a -lsocket -lm Undefined first referenced symbol in file inet_pton test-poll.o (symbol belongs to implicit dependency /lib/libnsl.so.1) ld: fatal: Symbol referencing errors. No output written to test-poll make[4]: *** [test-poll] Error 1
Cheers, Ralf Link test-poll against INET_PTON_LIB. * modules/poll-tests (test_poll_LDADD): Add $(INET_PTON_LIB), for inet_pton on Solaris 10. diff --git a/modules/poll-tests b/modules/poll-tests index 1655fab..d34107e 100644 --- a/modules/poll-tests +++ b/modules/poll-tests @@ -28,4 +28,4 @@ AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h]) Makefile.am: TESTS += test-poll check_PROGRAMS += test-poll -test_poll_LDADD = $(LDADD) @LIBSOCKET@ +test_poll_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)