[Snort-devel] RE: [Snort-users] re: Snort 2.1.0 is now available!

Jacques Brierre jbrierre at ...163...
Fri Dec 19 12:40:44 EST 2003


Has  anyone seen this on Solaris 8 ?

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil  
-I../src/output-
plugins -I../src/detection-plugins -I../src/preprocessors 
-I../src/preprocessors
/flow -I../src/preprocessors/portscan  
-I../src/preprocessors/flow/int-snort  -I
../src/preprocessors/HttpInspect/include   -DBSD_COMP 
-I/usr/local/include  -g -
O2 -Wall -c `test -f 'event_wrapper.c' || echo './'`event_wrapper.c
gcc  -g -O2 -Wall  -L/usr/local/lib -lpcre -o snort  codes.o debug.o 
decode.o  l
og.o mstring.o parser.o  plugbase.o snort.o snprintf.o  strlcatu.o 
strlcpyu.o ta
g.o  ubi_BinTree.o ubi_SplayTree.o util.o  detect.o signature.o 
mempool.o  sf_sd
list.o fpcreate.o fpdetect.o  pcrm.o byte_extract.o sfthreshold.o  
packet_time.o
 event_wrapper.o output-plugins/libspo.a  detection-plugins/libspd.a
 preprocessors/libspp.a                 
preprocessors/flow/portscan/libportscan.
a  preprocessors/flow/int-snort/libintsnort.a  
preprocessors/flow/libflow.a  par
ser/libparser.a  preprocessors/HttpInspect/libhttp_inspect.a  
sfutil/libsfutil.a
 -lpcre -lpcap -lm -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
inet_aton                           sfutil/libsfutil.a(ipobj.o)
ld: fatal: Symbol referencing errors. No output written to snort
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `snort'
Current working directory /tmp/snort-2.1.0/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
#




Kreimendahl, Chad J wrote:

>I should have also said:  These are all of the current offending files
>in 2.1.0 (not going to bother to check 2.0.6).
>
>src/sfutil/util_net.h
>src/preprocessors/flow/flow.h
>src/preprocessors/flow/portscan/flowps.h
>src/event_wrapper.h
>src/preprocessors/flow/flow_stat.h
>
>To ALL of these... Turn the include line with stdint.h into this:
>#ifdef HAVE_STDINT_H
>#include <stdint.h>
>#endif
>
> --- but currently, none of this matters, because in the end ---
> ld: fatal: file preprocessors/flow/int-snort/libintsnort.a: unknown
>file type
> ld: fatal: File processing errors. No output written to snort
>
>-----Original Message-----
>From: Kreimendahl, Chad J 
>Sent: Thursday, December 18, 2003 3:37 PM
>To: adam_peterson at ...10608...; snort-devel at lists.sourceforge.net;
>snort-users at lists.sourceforge.net
>Subject: [Snort-devel] RE: [Snort-users] re: Snort 2.1.0 is now
>available!
>
>
>
>Almost everyone on solaris should have this problem.  I had one of two
>solutions that seem to work, they're both in the following message:
>
>http://msgs.securepoint.com/cgi-bin/get/snort-0310/302.html
>
>Basically I had to add an ifdef STDINT_H into every file that referenced
>it... 
>The other option being copying that inttypes.h file to stdint.sh...
>kludge
>
>-----Original Message-----
>From: adam_peterson at ...10608... [mailto:adam_peterson at ...10608...] 
>Sent: Thursday, December 18, 2003 3:16 PM
>To: snort-devel at lists.sourceforge.net; snort-users at lists.sourceforge.net
>Subject: [Snort-users] re: Snort 2.1.0 is now available!
>
>
>
>i'm having a heck of a time compiling snort 2.1.0 on solaris.
>apparently stdint.h is required and i can't find it anywhere.  is anyone
>else having this problem or am i missing a basic library that i should
>have?  if so, does anyone know where i might find it?  error i'm getting
>when i run 'make' is: 
>
>In file included from util_net.c:16: 
>util_net.h:14:20: stdint.h: No such file or directory 
>make[3]: *** [util_net.o] Error 1 
>make[3]: Leaving directory `/export/spare/root/snort-2.1.0/src/sfutil' 
>make[2]: *** [all-recursive] Error 1 
>make[2]: Leaving directory `/export/spare/root/snort-2.1.0/src' 
>make[1]: *** [all-recursive] Error 1 
>make[1]: Leaving directory `/export/spare/root/snort-2.1.0' 
>make: *** [all] Error 2
>
>Adam Peterson | Senior WAN Engineer | SPL WorldGroup |
>adam_peterson at ...10608... | +1.415.357.4787
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: IBM Linux Tutorials.
>Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
>Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
>Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
>_______________________________________________
>Snort-users mailing list
>Snort-users at 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=ort-users
>
>





More information about the Snort-users mailing list