hmmm it seems when u added you login name rizvi and password rizvi.. you had done something wrong with syntex of this file.. I will suggest better to untar again source and put username and password as it will... Always becareful for syntex when adding something to source
sorry for spell mistake due to lake of time :) -- Best Regs, Masood Ahmad Shah System Administrator ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ | * * * * * * * * * * * * * * * * * * * * * * * * | Fibre Net (Pvt) Ltd. Lahore, Pakistan | Tel: +92-42-6677024 | Mobile: +92-300-4277367 | http://www.fibre.net.pk | * * * * * * * * * * * * * * * * * * * * * * * * ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) "All I want is a few minutes alone with the source code for the universe and a quick recompile." ----- Original Message ----- From: "zafar rizvi" <[EMAIL PROTECTED]> To: "Ahmad Masood Shah" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 12:27 PM Subject: Re: [vchkpw] vpopmail with mysql support | hi | here is the all output of make command | ***************************************** | cdbmake_add.o | make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb' | make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1' | gcc -I. -I/usr/include/mysql -g -O2 -Wall -c vpopmail.c | gcc -I. -I/usr/include/mysql -g -O2 -Wall -c md5.c | gcc -I. -I/usr/include/mysql -g -O2 -Wall -c bigdir.c | gcc -I. -I/usr/include/mysql -g -O2 -Wall -c vauth.c | In file included from vauth.c:32: | vmysql.h:26:29: warning: multi-line string literals are deprecated | vmysql.h:27:35: warning: multi-line string literals are deprecated | vmysql.h:29:39: warning: multi-line string literals are deprecated | vmysql.h:30:35: warning: multi-line string literals are deprecated | vmysql.h:31:35: warning: multi-line string literals are deprecated | vmysql.h:36:38: warning: multi-line string literals are deprecated | vmysql.h:37:33: warning: multi-line string literals are deprecated | vmysql.h:39:39: warning: multi-line string literals are deprecated | vmysql.h:51:35: warning: multi-line string literals are deprecated | In file included from vauth.c:32: | vmysql.h:55: syntax error before "char" | vmysql.h:60:35: warning: multi-line string literals are deprecated | vmysql.h:71:24: warning: multi-line string literals are deprecated | vmysql.h:79:24: warning: multi-line string literals are deprecated | vmysql.h:84:42: warning: multi-line string literals are deprecated | vmysql.h:91:27: warning: multi-line string literals are deprecated | vmysql.h:59: stray '\' in program | vmysql.h:118:2: #else without #if | vmysql.h:130:2: #endif without #if | vmysql.h:243:2: #endif without #if | vauth.c: In function `vauth_open_update': | vauth.c:108: `mysql_update' undeclared (first use in this function) | vauth.c:108: (Each undeclared identifier is reported only once | vauth.c:108: for each function it appears in.) | vauth.c:112: parse error before "rizvi" | vauth.c:122: parse error before "rizvi" | vauth.c: At top level: | vauth.c:133: parse error before numeric constant | vauth.c:134: warning: type defaults to `int' in declaration of `snprintf' | vauth.c:134: warning: data definition has no type or storage class | vauth.c:143: warning: type defaults to `int' in declaration of `res_update' | vauth.c:143: conflicting types for `res_update' | vauth.c:54: previous declaration of `res_update' | vauth.c:143: `mysql_update' undeclared here (not in a function) | vauth.c:143: warning: initialization makes integer from pointer without a | cast | vauth.c:143: initializer element is not constant | vauth.c:143: warning: data definition has no type or storage class | vauth.c:144: warning: type defaults to `int' in declaration of | `mysql_free_result' | vauth.c:144: warning: parameter names (without types) in function | declaration | vauth.c:144: conflicting types for `mysql_free_result' | /usr/include/mysql/mysql.h:271: previous declaration of `mysql_free_result' | vauth.c:144: warning: data definition has no type or storage class | vauth.c:147: parse error before "if" | vauth.c: In function `vauth_open_read_getall': | vauth.c:199: `MYSQL_READ_SERVER' undeclared (first use in this function) | vauth.c:200: `MYSQL_READ_USER' undeclared (first use in this function) | vauth.c:200: `MYSQL_READ_PASSWD' undeclared (first use in this function) | vauth.c:200: `MYSQL_DATABASE' undeclared (first use in this function) | vauth.c:201: `MYSQL_VPORT' undeclared (first use in this function) | vauth.c:205: parse error before "rizvi" | vauth.c: At top level: | vauth.c:214: parse error before "return" | vauth.c: In function `vauth_adddomain': | vauth.c:228: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function) | vauth.c:232: `TABLE_LAYOUT' undeclared (first use in this function) | vauth.c:234: `mysql_update' undeclared (first use in this function) | vauth.c:239: warning: assignment makes integer from pointer without a cast | vauth.c: In function `vauth_adduser': | vauth.c:269: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function) | vauth.c:272: `MYSQL_LARGE_USERS_TABLE' undeclared (first use in this | function) | vauth.c:311: warning: int format, pointer arg (arg 7) | vauth.c:311: warning: format argument is not a pointer (arg 8) | vauth.c:311: warning: too many arguments for format | vauth.c:313: `mysql_update' undeclared (first use in this function) | vauth.c:317: warning: assignment makes integer from pointer without a cast | vauth.c: In function `vauth_getpw': | vauth.c:351: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function) | vauth.c:355: `MYSQL_LARGE_USERS_TABLE' undeclared (first use in this | function) | vauth.c:365: `mysql_update' undeclared (first use in this function) | vauth.c:370: warning: assignment makes integer from pointer without a cast | vauth.c:375: warning: passing arg 1 of `mysql_num_rows' makes pointer from | integer without a cast | vauth.c:394: warning: passing arg 1 of `mysql_fetch_row' makes pointer from | integer without a cast | vauth.c: In function `vauth_deldomain': | vauth.c:425: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function) | vauth.c:430: `mysql_update' undeclared (first use in this function) | vauth.c:433: warning: assignment makes integer from pointer without a cast | vauth.c:446: warning: assignment makes integer from pointer without a cast | vauth.c: In function `vauth_deluser': | vauth.c:468: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function) | vauth.c:476: `mysql_update' undeclared (first use in this function) | vauth.c:479: warning: assignment makes integer from pointer without a cast | vauth.c:489: warning: assignment makes integer from pointer without a cast | vauth.c: In function `vauth_setquota': | vauth.c:511: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function) | vauth.c:520: `mysql_update' undeclared (first use in this function) | vauth.c:524: warning: assignment makes integer from pointer without a cast | vauth.c: In function `vauth_getall': | vauth.c:539: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function) | vauth.c:557: warning: comparison between pointer and integer | vauth.c:558: warning: assignment makes integer from pointer without a cast | vauth.c:561: `mysql_update' undeclared (first use in this function) | vauth.c: In function `vauth_munch_domain': | vauth.c:630: `MYSQL_DOT_CHAR' undeclared (first use in this function) | vauth.c: In function `vauth_setpw': | vauth.c:660: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function) | vauth.c:686: `mysql_update' undeclared (first use in this function) | vauth.c:691: warning: assignment makes integer from pointer without a cast | vauth.c: In function `vopen_smtp_relay': | vauth.c:725: `mysql_update' undeclared (first use in this function) | vauth.c:731: warning: assignment makes integer from pointer without a cast | vauth.c: In function `vupdate_rules': | vauth.c:741: `mysql_update' undeclared (first use in this function) | vauth.c:748: warning: assignment makes integer from pointer without a cast | vauth.c:752: warning: passing arg 1 of `mysql_fetch_row' makes pointer from | integer without a cast | vauth.c: In function `vclear_open_smtp': | vauth.c:770: `mysql_update' undeclared (first use in this function) | vauth.c: In function `vcreate_relay_table': | vauth.c:780: `RELAY_TABLE_LAYOUT' undeclared (first use in this function) | vauth.c:781: `mysql_update' undeclared (first use in this function) | vauth.c:785: warning: assignment makes integer from pointer without a cast | vauth.c: In function `vclose': | vauth.c:799: `mysql_update' undeclared (first use in this function) | vauth.c: In function `vread_dir_control': | vauth.c:945: `mysql_update' undeclared (first use in this function) | vauth.c:954: warning: assignment makes integer from pointer without a cast | vauth.c:959: warning: passing arg 1 of `mysql_fetch_row' makes pointer from | integer without a cast | vauth.c: In function `vwrite_dir_control': | vauth.c:1028: `mysql_update' undeclared (first use in this function) | vauth.c:1035: warning: assignment makes integer from pointer without a cast | vauth.c: In function `vcreate_dir_control': | vauth.c:1048: `mysql_update' undeclared (first use in this function) | vauth.c:1052: warning: assignment makes integer from pointer without a cast | vauth.c:1075: warning: assignment makes integer from pointer without a cast | vauth.c: In function `vdel_dir_control': | vauth.c:1088: `mysql_update' undeclared (first use in this function) | vauth.c:1095: warning: assignment makes integer from pointer without a cast | vauth.c: In function `vset_lastauth': | vauth.c:1111: `mysql_update' undeclared (first use in this function) | vauth.c:1117: warning: assignment makes integer from pointer without a cast | 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 1 | | ************************************************ | | Tx | zafar | | |