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)



> On Sun, Oct 19, 2008 at 06:06:43PM +0300, Aleksey Cheusov wrote:
 >> 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?
Sockets Library Functions                    getaddrinfo(3SOCKET)
NAME
     getaddrinfo,  getnameinfo,  freeaddrinfo,   gai_strerror   -
     translate between node name and address
SYNOPSIS
     cc [flag ...] file ... -lsocket -lnsl [library ...]
     ...

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index