Under FreeBSD 4.3-S
gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c vdelivermail.c
vdelivermail.c: In function `deliver_mail':
vdelivermail.c:454: warning: long unsigned int format, unsigned int arg (arg 4)
vdelivermail.c:454: warning: long unsigned int format, different type arg
(arg 7)
vdelivermail.c:456: warning: long unsigned int format, unsigned int arg (arg 4)
vdelivermail.c:456: warning: long unsigned int format, different type arg
(arg 7)
vdelivermail.c:536: warning: implicit declaration of function `fdatasync'
gcc -g -O2 -Wall -o vdelivermail vdelivermail.o libvpopmail.a
-L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lz -lm
vdelivermail.o: In function `deliver_mail':
/root/vpopmail-4.10.17/vdelivermail.c(.text+0xa00): undefined reference to
`fdatasync'
*** Error code 1
Stop in /root/vpopmail-4.10.17.
*** Error code 1
./configure [EMAIL PROTECTED]
--enable-tcprules-prog=/usr/local/bin/tcprules
--enable-logging=y
--enable-log-name=vpopmail
--enable-vpopuser=vpopmail
--enable-vpopgroup=vchkpw
--enable-sqlincdir=/usr/local/include/mysql
--enable-sqllibdir=/usr/local/lib/mysql
--enable-mysql=y
--enable-valias=y
--enable-large-site=y
--enable-ip-alias-domains=y
--enable-qmail-ext=n
--enable-apop=n
--enable-passwd=n
--enable-tcpserver-file=~vpopmail/etc/tcp.smtp
Thanks,
-Ryan