[Snort-users] Snort 2.8 compile error

Adam Keeton akeeton at ...1935...
Fri Sep 28 11:55:39 EDT 2007


>>> ../../src/ipv6_port.h:71: error: conflicting types for 'ip_t'
>>> /usr/include/dnet/ip.h:411: error: previous declaration of 'ip_t' was here
>>> In file included from sp_respond2.c:99:
>>> ../../src/decode.h:948:1: warning: "IP_PROTO_HOPOPTS" redefined
>>> In file included from /usr/include/dnet.h:15,
>>>                  from sp_respond2.c:97:
>>> /usr/include/dnet/ip.h:97:1: warning: this is the location of the previous
>>> definition
>>> sp_respond2.c: In function `Respond2Init':
>>> sp_respond2.c:260: warning: assignment from incompatible pointer type
>>> sp_respond2.c: In function `Respond2Restart':
>>> sp_respond2.c:299: warning: passing arg 1 of `ip_close' from incompatible
>>> pointer type
>>> sp_respond2.c:299: warning: assignment from incompatible pointer type
>>> sp_respond2.c: In function `SendReset':
>>> sp_respond2.c:682: warning: passing arg 1 of `ip_send' from incompatible
>>> pointer type
>>> sp_respond2.c: In function `SendUnreach':
>>> sp_respond2.c:806: warning: passing arg 1 of `ip_send' from incompatible
>>> pointer type
>>> make[3]: *** [sp_respond2.o] Error 1
>>> make[3]: Leaving directory `/home/jlay/snort-2.8.0/src/detection-plugins'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory `/home/jlay/snort-2.8.0/src'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/home/jlay/snort-2.8.0'
>>> make: *** [all] Error 2
>>>
>>> Any hints on how to fixie this?
>>>
>>> James
>>>
>>>
>>>   
>>>       
>> Thanks for the report. I'm working on a fix right now. As as work
>> around, you can rerun configure without --enable-flexresp2 and recompile.
>>     
>
> Excellent...thank you :)
>
> James
>
>
>   
Check out a fresh copy of 2.8 from CVS (Or update your copy if you have
already checked out 2.8):

cvs -d:pserver:anonymous at ...12049...:/cvsroot co -r SNORT_2_8_0 snort


And apply the attached patch.

Let us know if that fixes the problem.

Thanks,
Adam

-- 
Adam Keeton      Software Engineer
Snort Team       Sourcefire,Inc   
www.snort.org    www.sourcefire.com

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: respond2_patch.diff
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20070928/188d133c/attachment.ksh>


More information about the Snort-users mailing list