Maybe compare your steps with the ones in my "quick guide to vpopmail with
mysql" at
http://www.pipeline.com.au/staff/mbowe/isp/vpopmail-mysql.htm
Michael

----- Original Message -----
From: "Thiago Campos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 21, 2003 7:50 AM
Subject: [vchkpw] Compile erro


Hi,

I'm trying to install Vpopmail 5.3.6 with MySQL support on a Red Hat 8.0

When i do 'make' i got the following error:

vauth.c:25:19: mysql.h: No such file or directory
In file included from vauth.c:29:
vmysql.h:50:22: warning: multi-line string literals are deprecated
vauth.c:32: parse error before "mysql_update"
vauth.c:32: warning: type defaults to `int' in declaration of `mysql_update'
vauth.c:32: warning: data definition has no type or storage class
vauth.c:33: parse error before "mysql_read_getall"
vauth.c:33: warning: type defaults to `int' in declaration of
`mysql_read_getall'
vauth.c:33: warning: data definition has no type or storage class
vauth.c:51: parse error before '*' token
vauth.c:51: warning: type defaults to `int' in declaration of `res_update'
vauth.c:51: warning: data definition has no type or storage class
vauth.c:52: parse error before '*' token
vauth.c:52: warning: type defaults to `int' in declaration of
`res_read_getall'
vauth.c:52: warning: data definition has no type or storage class
vauth.c:60: parse error before "row"
vauth.c:60: warning: type defaults to `int' in declaration of `row'
vauth.c:60: warning: data definition has no type or storage class
vauth.c:61: parse error before "row_getall"
vauth.c:61: warning: type defaults to `int' in declaration of `row_getall'
vauth.c:61: warning: data definition has no type or storage class
vauth.c: In function `vauth_open_update':
vauth.c:105: warning: implicit declaration of function `mysql_init'
vauth.c:108: warning: implicit declaration of function `mysql_real_connect'
vauth.c:113: warning: implicit declaration of function `mysql_error'
vauth.c:113: warning: format argument is not a pointer (arg 3)
vauth.c:124: warning: format argument is not a pointer (arg 3)
vauth.c:132: warning: implicit declaration of function `mysql_query'
vauth.c:137: warning: format argument is not a pointer (arg 2)
vauth.c:140: warning: implicit declaration of function `mysql_store_result'
vauth.c:140: warning: assignment makes pointer from integer without a cast
vauth.c:141: warning: implicit declaration of function `mysql_free_result'
vauth.c:144: warning: implicit declaration of function `mysql_select_db'
vauth.c: In function `vauth_adddomain':
vauth.c:236: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_adduser':
vauth.c:311: warning: format argument is not a pointer (arg 2)
vauth.c:314: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_getpw':
vauth.c:365: warning: format argument is not a pointer (arg 2)
vauth.c:369: warning: assignment makes pointer from integer without a cast
vauth.c:374: warning: implicit declaration of function `mysql_num_rows'
vauth.c:393: warning: implicit declaration of function `mysql_fetch_row'
vauth.c:394: subscripted value is neither array nor pointer
vauth.c:394: subscripted value is neither array nor pointer
vauth.c:394: subscripted value is neither array nor pointer
vauth.c:394: subscripted value is neither array nor pointer
vauth.c:394: subscripted value is neither array nor pointer
vauth.c:395: subscripted value is neither array nor pointer
vauth.c:395: subscripted value is neither array nor pointer
vauth.c:395: subscripted value is neither array nor pointer
vauth.c:395: subscripted value is neither array nor pointer
vauth.c:395: subscripted value is neither array nor pointer
vauth.c:395: subscripted value is neither array nor pointer
vauth.c:396: subscripted value is neither array nor pointer
vauth.c:396: subscripted value is neither array nor pointer
vauth.c:397: subscripted value is neither array nor pointer
vauth.c:397: subscripted value is neither array nor pointer
vauth.c:398: subscripted value is neither array nor pointer
vauth.c:398: subscripted value is neither array nor pointer
vauth.c:398: subscripted value is neither array nor pointer
vauth.c:398: subscripted value is neither array nor pointer
vauth.c:398: subscripted value is neither array nor pointer
vauth.c:398: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:402: subscripted value is neither array nor pointer
vauth.c:402: subscripted value is neither array nor pointer
vauth.c:402: subscripted value is neither array nor pointer
vauth.c:402: subscripted value is neither array nor pointer
vauth.c:402: subscripted value is neither array nor pointer
vauth.c:402: subscripted value is neither array nor pointer
vauth.c: In function `vauth_deldomain':
vauth.c:432: warning: assignment makes pointer from integer without a cast
vauth.c:445: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_deluser':
vauth.c:478: warning: assignment makes pointer from integer without a cast
vauth.c:488: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_setquota':
vauth.c:520: warning: format argument is not a pointer (arg 2)
vauth.c:523: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_getall':
vauth.c:560: warning: format argument is not a pointer (arg 2)
vauth.c:564: warning: assignment makes pointer from integer without a cast
vauth.c:586: warning: comparison between pointer and integer
vauth.c:587: subscripted value is neither array nor pointer
vauth.c:587: subscripted value is neither array nor pointer
vauth.c:587: subscripted value is neither array nor pointer
vauth.c:587: subscripted value is neither array nor pointer
vauth.c:588: subscripted value is neither array nor pointer
vauth.c:588: subscripted value is neither array nor pointer
vauth.c:588: subscripted value is neither array nor pointer
vauth.c:588: subscripted value is neither array nor pointer
vauth.c:588: subscripted value is neither array nor pointer
vauth.c:588: subscripted value is neither array nor pointer
vauth.c:589: subscripted value is neither array nor pointer
vauth.c:589: subscripted value is neither array nor pointer
vauth.c:590: subscripted value is neither array nor pointer
vauth.c:590: subscripted value is neither array nor pointer
vauth.c:591: subscripted value is neither array nor pointer
vauth.c:591: subscripted value is neither array nor pointer
vauth.c:591: subscripted value is neither array nor pointer
vauth.c:591: subscripted value is neither array nor pointer
vauth.c:591: subscripted value is neither array nor pointer
vauth.c:591: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:593: subscripted value is neither array nor pointer
vauth.c:594: subscripted value is neither array nor pointer
vauth.c:594: subscripted value is neither array nor pointer
vauth.c:594: subscripted value is neither array nor pointer
vauth.c:594: subscripted value is neither array nor pointer
vauth.c:594: subscripted value is neither array nor pointer
vauth.c:597: subscripted value is neither array nor pointer
vauth.c:598: subscripted value is neither array nor pointer
vauth.c:598: subscripted value is neither array nor pointer
vauth.c:598: subscripted value is neither array nor pointer
vauth.c:598: subscripted value is neither array nor pointer
vauth.c:598: subscripted value is neither array nor pointer
vauth.c: In function `vauth_setpw':
vauth.c:686: warning: format argument is not a pointer (arg 2)
vauth.c:690: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vopen_smtp_relay':
vauth.c:727: warning: format argument is not a pointer (arg 2)
vauth.c:730: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vupdate_rules':
vauth.c:743: warning: format argument is not a pointer (arg 2)
vauth.c:747: warning: assignment makes pointer from integer without a cast
vauth.c:752: subscripted value is neither array nor pointer
vauth.c: In function `vcreate_relay_table':
vauth.c:781: warning: format argument is not a pointer (arg 2)
vauth.c:784: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vclose':
vauth.c:798: warning: implicit declaration of function `mysql_close'
vauth.c: In function `vread_dir_control':
vauth.c:952: warning: assignment makes pointer from integer without a cast
vauth.c:957: warning: comparison between pointer and integer
vauth.c:959: subscripted value is neither array nor pointer
vauth.c:960: subscripted value is neither array nor pointer
vauth.c:961: subscripted value is neither array nor pointer
vauth.c:963: subscripted value is neither array nor pointer
vauth.c:964: subscripted value is neither array nor pointer
vauth.c:965: subscripted value is neither array nor pointer
vauth.c:967: subscripted value is neither array nor pointer
vauth.c:968: subscripted value is neither array nor pointer
vauth.c:969: subscripted value is neither array nor pointer
vauth.c:971: subscripted value is neither array nor pointer
vauth.c:972: subscripted value is neither array nor pointer
vauth.c:973: subscripted value is neither array nor pointer
vauth.c:975: subscripted value is neither array nor pointer
vauth.c:976: subscripted value is neither array nor pointer
vauth.c:977: subscripted value is neither array nor pointer
vauth.c:979: subscripted value is neither array nor pointer
vauth.c:979: subscripted value is neither array nor pointer
vauth.c:979: subscripted value is neither array nor pointer
vauth.c:979: subscripted value is neither array nor pointer
vauth.c:979: subscripted value is neither array nor pointer
vauth.c: In function `vwrite_dir_control':
vauth.c:1029: warning: format argument is not a pointer (arg 2)
vauth.c:1033: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vcreate_dir_control':
vauth.c:1047: warning: format argument is not a pointer (arg 2)
vauth.c:1050: warning: assignment makes pointer from integer without a cast
vauth.c:1070: warning: format argument is not a pointer (arg 2)
vauth.c:1073: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vdel_dir_control':
vauth.c:1089: warning: format argument is not a pointer (arg 2)
vauth.c:1093: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vset_lastauth':
vauth.c:1112: warning: format argument is not a pointer (arg 2)
vauth.c:1115: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vget_lastauth':
vauth.c:1133: warning: format argument is not a pointer (arg 2)
vauth.c:1137: warning: assignment makes pointer from integer without a cast
vauth.c:1140: subscripted value is neither array nor pointer
vauth.c: In function `vget_lastauthip':
vauth.c:1158: warning: format argument is not a pointer (arg 2)
vauth.c:1162: warning: assignment makes pointer from integer without a cast

vauth.c:1164: subscripted value is neither array nor pointer
vauth.c:1164: subscripted value is neither array nor pointer
vauth.c:1164: subscripted value is neither array nor pointer
vauth.c:1164: subscripted value is neither array nor pointer
vauth.c:1164: subscripted value is neither array nor pointer
vauth.c: In function `vcreate_lastauth_table':
vauth.c:1178: warning: format argument is not a pointer (arg 2)
vauth.c:1181: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_select':
vauth.c:1203: warning: format argument is not a pointer (arg 2)
vauth.c:1207: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_select_next':
vauth.c:1214: subscripted value is neither array nor pointer
vauth.c: In function `valias_insert':
vauth.c:1234: warning: format argument is not a pointer (arg 2)
vauth.c:1238: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_delete':
vauth.c:1256: warning: format argument is not a pointer (arg 2)
vauth.c:1260: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_delete_domain':
vauth.c:1278: warning: format argument is not a pointer (arg 2)
vauth.c:1282: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vcreate_valias_table':
vauth.c:1294: warning: format argument is not a pointer (arg 2)
vauth.c:1297: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_select_all':
vauth.c:1314: warning: format argument is not a pointer (arg 2)
vauth.c:1318: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_select_all_next':
vauth.c:1325: subscripted value is neither array nor pointer
vauth.c:1326: subscripted value is neither array nor pointer
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.3.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.3.6'
make: *** [all-recursive-am] Error 2


Reply via email to