Snort mailing list archives
Re: Building problen in x86_64
From: Todd Wease <twease () sourcefire com>
Date: Sat, 10 Oct 2009 11:50:48 -0400
On 10/10/2009 11:23 AM, Luis Daniel Lucio Quiroz wrote:
gcc -DHAVE_CONFIG_H -I. -I../../../src -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/portscan - I../../../src/preprocessors/HttpInspect/include - I../../../src/preprocessors/Stream5 -I../../../src/target-based - DDYNAMIC_PLUGIN -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR -DTIMESTATS - DPERF_PROFILING -DLINUX_SMP -DGIDS -DSNORT_RELOAD -I/usr/include/mysql - DENABLE_MYSQL -DENABLE_POSTGRESQL -DENABLE_RESPOND -DENABLE_RESPONSE2 - I/usr/include -fvisibility=hidden -DLIBNET_LIL_ENDIAN - I/usr/include/libprelude -fno-strict-aliasing -Wall -c ../../../src/inline.c ../../../src/inline.c: In function 'RejectLayer2': ../../../src/inline.c:591: error: dereferencing pointer to incomplete type make[3]: *** [inline.o] Error 1 make[3]: Leaving directory `/home/mandrake/rpm/BUILD/snort-2.8.5/building/bloat/src' make[2]: *** [all-recursive] Error 1 Hi snort,s Well i'm getting this error. make[2]: Leaving directory `/home/mandrake/rpm/BUILD/snort-2.8.5/building/bloat/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mandrake/rpm/BUILD/snort-2.8.5/building/bloat' make: *** [all] Error 2 error: Bad exit status from /home/mandrake/rpm/tmp/rpm-tmp.Onf7wM (%build) It seems that only occurs with gcc4.4.1 and x86_64. I've successfully compilled in x86-32bits machine.
Can you print out the output of: $ libnet-config --defines It should include -DHAVE_NET_ETHERNET_H ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ 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
Current thread:
- Building problen in x86_64 Luis Daniel Lucio Quiroz (Oct 10)
- Re: Building problen in x86_64 Todd Wease (Oct 10)
- Re: Building problen in x86_64 Luis Daniel Lucio Quiroz (Oct 10)
- Re: Building problen in x86_64 Todd Wease (Oct 10)
- Re: Building problen in x86_64 Todd Wease (Oct 10)
- Re: Building problen in x86_64 Luis Daniel Lucio Quiroz (Oct 10)
- Re: Building problen in x86_64 Todd Wease (Oct 10)
- Re: Building problen in x86_64 Luis Daniel Lucio Quiroz (Oct 10)
- Re: Building problen in x86_64 Luis Daniel Lucio Quiroz (Oct 10)
- Re: Building problen in x86_64 Todd Wease (Oct 10)