LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 727|回复: 1

snort编译错误

[复制链接]
发表于 2004-5-18 21:02:09 | 显示全部楼层 |阅读模式
/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 `/root/nids/snort-2.1.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/nids/snort-2.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nids/snort-2.1.2'
make: *** [all] Error 2
请问这是啥一原因?
snort2.1.2+apache1.3.27+mysql4.0.18
 楼主| 发表于 2004-5-18 22:04:49 | 显示全部楼层
换了个4.0.20debug版本45m多的
/usr/local/mysqld//lib/libmysqlclient.a(my_compress.o)(.text+0x12a): In function `my_compress_alloc':
/build/mysqldev/build/mysql-4.0.20/libmysql/my_compress.c:58: undefined reference to `compress'
/usr/local/mysqld//lib/libmysqlclient.a(my_compress.o)(.text+0x200): In function `my_uncompress':
/build/mysqldev/build/mysql-4.0.20/libmysql/my_compress.c:85: undefined reference to `uncompress'
collect2: ld returned 1 exit status
make[3]: *** [snort] Error 1
make[3]: Leaving directory `/root/nids/snort-2.1.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/nids/snort-2.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nids/snort-2.1.2'
make: *** [all] Error 2

报这个错了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表