Snort mailing list archives

Re: Libnet make fatal error


From: Dirk Geschke <Dirk_Geschke () genua de>
Date: Fri, 14 Nov 2003 10:12:08 +0100

Hi Shekar,

I'm trying to run make on libnet 1.1 and I'm getting the following fatal
error. 
 
Does anybody have answer for this?
 
BTW: I read a mail with similar problem. Somebody has suggested to go with
libnet 1.0.2 instead. I tried both, no luck. 
 
Please let me know if anybody has suggestions...

Note: This is on Solaris sparc 2.9 host

for snort you will need 1.0.2, the API of libnet changed with version 1.1
and is not backward compatible.

There is a problem with solaris and the function gethostbyaddr() and
gethosbyname2(). They are not part of the system libraries...

I append a simple patch to fix this problem.

Best regards

Dirk

Attachment: sol_patch
Description: sol_patch


Current thread: