[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make[2]: *** [vauth.o] Error 1



Also try to install mysql-devel package,,I should say that you need the developement package at all.

ronn wrote:

Hi everyone -- can anyone offer me some assistance here please as to why i am getting the error mentioned below...any assistance greatly appreciated...

the vpopmail version is 5.2.1 but i also tried 5.2.2 and got the same error

the gcc version is Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)

the Operating System is Fedora Core 1

here goes the error:



gcc -I. -I/usr/include/mysql  -I. -I. -I.     -g -O2 -Wall -c `test -f 'vpopmail.c' || echo './'`vpopmail.c
gcc -I. -I/usr/include/mysql  -I. -I. -I.     -g -O2 -Wall -c `test -f 'md5.c' || echo './'`md5.c
gcc -I. -I/usr/include/mysql  -I. -I. -I.     -g -O2 -Wall -c `test -f 'bigdir.c' || echo './'`bigdir.c
gcc -I. -I/usr/include/mysql  -I. -I. -I.     -g -O2 -Wall -c `test -f 'vauth.c' || echo './'`vauth.c
vauth.c:33:19: mysql.h: No such file or directory
vauth.c:40: error: syntax error before "mysql_update"
vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update'
vauth.c:40: warning: data definition has no type or storage class
vauth.c:41: error: syntax error before "mysql_read_getall"
vauth.c:41: warning: type defaults to `int' in declaration of `mysql_read_getall'
vauth.c:41: warning: data definition has no type or storage class
vauth.c:59: error: syntax error before '*' token
vauth.c:59: warning: type defaults to `int' in declaration of `res_update'
vauth.c:59: warning: data definition has no type or storage class
vauth.c:60: error: syntax error before '*' token
vauth.c:60: warning: type defaults to `int' in declaration of `res_read_getall'
vauth.c:60: warning: data definition has no type or storage class
vauth.c:68: error: syntax error before "row"
vauth.c:68: warning: type defaults to `int' in declaration of `row'
vauth.c:68: warning: data definition has no type or storage class
vauth.c:69: error: syntax error before "row_getall"
vauth.c:69: warning: type defaults to `int' in declaration of `row_getall'
vauth.c:69: warning: data definition has no type or storage class
vauth.c: In function `vauth_open_update':
vauth.c:203: warning: implicit declaration of function `mysql_init'
vauth.c:204: warning: implicit declaration of function `mysql_options'
vauth.c:204: error: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function)
vauth.c:204: error: (Each undeclared identifier is reported only once
vauth.c:204: error: for each function it appears in.)
vauth.c:207: warning: implicit declaration of function `mysql_real_connect'
vauth.c:226: warning: implicit declaration of function `mysql_query'
vauth.c:231: warning: implicit declaration of function `mysql_error'
vauth.c:231: warning: format argument is not a pointer (arg 3)
vauth.c:236: warning: implicit declaration of function `mysql_select_db'
vauth.c: In function `vauth_adduser':
vauth.c:403: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vauth_getpw':
vauth.c:454: warning: format argument is not a pointer (arg 3)
vauth.c:458: warning: implicit declaration of function `mysql_store_result'
vauth.c:458: warning: assignment makes pointer from integer without a cast
vauth.c:463: warning: implicit declaration of function `mysql_num_rows'
vauth.c:464: warning: implicit declaration of function `mysql_free_result'
vauth.c:482: warning: implicit declaration of function `mysql_fetch_row'
vauth.c:483: error: subscripted value is neither array nor pointer
vauth.c:483: error: subscripted value is neither array nor pointer
vauth.c:483: error: subscripted value is neither array nor pointer
vauth.c:483: error: subscripted value is neither array nor pointer
vauth.c:483: error: subscripted value is neither array nor pointer
vauth.c:484: error: subscripted value is neither array nor pointer
vauth.c:484: error: subscripted value is neither array nor pointer
vauth.c:484: error: subscripted value is neither array nor pointer
vauth.c:484: error: subscripted value is neither array nor pointer
vauth.c:484: error: subscripted value is neither array nor pointer
vauth.c:484: error: subscripted value is neither array nor pointer
vauth.c:485: error: subscripted value is neither array nor pointer
vauth.c:485: error: subscripted value is neither array nor pointer
vauth.c:486: error: subscripted value is neither array nor pointer
vauth.c:486: error: subscripted value is neither array nor pointer
vauth.c:487: error: subscripted value is neither array nor pointer
vauth.c:487: error: subscripted value is neither array nor pointer
vauth.c:487: error: subscripted value is neither array nor pointer
vauth.c:487: error: subscripted value is neither array nor pointer
vauth.c:487: error: subscripted value is neither array nor pointer
vauth.c:487: error: subscripted value is neither array nor pointer
vauth.c:488: error: subscripted value is neither array nor pointer
vauth.c:488: error: subscripted value is neither array nor pointer
vauth.c:488: error: subscripted value is neither array nor pointer
vauth.c:488: error: subscripted value is neither array nor pointer
vauth.c:488: error: subscripted value is neither array nor pointer
vauth.c:488: error: subscripted value is neither array nor pointer
vauth.c:489: error: subscripted value is neither array nor pointer
vauth.c:489: error: subscripted value is neither array nor pointer
vauth.c:489: error: subscripted value is neither array nor pointer
vauth.c:489: error: subscripted value is neither array nor pointer
vauth.c:489: error: subscripted value is neither array nor pointer
vauth.c:489: error: subscripted value is neither array nor pointer
vauth.c:491: error: subscripted value is neither array nor pointer
vauth.c:491: error: subscripted value is neither array nor pointer
vauth.c:491: error: subscripted value is neither array nor pointer
vauth.c:491: error: subscripted value is neither array nor pointer
vauth.c:491: error: subscripted value is neither array nor pointer
vauth.c:491: error: subscripted value is neither array nor pointer
vauth.c: In function `vauth_setquota':
vauth.c:617: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vauth_getall':
vauth.c:655: warning: format argument is not a pointer (arg 3)
vauth.c:659: warning: assignment makes pointer from integer without a cast
vauth.c:681: warning: comparison between pointer and integer
vauth.c:682: error: subscripted value is neither array nor pointer
vauth.c:682: error: subscripted value is neither array nor pointer
vauth.c:682: error: subscripted value is neither array nor pointer
vauth.c:682: error: subscripted value is neither array nor pointer
vauth.c:682: error: subscripted value is neither array nor pointer
vauth.c:683: error: subscripted value is neither array nor pointer
vauth.c:683: error: subscripted value is neither array nor pointer
vauth.c:683: error: subscripted value is neither array nor pointer
vauth.c:683: error: subscripted value is neither array nor pointer
vauth.c:683: error: subscripted value is neither array nor pointer
vauth.c:683: error: subscripted value is neither array nor pointer
vauth.c:684: error: subscripted value is neither array nor pointer
vauth.c:684: error: subscripted value is neither array nor pointer
vauth.c:685: error: subscripted value is neither array nor pointer
vauth.c:685: error: subscripted value is neither array nor pointer
vauth.c:686: error: subscripted value is neither array nor pointer
vauth.c:686: error: subscripted value is neither array nor pointer
vauth.c:686: error: subscripted value is neither array nor pointer
vauth.c:686: error: subscripted value is neither array nor pointer
vauth.c:686: error: subscripted value is neither array nor pointer
vauth.c:686: error: subscripted value is neither array nor pointer
vauth.c:687: error: subscripted value is neither array nor pointer
vauth.c:687: error: subscripted value is neither array nor pointer
vauth.c:687: error: subscripted value is neither array nor pointer
vauth.c:687: error: subscripted value is neither array nor pointer
vauth.c:687: error: subscripted value is neither array nor pointer
vauth.c:687: error: subscripted value is neither array nor pointer
vauth.c:688: error: subscripted value is neither array nor pointer
vauth.c:689: error: subscripted value is neither array nor pointer
vauth.c:689: error: subscripted value is neither array nor pointer
vauth.c:689: error: subscripted value is neither array nor pointer
vauth.c:689: error: subscripted value is neither array nor pointer
vauth.c:689: error: subscripted value is neither array nor pointer
vauth.c:692: error: subscripted value is neither array nor pointer
vauth.c:693: error: subscripted value is neither array nor pointer
vauth.c:693: error: subscripted value is neither array nor pointer
vauth.c:693: error: subscripted value is neither array nor pointer
vauth.c:693: error: subscripted value is neither array nor pointer
vauth.c:693: error: subscripted value is neither array nor pointer
vauth.c: In function `vauth_setpw':
vauth.c:781: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vopen_smtp_relay':
vauth.c:820: warning: format argument is not a pointer (arg 3)
vauth.c:823: warning: implicit declaration of function `mysql_affected_rows'
vauth.c: In function `vupdate_rules':
vauth.c:838: warning: format argument is not a pointer (arg 3)
vauth.c:842: warning: assignment makes pointer from integer without a cast
vauth.c:847: error: subscripted value is neither array nor pointer
vauth.c: In function `vcreate_relay_table':
vauth.c:876: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vclose':
vauth.c:891: warning: implicit declaration of function `mysql_close'
vauth.c: In function `vcreate_ip_map_table':
vauth.c:912: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vget_ip_map':
vauth.c:932: warning: assignment makes pointer from integer without a cast
vauth.c:938: error: subscripted value is neither array nor pointer
vauth.c:938: error: subscripted value is neither array nor pointer
vauth.c:938: error: subscripted value is neither array nor pointer
vauth.c:938: error: subscripted value is neither array nor pointer
vauth.c:938: error: subscripted value is neither array nor pointer
vauth.c: In function `vshow_ip_map':
vauth.c:1000: warning: assignment makes pointer from integer without a cast
vauth.c:1008: warning: comparison between pointer and integer
vauth.c:1009: error: subscripted value is neither array nor pointer
vauth.c:1009: error: subscripted value is neither array nor pointer
vauth.c:1009: error: subscripted value is neither array nor pointer
vauth.c:1009: error: subscripted value is neither array nor pointer
vauth.c:1009: error: subscripted value is neither array nor pointer
vauth.c:1010: error: subscripted value is neither array nor pointer
vauth.c:1010: error: subscripted value is neither array nor pointer
vauth.c:1010: error: subscripted value is neither array nor pointer
vauth.c:1010: error: subscripted value is neither array nor pointer
vauth.c:1010: error: subscripted value is neither array nor pointer
vauth.c: In function `vread_dir_control':
vauth.c:1038: warning: assignment makes pointer from integer without a cast
vauth.c:1043: warning: comparison between pointer and integer
vauth.c:1045: error: subscripted value is neither array nor pointer
vauth.c:1046: error: subscripted value is neither array nor pointer
vauth.c:1047: error: subscripted value is neither array nor pointer
vauth.c:1049: error: subscripted value is neither array nor pointer
vauth.c:1050: error: subscripted value is neither array nor pointer
vauth.c:1051: error: subscripted value is neither array nor pointer
vauth.c:1053: error: subscripted value is neither array nor pointer
vauth.c:1054: error: subscripted value is neither array nor pointer
vauth.c:1055: error: subscripted value is neither array nor pointer
vauth.c:1057: error: subscripted value is neither array nor pointer
vauth.c:1058: error: subscripted value is neither array nor pointer
vauth.c:1059: error: subscripted value is neither array nor pointer
vauth.c:1061: error: subscripted value is neither array nor pointer
vauth.c:1062: error: subscripted value is neither array nor pointer
vauth.c:1063: error: subscripted value is neither array nor pointer
vauth.c:1065: error: subscripted value is neither array nor pointer
vauth.c:1065: error: subscripted value is neither array nor pointer
vauth.c:1065: error: subscripted value is neither array nor pointer
vauth.c:1065: error: subscripted value is neither array nor pointer
vauth.c:1065: error: subscripted value is neither array nor pointer
vauth.c: In function `vwrite_dir_control':
vauth.c:1115: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vcreate_dir_control':
vauth.c:1131: warning: format argument is not a pointer (arg 3)
vauth.c:1152: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vdel_dir_control':
vauth.c:1169: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vset_lastauth':
vauth.c:1190: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vget_lastauth':
vauth.c:1209: warning: format argument is not a pointer (arg 3)
vauth.c:1213: warning: assignment makes pointer from integer without a cast
vauth.c:1216: error: subscripted value is neither array nor pointer
vauth.c: In function `vget_lastauthip':
vauth.c:1234: warning: format argument is not a pointer (arg 3)
vauth.c:1238: warning: assignment makes pointer from integer without a cast
vauth.c:1240: error: subscripted value is neither array nor pointer
vauth.c:1240: error: subscripted value is neither array nor pointer
vauth.c:1240: error: subscripted value is neither array nor pointer
vauth.c:1240: error: subscripted value is neither array nor pointer
vauth.c:1240: error: subscripted value is neither array nor pointer
vauth.c: In function `vcreate_lastauth_table':
vauth.c:1254: warning: format argument is not a pointer (arg 3)
vauth.c: In function `valias_select':
vauth.c:1277: warning: format argument is not a pointer (arg 3)
vauth.c:1281: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_select_next':
vauth.c:1288: error: subscripted value is neither array nor pointer
vauth.c: In function `valias_insert':
vauth.c:1308: warning: format argument is not a pointer (arg 3)
vauth.c: In function `valias_delete':
vauth.c:1328: warning: format argument is not a pointer (arg 3)
vauth.c: In function `valias_delete_domain':
vauth.c:1348: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vcreate_valias_table':
vauth.c:1362: warning: format argument is not a pointer (arg 3)
vauth.c: In function `valias_select_all':
vauth.c:1380: warning: format argument is not a pointer (arg 3)
vauth.c:1384: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_select_all_next':
vauth.c:1391: error: subscripted value is neither array nor pointer
vauth.c:1392: error: subscripted value is neither array nor pointer
vauth.c: In function `vget_limits':
vauth.c:1489: warning: format argument is not a pointer (arg 3)
vauth.c:1493: warning: assignment makes pointer from integer without a cast
vauth.c:1505: warning: comparison between pointer and integer
vauth.c:1506: error: subscripted value is neither array nor pointer
vauth.c:1508: error: subscripted value is neither array nor pointer
vauth.c:1509: error: subscripted value is neither array nor pointer
vauth.c:1510: error: subscripted value is neither array nor pointer
vauth.c:1511: error: subscripted value is neither array nor pointer
vauth.c:1512: error: subscripted value is neither array nor pointer
vauth.c:1513: error: subscripted value is neither array nor pointer
vauth.c:1514: error: subscripted value is neither array nor pointer
vauth.c:1515: error: subscripted value is neither array nor pointer
vauth.c:1516: error: subscripted value is neither array nor pointer
vauth.c:1517: error: subscripted value is neither array nor pointer
vauth.c:1518: error: subscripted value is neither array nor pointer
vauth.c:1519: error: subscripted value is neither array nor pointer
vauth.c:1520: error: subscripted value is neither array nor pointer
vauth.c:1521: error: subscripted value is neither array nor pointer
vauth.c:1522: error: subscripted value is neither array nor pointer
vauth.c:1523: error: subscripted value is neither array nor pointer
vauth.c:1524: error: subscripted value is neither array nor pointer
vauth.c:1525: error: subscripted value is neither array nor pointer
vauth.c:1526: error: subscripted value is neither array nor pointer
vauth.c:1527: error: subscripted value is neither array nor pointer
vauth.c:1533: error: subscripted value is neither array nor pointer
vauth.c:1534: error: subscripted value is neither array nor pointer
vauth.c: In function `vset_limits':
vauth.c:1586: warning: format argument is not a pointer (arg 3)
make[2]: *** [vauth.o] Error 1