Snort mailing list archives

Re: Building problen in x86_64


From: Luis Daniel Lucio Quiroz <luis.daniel.lucio () gmail com>
Date: Sat, 10 Oct 2009 10:53:28 -0500

Le samedi 10 octobre 2009 10:23:26, Luis Daniel Lucio Quiroz a écrit :
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.

my gcc options are these:
[dieu@elmo-reloaded SOURCES]$ gcc -v
Utilisation des specs internes.
Target: i586-manbo-linux-gnu
Configuré avec: ../configure --prefix=/usr --libexecdir=/usr/lib --with-
slibdir=/lib --with-bugurl=https://qa.mandriva.com/ --mandir=/usr/share/man
 -- infodir=/usr/share/info --enable-checking=release --enable-
languages=c,c++,ada,fortran,objc,obj-c++,java --build=i586-manbo-linux-gnu
 -- host=i586-manbo-linux-gnu --with-cpu=generic --with-system-zlib
 --enable- threads=posix --enable-shared --enable-objc-gc
 --enable-long-long --enable- __cxa_atexit --disable-libunwind-exceptions
 --enable-clocale=gnu --enable- java-awt=gtk
 --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --with-
 ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo
 --disable-libjava- multilib --enable-ssp --disable-libssp --disable-werror
 --with-ppl --with- cloog --with-python-dir=/lib/python2.6/site-packages
Modèle de thread: posix
gcc version 4.4.1 (GCC)


could be a bug?

Regards,

LDrpm -

My configure option list is
+ ../../configure --prefix=/usr --libdir=/usr/lib64 --
libexecdir=/usr/lib64/snort --mandir=/usr/share/man --sysconfdir=/etc/snort --
disable-prelude --enable-snortsam --enable-shared --enable-pthread --enable-
rulestate --enable-dynamicplugin --enable-timestats --enable-perfprofiling --
enable-linux-smp-stats --enable-ppm --enable-decoder-preprocessor-rules --
cache-file=../../config.cache --enable-reload --with-mysql=/usr --with-
postgresql=/usr --without-oracle --disable-oracle --without-odbc --disable-
odbc --with-openssl=/usr --enable-flexresp2 --with-dnet-includes=/usr/include 
--with-dnet-libraries=/usr/lib64 --with-inline --enable-inline --with-libipq-
includes=/usr/include --with-libipq-libraries=/usr/lib64 --enable-prelude --
with-libprelude-prefix=/usr

I did try with several options, but when i turn on --with-inline or --enable-
inline it fails,  disabling inline it works okay, only fails in x86_64
could be a gcc flag?

TIA

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