Compiling pam_mysql



I have configured pam_mysql 0.6.2 using

../configure --with-mysql=/usr/lib

but when I try make I get the following error:

[root@bonzo pam_mysql-0.6.2]# 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'
-c pam_mysql.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include
-g -O2 -I/usr/include/mysql -c pam_mysql.c -fPIC -DPIC -o
..libs/pam_mysql.o

In file included from pam_mysql.c:104:
/usr/include/md5.h:27: error: syntax error before "UINT4"
/usr/include/md5.h:30: error: syntax error before '}' token
/usr/include/md5.h:36: error: syntax error before "PROTO_LIST"
/usr/include/md5.h:37: error: syntax error before "PROTO_LIST"
/usr/include/md5.h:39: error: syntax error before "PROTO_LIST"
make: *** [pam_mysql.lo] Error 1

Any suggestions would be appreciated.

Alastair Calderwood

.