Help compiling tinc in Solaris 2.6

Guus Sliepen guus at sliepen.eu.org
Fri Dec 13 12:46:57 CET 2002


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


More information about the Tinc mailing list