Snort mailing list archives
Re: Errors building snort-inlne 2.8.2.1 with clamv preprocessor
From: "Will Metcalf" <william.metcalf () gmail com>
Date: Wed, 9 Jul 2008 15:48:28 -0500
Yeah these are ok I think ;-) Regards, Will On 7/9/08, carlopmart <carlopmart () gmail com> wrote:
Thanks Will. Now works and rpm package is produced, but during compile time some warnings are produced: gcc -DHAVE_CONFIG_H -I. -I../../../src/preprocessors -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/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: 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 gcc -DHAVE_CONFIG_H -I. -I../../../src/preprocessors -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/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_stickydrop.c Will Metcalf wrote:Check out trunk from svn and try again ArchiveMaxCompressionRatio goes away in 0.93 and we were trying to set it ;-).... Regards, Will On 7/9/08, carlopmart <carlopmart () gmail com> wrote:Yes, I did it ... Will Metcalf wrote:did you run ./autojunk.sh prior to ./configure ? On 7/9/08, carlopmart <carlopmart () gmail com> wrote:Hi all, I am trying to install snort-inline 2.8.2.1 fromhttps://snort-inline.svn.sourceforge.net/svnroot/snort-inline site and when Itry 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: Infunction 'ProcessPorts':../../../src/preprocessors/spp_clamav.c:191:warning: pointer targets in passingargument 1 of 'mSplit' differ in signedness ../../../src/preprocessors/spp_clamav.c: Infunction 'ParseClamAVArgs':../../../src/preprocessors/spp_clamav.c:306:warning: pointer targets ininitialization differ in signedness ../../../src/preprocessors/spp_clamav.c:318:warning: implicit declaration offunction 'strlcpy' ../../../src/preprocessors/spp_clamav.c:356:warning: pointer targets in passingargument 1 of 'mSplit' differ in signedness ../../../src/preprocessors/spp_clamav.c:365:warning: pointer targets in passingargument 1 of 'ProcessPorts' differ in signedness ../../../src/preprocessors/spp_clamav.c: Infunction 'ClamAVInit':../../../src/preprocessors/spp_clamav.c:507:warning: pointer targets in passingargument 1 of 'ParseClamAVArgs' differ in signedness ../../../src/preprocessors/spp_clamav.c:520:warning: implicit declaration offunction 'cl_loaddbdir' ../../../src/preprocessors/spp_clamav.c:545: error:'struct cl_limits' has nomember named 'maxratio' ../../../src/preprocessors/spp_clamav.c: Infunction 'strip_http_headers_p':../../../src/preprocessors/spp_clamav.c:650:warning: pointer targets in passingargument 1 of 'strstr' differ in signedness ../../../src/preprocessors/spp_clamav.c:660:warning: assignment discardsqualifiers from pointer target type ../../../src/preprocessors/spp_clamav.c:663:warning: pointer targets in passingargument 1 of 'strstr' differ in signedness ../../../src/preprocessors/spp_clamav.c:663:warning: pointer targets inassignment differ in signedness ../../../src/preprocessors/spp_clamav.c:678:warning: pointer targets in passingargument 1 of 'strstr' differ in signedness ../../../src/preprocessors/spp_clamav.c:678:warning: pointer targets inassignment differ in signedness ../../../src/preprocessors/spp_clamav.c:706:warning: pointer targets in passingargument 1 of 'strstr' differ in signedness ../../../src/preprocessors/spp_clamav.c:706:warning: pointer targets inassignment 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-devellibsintalled. 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 sourceproject,along with a healthy diet, reduces your potential for chroniclamenessand boredom. Vote Now athttp://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-usersSnort-users list archive:http://www.geocrawler.com/redir-sf.php3?list=snort-users-- 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 athttp://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-usersSnort-users list archive:http://www.geocrawler.com/redir-sf.php3?list=snort-users-- 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:
- Errors building snort-inlne 2.8.2.1 with clamv preprocessor carlopmart (Jul 09)
- Re: Errors building snort-inlne 2.8.2.1 with clamv preprocessor Will Metcalf (Jul 09)
- Re: Errors building snort-inlne 2.8.2.1 with clamv preprocessor carlopmart (Jul 09)
- Re: Errors building snort-inlne 2.8.2.1 with clamv preprocessor Will Metcalf (Jul 09)
- Re: Errors building snort-inlne 2.8.2.1 with clamv preprocessor carlopmart (Jul 09)
- Re: Errors building snort-inlne 2.8.2.1 with clamv preprocessor Will Metcalf (Jul 09)
- Re: Errors building snort-inlne 2.8.2.1 with clamv preprocessor carlopmart (Jul 09)
- Re: Errors building snort-inlne 2.8.2.1 with clamv preprocessor Will Metcalf (Jul 09)
- <Possible follow-ups>
- Re: Errors building snort-inlne 2.8.2.1 with clamv preprocessor Nigel Horne (Jul 10)
- Re: Errors building snort-inlne 2.8.2.1 with clamv preprocessor Tomasz Kojm (Jul 10)