欲哭无泪,高手请进

由 xiaokang974 在 07-07-2003 18:32 发表:

欲哭无泪,高手请进

各位高手,我气疯了,问题老存在:我用的是RH9我在编译VPOPMAIL时出现错误:

make

make all-recursive

make[1]: Entering directory `/soft/qmail/vpopmail-5.2.1'

Making all in cdb

make[2]: Entering directory `/soft/qmail/vpopmail-5.2.1/cdb'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/soft/qmail/vpopmail-5.2.1/cdb'

make[2]: Entering directory `/soft/qmail/vpopmail-5.2.1'

gcc -g -O2 -Wall -o vchkpw vchkpw.o libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lz -lm

/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_realloc.o)(.text+0x65): In function `my_realloc':

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[2]: *** [vchkpw] Error 1

make[2]: Leaving directory `/soft/qmail/vpopmail-5.2.1'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/soft/qmail/vpopmail-5.2.1'

make: *** [all-recursive-am] Error 2

[root@xiaokang vpopmail-5.2.1]#

谢帮我看一下


由 dancingpig 在 07-08-2003 09:34 发表:


usr/lib/mysql/libmysqlclient.a(my_malloc.o)(.text+0x28): In function `my_malloc':

undefined reference to `errno'

你这个是不是在连接mysql的库?是不是路径错了?


由 lackychu 在 07-22-2003

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus