Help compiling tinc in Solaris 2.6

Mauricio pingouin at bellsouth.net
Fri Dec 13 07:16:08 CET 2002


	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 at 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 at 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/




More information about the Tinc mailing list