Snort mailing list archives

snort-2.2.1-RC1 compile error


From: Ken Bergquist <kbergquist () wka com>
Date: Wed, 11 Feb 2004 17:05:58 -0500

I hope someone can shed some light on this. While making on OS X 10.1 (Darwin) the following error occurs first in the output:

Making all in int-snort
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src -I../../../../src/sfutil -I/sw/include -I../../../../src/output-plugins -I../../../../src/detectc <snip>
rm -f libintsnort.a
ar cru libintsnort.a flow_packet.o
ranlib libintsnort.a
ranlib: warning for library: libintsnort.a the table of contents is empty (no object file members in the library define global symbols)

this is followed some time later by

Making all in user_interface
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src -I../../../../src/sfutil -I/sw/include -I../../../../src/output-plugins -I../../../../src/detectc gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src -I../../../../src/sfutil -I/sw/include -I../../../../src/output-plugins -I../../../../src/detectc gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src -I../../../../src/sfutil -I/sw/include -I../../../../src/output-plugins -I../../../../src/detectc
hi_ui_iis_unicode_map.c: In function `FindCodePage':
hi_ui_iis_unicode_map.c:64: warning: implicit declaration of function `strtok_r' hi_ui_iis_unicode_map.c:64: warning: assignment makes pointer from integer without a cast
hi_ui_iis_unicode_map.c: In function `MapCodePoints':
hi_ui_iis_unicode_map.c:134: warning: assignment makes pointer from integer without a cast hi_ui_iis_unicode_map.c:140: warning: assignment makes pointer from integer without a cast hi_ui_iis_unicode_map.c:144: warning: assignment makes pointer from integer without a cast

then

ranlib libparser.a
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/sw/include -I../src/output-plugins -I../src/detection-plugins -I../src/preprocessors -I../src/preprocessc

<snip>

snort.c: In function `InterfaceThread':
snort.c:1596: warning: long unsigned int format, unsigned int arg (arg 2) snort.c:1596: warning: long unsigned int format, unsigned int arg (arg 3)

and

gcc -g -O2 -Wall -L/sw/lib -L/usr/local/lib -lpcre -L/usr/local/mysql//lib -o snort codes.o debug.o decode.o log.o mstring.o parser.o plugbase.o snort.o snprintf.o strt /usr/bin/ld: warning empty table of contents: preprocessors/flow/int-snort/libintsnort.a (can't load from it)
/usr/bin/ld: Undefined symbols:
_strtok_r
make[3]: *** [snort] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thanks in advance for any assistance offered.
--
Ken Bergquist
Director Internet Systems
Walt Klein & Associates

advertising fueled by creative minds



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
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: