LinuxSir.cn,穿越时空的Linuxsir!

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

本人编译BNBTMYSQL版本后出现如下错误..

[复制链接]
发表于 2004-12-27 01:09:01 | 显示全部楼层 |阅读模式
安装了zlib..mysql  MySQL-devel-4.0.4-0.i386.rpm MySQL-client-4.0.4-0.i386.rpm

然后make bnbtmysql  几乎成功。..
可是最后出现一个

[root@LUJIA-LINUX bnbt81b-src]# make bnbtmysql
g++ -o ./bnbtmysql atom.o base64.o bencode.o client.o config.o md5.o server.o sha1.o sort.o tracker_admin.o tracker_comments.o tracker_file.o tracker_index.o tracker_info.o tracker_login.o tracker_signup.o tracker_stats.o tracker_torrent.o tracker_upload.o tracker_users.o util.o bnbt.mysql.o bnbt_mysql.mysql.o tracker.mysql.o tracker_announce.mysql.o tracker_scrape.mysql.o -L. -lz -L/usr/lib/mysql -lmysqlclient
/usr/lib/mysql/libmysqlclient.a(my_malloc.o)(.text+0x28): In function `my_malloc':
: undefined reference to `errno'
/usr/lib/mysql/libmysqlclient.a(my_malloc.o)(.text+0xcc): In function `my_memdup':
: undefined reference to `errno'
/usr/lib/mysql/libmysqlclient.a(my_malloc.o)(.text+0x1ba): In function `my_strdup':
: undefined reference to `errno'
/usr/lib/mysql/libmysqlclient.a(my_malloc.o)(.text+0x25f): In function `my_strdup_with_length':
: undefined reference to `errno'
/usr/lib/mysql/libmysqlclient.a(my_lib.o)(.text+0x2e1): In function `my_dir':
: undefined reference to `errno'
/usr/lib/mysql/libmysqlclient.a(my_lib.o)(.text+0x3d1): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [bnbtmysql] Error 1


实在不知道什么错误 请高手帮忙...
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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