zafar rizvi wrote:

hi ppl
i am using qmail on linux with vpopmail(5.3.14) support with mysql. But
getting error like that when using with mysql support.
Any body has idea about that error.
****************************************
vauth.c: In function `vget_lastauth':
vauth.c:1132: `mysql_update' undeclared (first use in this function)
vauth.c:1139: warning: assignment makes integer from pointer without a cast
vauth.c:1141: warning: passing arg 1 of `mysql_fetch_row' makes pointer from
integer without a cast
vauth.c: In function `vget_lastauthip':
vauth.c:1157: `mysql_update' undeclared (first use in this function)
vauth.c:1164: warning: assignment makes integer from pointer without a cast
vauth.c:1165: warning: passing arg 1 of `mysql_fetch_row' makes pointer from
integer without a cast
vauth.c: In function `vcreate_lastauth_table':
vauth.c:1178: `LASTAUTH_TABLE_LAYOUT' undeclared (first use in this
function)
vauth.c:1179: `mysql_update' undeclared (first use in this function)
vauth.c:1183: warning: assignment makes integer from pointer without a cast
vauth.c: In function `logmysql':
vauth.c:1352: `mysql_update' undeclared (first use in this function)
vauth.c:1359: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vcreate_vlog_table':
vauth.c:1372: `mysql_update' undeclared (first use in this function)
vauth.c:1376: warning: assignment makes integer from pointer without a cast
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2
**************************************************

Did you edit vmysql.h (as it says in README.mysql) ?


Also, is MySQL installed from RPM?

--
Aj.
Systems Administrator / Developer




Reply via email to