I have a ss20 running Solaris 2.6 (and gcc 3.2) in which I want to install tinc. So, I run the configure script, ./configure --build=sparc-sun-solaris2.6 --host=sparc-sun-solaris2.6 --target=sparc-sun-solaris2.6 --with-openssl-include=/usr/local/ssl/include --with-openssl-lib=/usr/local/ssl/lib --with-zlib-include=/usr/local/include --with-zlib-lib=/usr/local/lib which seems to have run without a hitch. Then, when I try to compile, I soon reach a problem with fake-getnameinfo.c: raub@kushana>make make all-recursive make[1]: Entering directory `/home/raub/todo/tinc-1.0pre8' Making all in m4 make[2]: Entering directory `/home/raub/todo/tinc-1.0pre8/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/raub/todo/tinc-1.0pre8/m4' Making all in lib make[2]: Entering directory `/home/raub/todo/tinc-1.0pre8/lib' source='xmalloc.c' object='xmalloc.o' libtool=no \ depfile='.deps/xmalloc.Po' tmpdepfile='.deps/xmalloc.TPo' \ depmode=gcc3 /bin/ksh ../depcomp \ [...] sparc-sun-solaris2.6-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -g -O2 -I/usr/local/ssl/include -I/usr/local/include -c `test -f 'fake-getaddrinfo.c' || echo './'`fake-getaddrinfo.c cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory source='fake-getnameinfo.c' object='fake-getnameinfo.o' libtool=no \ depfile='.deps/fake-getnameinfo.Po' tmpdepfile='.deps/fake-getnameinfo.TPo' \ depmode=gcc3 /bin/ksh ../depcomp \ sparc-sun-solaris2.6-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -g -O2 -I/usr/local/ssl/include -I/usr/local/include -c `test -f 'fake-getnameinfo.c' || echo './'`fake-getnameinfo.c cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory fake-getnameinfo.c: In function `getnameinfo': fake-getnameinfo.c:38: `EAI_MEMORY' undeclared (first use in this function) fake-getnameinfo.c:38: (Each undeclared identifier is reported only once fake-getnameinfo.c:38: for each function it appears in.) fake-getnameinfo.c:44: `NI_NUMERICHOST' undeclared (first use in this function) fake-getnameinfo.c:54: `EAI_NODATA' undeclared (first use in this function) make[2]: *** [fake-getnameinfo.o] Error 1 make[2]: Leaving directory `/home/raub/todo/tinc-1.0pre8/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/raub/todo/tinc-1.0pre8' make: *** [all] Error 2 raub@kushana> Does anyone know what could be wrong? Thanks! Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://tinc.nl.linux.org/
On Fri, Dec 13, 2002 at 01:16:08AM -0500, Mauricio wrote: [...]> which seems to have run without a hitch. Then, when I try to > compile, I soon reach a problem with fake-getnameinfo.c:[...]> fake-getnameinfo.c: In function `getnameinfo': > fake-getnameinfo.c:38: `EAI_MEMORY' undeclared (first use in this function) > fake-getnameinfo.c:38: (Each undeclared identifier is reported only once > fake-getnameinfo.c:38: for each function it appears in.) > fake-getnameinfo.c:44: `NI_NUMERICHOST' undeclared (first use in this > function) > fake-getnameinfo.c:54: `EAI_NODATA' undeclared (first use in this function)Add the following line somewhere near the top of lib/fake-getnameinfo.c: #include "fake-getaddrinfo.h" Please let us know if that fixes it! -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@sliepen.eu.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20021213/604b50d2/attachment.pgp