Snort mailing list archives

Errors building snort-inlne 2.8.2.1 with clamv preprocessor


From: carlopmart <carlopmart () gmail com>
Date: Wed, 09 Jul 2008 20:45:13 +0200

Hi all,

  I am trying to install snort-inline 2.8.2.1 from 
https://snort-inline.svn.sourceforge.net/svnroot/snort-inline site and when I 
try to compile returns me this error:

/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/include 
-fno-strict-aliasing -g -O2 -g -O2 -Wall -DSHUTDOWN_MEMORY_CLEANUP 
-DTARGET_BASED -DDYNAMIC_PLUGIN -DDETECTION_OPTION_TREE -DNFNETLINKQ -DGIDS 
-DHAVE_NFQ_MAXLEN -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD 
-DHAVE_NET_ETHERNET_H -DGRE -DCLAMAV -DCLAMAV_HAVE_CL_BUILD -fno-strict-aliasing 
-c ../../../src/preprocessors/spp_clamav.c
../../../src/preprocessors/spp_clamav.c: In function ‘ProcessPorts’:
../../../src/preprocessors/spp_clamav.c:191: warning: pointer targets in passing 
argument 1 of ‘mSplit’ differ in signedness
../../../src/preprocessors/spp_clamav.c: In function ‘ParseClamAVArgs’:
../../../src/preprocessors/spp_clamav.c:306: warning: pointer targets in 
initialization differ in signedness
../../../src/preprocessors/spp_clamav.c:318: warning: implicit declaration of 
function ‘strlcpy’
../../../src/preprocessors/spp_clamav.c:356: warning: pointer targets in passing 
argument 1 of ‘mSplit’ differ in signedness
../../../src/preprocessors/spp_clamav.c:365: warning: pointer targets in passing 
argument 1 of ‘ProcessPorts’ differ in signedness
../../../src/preprocessors/spp_clamav.c: In function ‘ClamAVInit’:
../../../src/preprocessors/spp_clamav.c:507: warning: pointer targets in passing 
argument 1 of ‘ParseClamAVArgs’ differ in signedness
../../../src/preprocessors/spp_clamav.c:520: warning: implicit declaration of 
function ‘cl_loaddbdir’
../../../src/preprocessors/spp_clamav.c:545: error: ‘struct cl_limits’ has no 
member named ‘maxratio’
../../../src/preprocessors/spp_clamav.c: In function ‘strip_http_headers_p’:
../../../src/preprocessors/spp_clamav.c:650: warning: pointer targets in passing 
argument 1 of ‘strstr’ differ in signedness
../../../src/preprocessors/spp_clamav.c:660: warning: assignment discards 
qualifiers from pointer target type
../../../src/preprocessors/spp_clamav.c:663: warning: pointer targets in passing 
argument 1 of ‘strstr’ differ in signedness
../../../src/preprocessors/spp_clamav.c:663: warning: pointer targets in 
assignment differ in signedness
../../../src/preprocessors/spp_clamav.c:678: warning: pointer targets in passing 
argument 1 of ‘strstr’ differ in signedness
../../../src/preprocessors/spp_clamav.c:678: warning: pointer targets in 
assignment differ in signedness
../../../src/preprocessors/spp_clamav.c:706: warning: pointer targets in passing 
argument 1 of ‘strstr’ differ in signedness
../../../src/preprocessors/spp_clamav.c:706: warning: pointer targets in 
assignment differ in signedness
make[4]: *** [spp_clamav.o] Error 1
make[4]: Leaving directory 
`/usr/src/redhat/BUILD/snort-2.8.2.1/plain/src/preprocessors'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/snort-2.8.2.1/plain/src/preprocessors'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/snort-2.8.2.1/plain/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/snort-2.8.2.1/plain'
make: *** [all] Error 2

  I am trying to compile under rhel5.2 x86_64 and I have clamav-devel libs 
intalled. Anyone knows how can I fix this??

-- 
CL Martinez
carlopmart {at} gmail {d0t} com

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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: