Snort mailing list archives
FW: [Snort-devel] New code (and building) [continued... ]
From: "Kreimendahl, Chad J" <Chad.Kreimendahl () umb com>
Date: Wed, 22 Oct 2003 12:09:02 -0500
For those who may not read the devel list. Here's some of the issues run into when trying to compile this new snort on solaris 8 and 9. -----Original Message----- From: Kreimendahl, Chad J Sent: Tuesday, October 21, 2003 4:42 PM To: snort-devel () lists sourceforge net Subject: RE: [Snort-devel] New code (and building) [continued... ] Solaris 8 and 9 do not have stdint.h, which causes this first problem: In files: src/sfutil/util_net.h src/preprocessors/flow/portscan/flowps.h src/preprocessors/flow/flow.h src/event_wrapper.h src/preprocessors/flow/flow_stat.h You're checking for _UTIL_NET_H and not HAVE_STDINT_H (as my system hath not STDINT_H, this causes failure on compile) I added ifdef HAVE_STDINT_H and it worked to this point. This issue is resolved by using inttypes.h in solaris (6,7,8). As seen on http://ac-archive.sourceforge.net/gstdint/implementation.html . This file can simply be copied to be stdint.h if you prefer... I'm sure most people compiling this on solaris would prefer not to have to do that. ------------------------- spo_alert_syslog.c:246:33: missing terminating " character spo_alert_syslog.c:247:46: missing terminating " character Resolved by joining the two lines together (246+247 become one line of code instead of 2) ----------------------------- ! And the final verdict: ! ld: elf error: file preprocessors/flow/int-snort/libintsnort.a: elf_getarsym ! ld: fatal: File processing errors. No output written to snort ! collect2: ld returned 1 exit status --------------------------------- Misc warnings after my changes (only a small sample): spp_stream4.c: In function `Stream4InitReassembler': spp_stream4.c:1371: warning: subscript has type `char' flowps.c: In function `flowps_entry_print': flowps.c:498: warning: implicit declaration of function `mktcpflag_str' flowps_snort.c: In function `FlowPSParseArgs': flowps_snort.c:501: warning: subscript has type `char' ..... ---------------------------------- ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Snort-devel mailing list Snort-devel () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-devel ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ 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:
- FW: [Snort-devel] New code (and building) [continued... ] Kreimendahl, Chad J (Oct 22)