From: Alain D. <ade...@sq...> - 2010-02-10 11:56:51
|
I have these packages allready installed in version 0.95.3-1.el5.rf So my first error posted, was with this libclamav package in version 0.95.3 with this configure : ./configure --enable-clamav (no errors in configure step) I just tried this : ./configure --enable-clamav --with-clamav-includes=/usr/local/clamav-0.90/libclamav/ same make errors as clamav-0.85 (because i think these versions are too old, and snort call clamav lib/fonctions that libclamav didn't know). From: Ihab el Bakri Sent: Wednesday, February 10, 2010 12:33 PM To: ade...@sq... ; sno...@li... Subject: RE: [Snort-inline-users] snort_inline 2.6.1.5 with clamav Hi, looks like you havent installed following packages libclamav-dev libclamav3 libclamav5 clamav it should configure with clamav version 0.90 Best regards Ihab El Bakri -------------------------------------------------------------------------------- From: ade...@sq... To: sno...@li... Date: Wed, 10 Feb 2010 12:14:26 +0100 Subject: Re: [Snort-inline-users] snort_inline 2.6.1.5 with clamav Hi, I'd allready tried to compile with these : ./configure --enable-clamav --with-clamav-includes=/usr/local/clamav-0.94/libclamav/ ./configure --enable-clamav --with-clamav-includes=/usr/local/clamav-0.92.1/libclamav/ ./configure --enable-clamav --with-clamav-includes=/usr/local/clamav-0.93.3/libclamav/ ./configure --enable-clamav --with-clamav-includes=/usr/local/clamav-0.93/libclamav/ ./configure --enable-clamav --with-clamav-includes=/usr/local/clamav-0.92.1/libclamav/ ./configure --enable-clamav --with-clamav-includes=/usr/local/clamav-0.92/libclamav/ ./configure --enable-clamav --with-clamav-includes=/usr/local/clamav-0.91/libclamav/ and now ./configure --enable-clamav --with-clamav-includes=/usr/local/clamav-0.85/libclamav/ Each time, i had same or different errors about clamav. This time these : preprocessors/libspp.a(spp_clamav.o): In function `ClamAVInit': /usr/local/snort_inline-2.6.1.5/src/preprocessors/spp_clamav.c:520: undefined reference to `cl_loaddbdir' /usr/local/snort_inline-2.6.1.5/src/preprocessors/spp_clamav.c:530: undefined reference to `cl_buildtrie' preprocessors/libspp.a(spp_clamav.o): In function `ClamAVReloadDB': /usr/local/snort_inline-2.6.1.5/src/preprocessors/spp_clamav.c:580: undefined reference to `cl_freetrie' /usr/local/snort_inline-2.6.1.5/src/preprocessors/spp_clamav.c:585: undefined reference to `cl_loaddbdir' /usr/local/snort_inline-2.6.1.5/src/preprocessors/spp_clamav.c:595: undefined reference to `cl_buildtrie' collect2: ld returned 1 exit status From: Ihab el Bakri Sent: Wednesday, February 10, 2010 12:08 PM To: ade...@sq... ; sno...@li... Subject: RE: [Snort-inline-users] snort_inline 2.6.1.5 with clamav Hi, Try an older version of clamav, may be 0.85 Best regards Ihab el Bakri -------------------------------------------------------------------------------- From: ade...@sq... To: sno...@li... Date: Wed, 10 Feb 2010 10:49:31 +0100 Subject: Re: [Snort-inline-users] snort_inline 2.6.1.5 with clamav here the make compilation errors : gcc -DHAVE_CONFIG_H -I. -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/usr/include/libipq -I/usr/include -fno-strict-aliasing -g -O2 -Wall -DDYNAMIC_PLUGIN -DGIDS -DCLAMAV -fno-strict-aliasing -c spp_clamav.c spp_clamav.c: In function ProcessPorts: spp_clamav.c:191: attention : pointer targets in passing argument 1 of mSplit differ in signedness spp_clamav.c: In function ParseClamAVArgs: spp_clamav.c:306: attention : pointer targets in initialization differ in signedness spp_clamav.c:356: attention : pointer targets in passing argument 1 of mSplit differ in signedness spp_clamav.c:365: attention : pointer targets in passing argument 1 of ProcessPorts differ in signedness spp_clamav.c: In function ClamAVInit: spp_clamav.c:520: attention : implicit declaration of function cl_loaddbdir spp_clamav.c:530: attention : implicit declaration of function cl_buildtrie spp_clamav.c:537: erreur: invalid application of sizeof to incomplete type struct cl_limits spp_clamav.c:539: erreur: invalid use of undefined type struct cl_limits spp_clamav.c:541: erreur: invalid use of undefined type struct cl_limits spp_clamav.c:543: erreur: invalid use of undefined type struct cl_limits spp_clamav.c:545: erreur: invalid use of undefined type struct cl_limits spp_clamav.c:547: erreur: invalid use of undefined type struct cl_limits spp_clamav.c: In function ClamAVReloadDB: spp_clamav.c:580: attention : implicit declaration of function cl_freetrie spp_clamav.c: In function strip_http_headers_p: spp_clamav.c:650: attention : pointer targets in passing argument 1 of strstr differ in signedness spp_clamav.c:650: attention : pointer targets in assignment differ in signedness spp_clamav.c:663: attention : pointer targets in passing argument 1 of strstr differ in signedness spp_clamav.c:663: attention : pointer targets in assignment differ in signedness spp_clamav.c:678: attention : pointer targets in passing argument 1 of strstr differ in signedness spp_clamav.c:678: attention : pointer targets in assignment differ in signedness spp_clamav.c:706: attention : pointer targets in passing argument 1 of strstr differ in signedness spp_clamav.c:706: attention : pointer targets in assignment differ in signedness spp_clamav.c: In function StoreAndScan: spp_clamav.c:877: attention : passing argument 4 of cl_scandesc from incompatible pointer type spp_clamav.c:877: attention : passing argument 5 of cl_scandesc makes integer from pointer without a cast spp_clamav.c:877: erreur: too many arguments to function cl_scandesc From: Alain DEGUILLE Sent: Tuesday, February 09, 2010 4:46 PM To: sno...@li... Subject: snort_inline 2.6.1.5 with clamav Hi, I try to compilate snort_inline 2.6.1.5 with clamav (--enable-clamav) version : clamav-devel-0.95.3-1.el5.rf The configure script generate the makefile without any error, but at the make step, the make stop with some clamav errors. Does somebody have a working snort_inline 2.6.1.5 with clamav ? -------------------------------------------------------------------------------- Hotmail: Trusted email with powerful SPAM protection. Sign up now. -------------------------------------------------------------------------------- Hotmail: Powerful Free email with security by Microsoft. Get it now. |