Snort mailing list archives

error while trying to install snort v2.1.1 with mySql v4.0.18


From: "Luong, Natalie N" <natalie.n.luong () lmco com>
Date: Wed, 24 Mar 2004 15:36:02 -0800

Hi,

I am on a Redhat 9.0 system.

I've looked through the snort-users archives, and I implemented some of those suggested fixes, but
I still get the error (below) at the "make" stage.

Please Help.

Here are the commands I typed and part of the output:
------
[root@lm4267 snort-2.1.1]#export CPPFLAGS="-I/usr/local/include -I/usr/local/include/glib-1.2 -I/usr/include 
-I/usr/local/mysql/include"

[root@lm4267 snort-2.1.1]#export LDFLAGS="-L/usr/local/lib -L/usr/lib -L/lib -L/usr/local/mysql/lib -lm"

[root@lm4267 snort-2.1.1]#./configure --with-mysql=/usr/local/mysql --with-zlib

[root@lm4267 snort-2.1.1]#make
.
.
.
.
gcc  -g -O2 -Wall  -L/usr/local/lib -L/usr/lib -L/lib -L/usr/local/mysql/lib -lm -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 
strlcatu.o strlcpyu.o tag.o ubi_BinTree.o ubi_SplayTree.o util.o detect.o signature.o mempool.o sf_sdlist.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/libflow.a parser/libparser.a preprocessors/HttpInspect/libhttp_inspect.a sfutil/libsfutil.a -lz 
-lpcre -lpcap -lm -lnsl  -lmysqlclient
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o)(.text+0xb4): In function `my_compress_alloc':
: undefined reference to `compress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o)(.text+0x12a): In function `my_uncompress':
: undefined reference to `uncompress'
collect2: ld returned 1 exit status
make[3]: *** [snort] Error 1
make[3]: Leaving directory `/orig_progs/snort-2.1.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/orig_progs/snort-2.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/orig_progs/snort-2.1.1'
make: *** [all] Error 2
[root@lm4267 snort-2.1.1]#


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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: