Help compiling tinc in Solaris 2.6
Mauricio
pingouin at bellsouth.net
Fri Dec 13 13:00:43 CET 2002
At 12:46 +0100 13/12/02, Guus Sliepen wrote:
>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!
>
Hello there!
I added the line right below #include "fake-getnameinfo.h":
#include <system.h>
#include "fake-getnameinfo.h"
#include "fake-getaddrinfo.h"
It seems that solved the problem! =)
However, I now have another one:
In file included from conf.h:31,
from conf.c:44:
net.h:73: field `in6' has incomplete type
net.h:74: confused by earlier errors, bailing out
make[2]: *** [conf.o] Error 1
make[2]: Leaving directory `/home/raub/todo/tinc-1.0pre8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/raub/todo/tinc-1.0pre8'
make: *** [all] Error 2
Fun fun fun...
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