- 论坛徽章:
- 0
|
本人想搭建一个vsftpd+mysql的环境,但是编译pam_mysql.so出错,用高人知道这报的是什么错误不,请指点一下
[root@localhost pam_mysql-0.7pre3]# make
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include -g -O2 -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c pam_mysql.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include -g -O2 -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c pam_mysql.c -fPIC -DPIC -o .libs/pam_mysql.o
pam_mysql.c:38:1: warning: "_GNU_SOURCE" redefined
<command line>:2:1: warning: this is the location of the previous definition
In file included from pam_mysql.c:124:
/usr/include/md5.h:27: error: syntax error before "UINT4"
/usr/include/md5.h:30: error: syntax error before '}' token
/usr/include/md5.h:38: error: syntax error before "PROTO_LIST"
/usr/include/md5.h:39: error: syntax error before "PROTO_LIST"
/usr/include/md5.h:41: error: syntax error before "PROTO_LIST"
/usr/include/md5.h:43: error: syntax error before "PROTO_LIST"
make: *** [pam_mysql.lo] Error 1
谢谢!!! |
|