Snort mailing list archives

compilation problem for mySQL


From: <tech () diakoniecce cz>
Date: Thu, 23 May 2002 15:40:11 +0200 (CEST)

Hello all,

I am using for a long time mySQL-max-3.23.49. It works fine with Apache
and PHP webs. Now, I try to compile snort 1.8.6 with "./configure
--with-mysql=/usr/local/mysql-max-3.23.49-pc-linux-gnu-i686"
Configuring works fine, writes
....
checking for floor in -lm... (cached) yes
checking for pcap_datalink in -lpcap... (cached) yes
checking for mysql... yes
checking for compress in -lz... (cached) yes
....

but when send "make", compiling proccess stop with following errors.

....
/usr/local/mysql-max-3.23.49-pc-linux-gnu-i686/lib/libmysqlclient.a(my_compress.o):
In function `my_uncompress':my_compress.o(.text+0xa2): undefined reference to `uncompress'
/usr/local/mysql-max-3.23.49-pc-linux-gnu-i686/lib/libmysqlclient.a(my_compress.o):
In function `my_compress_alloc':my_compress.o(.text+0x13a): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [snort] Error 1
make[2]: Leaving directory `/install/checking/snort/snort-1.8.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/install/checking/snort/snort-1.8.6'
make: *** [all-recursive-am] Error 2
[root@db1 snort-1.8.6]#
....

I do not know what steps is wrong and whot to do for best solution. My
target is running ACID console...
Many thanks for all help,

Petr Simecek



--------------------------
http://www.diakoniecce.cz/



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
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: