Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Users
[Top] [All Lists]

Re: [Snort-users] Snort 2.8 compile error

Subject: Re: [Snort-users] Snort 2.8 compile error
Date: Fri, 28 Sep 2007 09:26:58 -0600



On 9/28/07 8:04 AM, "Adam Keeton" <akeeton@sourcefire.com> wrote:


James Lay wrote:
Woot!

gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I../../src/sfutil
-I/usr/include/pcap -I../../src/output-plugins -I../../src/detection-plugins
-I../../src/dynamic-plugins -I../../src/preprocessors
-I../../src/preprocessors/flow -I../../src/preprocessors/portscan
-I../../src/preprocessors/flow/int-snort
-I../../src/preprocessors/HttpInspect/include
-I../../src/preprocessors/Stream5 -I../../src/target-based
-I/usr/local/mysql/include/mysql -DENABLE_MYSQL -DENABLE_RESPONSE2
-DENABLE_REACT -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
-DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include
-g -O2 -Wall -DSTREAM4_UDP -DDYNAMIC_PLUGIN -c sp_respond2.c
In file included from ../../src/decode.h:49,
                 from sp_respond2.c:99:
../../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



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

<Prev in Thread] Current Thread [Next in Thread>