|
各位高手,我气疯了,问题老存在:我用的是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]#
谢帮我看一下 |
|