Boa tarde galera,
Seguindo o artigo de instalacao do qmail disponivel aqui no Under, me deparei com um problema :
Na hora de executar o make do vpopmail acontece isso :
[root@nosferatu vpopmail-5.2.1]# make
make all-recursive
make[1]: Entrando no diretório `/root/build/vpopmail-5.2.1´
Making all in cdb
make[2]: Entrando no diretório `/root/build/vpopmail-5.2.1/cdb´
make[2]: Nada a ser feito para `all´.
make[2]: Saindo do diretório `/root/build/vpopmail-5.2.1/cdb´
make[2]: Entrando no diretório `/root/build/vpopmail-5.2.1´
gcc -I. -I/usr/local/mysql/lib -g -O2 -Wall -c vauth.c
vauth.c:28:19: mysql.h: Arquivo ou diretório não encontrado
In file included from vauth.c:32:
vmysql.h:53:22: warning: multi-line string literals are deprecated
vauth.c:35: parse error before "mysql_update"
vauth.c:35: warning: type defaults to `int´ in declaration of `mysql_update´
vauth.c:35: warning: data definition has no type or storage class
vauth.c:36: parse error before "mysql_read_getall"
vauth.c:36: warning: type defaults to `int´ in declaration of `mysql_read_getall´
vauth.c:36: warning: data definition has no type or storage class
vauth.c:54: parse error before ´*´ token
vauth.c:54: warning: type defaults to `int´ in declaration of `res_update´
vauth.c:54: warning: data definition has no type or storage class
vauth.c:55: parse error before ´*´ token
vauth.c:55: warning: type defaults to `int´ in declaration of `res_read_getall´
vauth.c:55: warning: data definition has no type or storage class
vauth.c:63: parse error before "row"
vauth.c:63: warning: type defaults to `int´ in declaration of `row´
vauth.c:63: warning: data definition has no type or storage class
vauth.c:64: parse error before "row_getall"
vauth.c:64: warning: type defaults to `int´ in declaration of `row_getall´
vauth.c:64: warning: data definition has no type or storage class
vauth.c: In function `vauth_open_update´:
vauth.c:108: warning: implicit declaration of function `mysql_init´
vauth.c:111: warning: implicit declaration of function `mysql_real_connect´
vauth.c:116: warning: implicit declaration of function `mysql_error´
vauth.c:116: warning: format argument is not a pointer (arg 3)
vauth.c:127: warning: format argument is not a pointer (arg 3)
vauth.c:135: warning: implicit declaration of function `mysql_query´
vauth.c:140: warning: format argument is not a pointer (arg 2)
vauth.c:143: warning: implicit declaration of function `mysql_store_result´
vauth.c:143: warning: assignment makes pointer from integer without a cast
vauth.c:144: warning: implicit declaration of function `mysql_free_result´
vauth.c:147: warning: implicit declaration of function `mysql_select_db´
vauth.c: In function `vauth_adddomain´:
vauth.c:239: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_adduser´:
vauth.c:314: warning: format argument is not a pointer (arg 2)
vauth.c:317: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_getpw´:
vauth.c:366: warning: format argument is not a pointer (arg 2)
vauth.c:370: warning: assignment makes pointer from integer without a cast
vauth.c:375: warning: implicit declaration of function `mysql_num_rows´
vauth.c:394: warning: implicit declaration of function `mysql_fetch_row´
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:396: 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: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: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:401: subscripted value is neither array nor pointer
vauth.c:401: subscripted value is neither array nor pointer
vauth.c:401: subscripted value is neither array nor pointer
vauth.c:401: subscripted value is neither array nor pointer
vauth.c:401: subscripted value is neither array nor pointer
vauth.c:401: subscripted value is neither array nor pointer
vauth.c: In function `vauth_deldomain´:
vauth.c:433: warning: assignment makes pointer from integer without a cast
vauth.c:446: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_deluser´:
vauth.c:479: warning: assignment makes pointer from integer without a cast
vauth.c:489: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_setquota´:
vauth.c:521: warning: format argument is not a pointer (arg 2)
vauth.c:524: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_getall´:
vauth.c:561: warning: format argument is not a pointer (arg 2)
vauth.c:565: warning: assignment makes pointer from integer without a cast
vauth.c:587: warning: comparison between pointer and integer
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:589: 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: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: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:593: subscripted value is neither array nor pointer
vauth.c:593: subscripted value is neither array nor pointer
vauth.c:593: subscripted value is neither array nor pointer
vauth.c:593: 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:595: subscripted value is neither array nor pointer
vauth.c:595: subscripted value is neither array nor pointer
vauth.c:595: subscripted value is neither array nor pointer
vauth.c:595: subscripted value is neither array nor pointer
vauth.c:595: subscripted value is neither array nor pointer
vauth.c: In function `vauth_setpw´:
vauth.c:687: warning: format argument is not a pointer (arg 2)
vauth.c:691: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vclose´:
vauth.c:799: warning: implicit declaration of function `mysql_close´
vauth.c: In function `vread_dir_control´:
vauth.c:954: warning: assignment makes pointer from integer without a cast
vauth.c:959: warning: comparison between pointer and integer
vauth.c:961: subscripted value is neither array nor pointer
vauth.c:962: subscripted value is neither array nor pointer
vauth.c:963: subscripted value is neither array nor pointer
vauth.c:965: subscripted value is neither array nor pointer
vauth.c:966: subscripted value is neither array nor pointer
vauth.c:967: subscripted value is neither array nor pointer
vauth.c:969: subscripted value is neither array nor pointer
vauth.c:970: subscripted value is neither array nor pointer
vauth.c:971: subscripted value is neither array nor pointer
vauth.c:973: subscripted value is neither array nor pointer
vauth.c:974: subscripted value is neither array nor pointer
vauth.c:975: subscripted value is neither array nor pointer
vauth.c:977: subscripted value is neither array nor pointer
vauth.c:978: subscripted value is neither array nor pointer
vauth.c:979: subscripted value is neither array nor pointer
vauth.c:981: subscripted value is neither array nor pointer
vauth.c:981: subscripted value is neither array nor pointer
vauth.c:981: subscripted value is neither array nor pointer
vauth.c:981: subscripted value is neither array nor pointer
vauth.c:981: subscripted value is neither array nor pointer
vauth.c: In function `vwrite_dir_control´:
vauth.c:1031: warning: format argument is not a pointer (arg 2)
vauth.c:1035: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vcreate_dir_control´:
vauth.c:1049: warning: format argument is not a pointer (arg 2)
vauth.c:1052: warning: assignment makes pointer from integer without a cast
vauth.c:1072: warning: format argument is not a pointer (arg 2)
vauth.c:1075: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vdel_dir_control´:
vauth.c:1091: warning: format argument is not a pointer (arg 2)
vauth.c:1095: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vset_lastauth´:
vauth.c:1114: warning: format argument is not a pointer (arg 2)
vauth.c:1117: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vget_lastauth´:
vauth.c:1135: warning: format argument is not a pointer (arg 2)
vauth.c:1139: warning: assignment makes pointer from integer without a cast
vauth.c:1142: subscripted value is neither array nor pointer
vauth.c: In function `vget_lastauthip´:
vauth.c:1160: warning: format argument is not a pointer (arg 2)
vauth.c:1164: warning: assignment makes pointer from integer without a cast
vauth.c:1166: subscripted value is neither array nor pointer
vauth.c:1166: subscripted value is neither array nor pointer
vauth.c:1166: subscripted value is neither array nor pointer
vauth.c:1166: subscripted value is neither array nor pointer
vauth.c:1166: subscripted value is neither array nor pointer
vauth.c: In function `vcreate_lastauth_table´:
vauth.c:1180: warning: format argument is not a pointer (arg 2)
vauth.c:1183: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_select´:
vauth.c:1205: warning: format argument is not a pointer (arg 2)
vauth.c:1209: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_select_next´:
vauth.c:1216: subscripted value is neither array nor pointer
vauth.c: In function `valias_insert´:
vauth.c:1236: warning: format argument is not a pointer (arg 2)
vauth.c:1240: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_delete´:
vauth.c:1258: warning: format argument is not a pointer (arg 2)
vauth.c:1262: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_delete_domain´:
vauth.c:1280: warning: format argument is not a pointer (arg 2)
vauth.c:1284: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vcreate_valias_table´:
vauth.c:1296: warning: format argument is not a pointer (arg 2)
vauth.c:1299: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_select_all´:
vauth.c:1316: warning: format argument is not a pointer (arg 2)
vauth.c:1320: warning: assignment makes pointer from integer without a cast
vauth.c: In function `valias_select_all_next´:
vauth.c:1327: subscripted value is neither array nor pointer
vauth.c:1328: subscripted value is neither array nor pointer
vauth.c: In function `logmysql´:
vauth.c:1359: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vcreate_vlog_table´:
vauth.c:1376: warning: assignment makes pointer from integer without a cast
make[2]: ** [vauth.o] Erro 1
make[2]: Saindo do diretório `/root/build/vpopmail-5.2.1´
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/root/build/vpopmail-5.2.1´
make: ** [all-recursive-am] Erro 2
[root@nosferatu vpopmail-5.2.1]#
Alguem jah passou por isso ?
Tentei a tarde inteira e nada ...
Valew