Re: [vchkpw] error while compiling vpopmail 5.4.0 pre1
On Saturday, December 13, 2003, at 09:20 AM, Alexander Gruber wrote: when i try to compile vpopmail i get the following error: gcc -I. -I/usr/mysql/include/mysql -g -O2 -Wall -c vchkpw.c gcc -I. -I/usr/mysql/include/mysql -g -O2 -Wall -c hmac_md5.c gcc -g -O2 -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -L/usr/mysql/lib/mysql -lmysqlclient -lz -lcrypt libvpopmail.a(vauth.o): In function `vauth_getpw': /usr/src/vpopmail-5.4.0-pre1/vauth.c:498: undefined reference to `vlimits_setflags' This is a known error with --enable-mysql and --enable-mysql-limits. We've fixed it in CVS and it will be in 5.4.0-pre2. The fix is to edit vlimits.c and move the "#endif" at the end of the file to just before the vlimits_setflags() function. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] error while compiling vpopmail 5.4.0 pre1
hi, when i try to compile vpopmail i get the following error: gcc -I. -I/usr/mysql/include/mysql -g -O2 -Wall -c vchkpw.c gcc -I. -I/usr/mysql/include/mysql -g -O2 -Wall -c hmac_md5.c gcc -g -O2 -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -L/usr/mysql/lib/mysql -lmysqlclient -lz -lcrypt libvpopmail.a(vauth.o): In function `vauth_getpw': /usr/src/vpopmail-5.4.0-pre1/vauth.c:498: undefined reference to `vlimits_setflags' collect2: ld returned 1 exit status make[2]: *** [vchkpw] Error 1 make[2]: Leaving directory `/usr/src/vpopmail-5.4.0-pre1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/vpopmail-5.4.0-pre1' make: *** [all-recursive-am] Error 2 before that i ran configure with the following options: ./configure --enable-mysql --enable-valias --enable-defaultquota=15728640S --prefix=/home/vpopmail/ --enable-mysql-logging --enable-incdir=/usr/mysql/include/mysql --enable-libdir=/usr/mysql/lib/mysql --enable-auth-logging --enable-tcpserver-file=/etc/tcp.smtp --enable-mysql-limits regards alex