pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bootstraping fails on Solaris 10 (newbie question)
>> In file included from getaddrinfo.c:41:
>> ./nbcompat/netdb.h:178: error: conflicting types for 'gai_strerror'
>> /usr/include/netdb.h:329: error: previous declaration of 'gai_strerror' was
>> here
>> ./nbcompat/netdb.h:178: error: conflicting types for 'gai_strerror'
>> /usr/include/netdb.h:329: error: previous declaration of 'gai_strerror' was
>> here
>> *** Error code 1
> Right, missing library in the configure test. -lresolv or so?
The following patch solves the problem.
Index: configure.ac
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/libnbcompat/files/configure.ac,v
retrieving revision 1.68
diff -u -r1.68 configure.ac
--- configure.ac 10 Oct 2008 00:21:43 -0000 1.68
+++ configure.ac 21 Oct 2008 15:21:25 -0000
@@ -27,6 +27,8 @@
dnl Checks for libraries
AC_CHECK_LIB(util, fparseln)
+AC_CHECK_LIB(nsl, main)
+AC_CHECK_LIB(socket, main)
dnl Checks for header files.
AC_HEADER_STDC
--
Best regards, Aleksey Cheusov.
Home |
Main Index |
Thread Index |
Old Index