Problemer med installation af Vpopmail til Qmail
Jeg sidder og er ved at installere qmail samt de rogrammer der skal til for at få det til at køre..Jeg er nået til Vpopmail og har configureret denne, næste punkt er så at compile den. Der kommer den med en masse fejl. Jeg er lidt lost, og jeg ved ikke rigtigt hvordan jeg skal komme videre..
Det er når den når til gcc -I. -I/usr/include/mysql -g -O2 -Wall -c vauth.c at den kommer med alle fejlene..
Er der nogle der kan se hvad fejlen er og måske komme med en lille hjælp..
MVH og på forhånd tak.
Thomas H.
I kan se fejlloggen her for neden, den er lidt lang..:
unix_sv*) ;; \
irix64-*) ;; \
irix-*) ;; \
dgux-*) ;; \
hp-ux-*) ;; \
sco*) ;; \
*) echo 'ranlib "$main"' ;; \
esac \
) > makelib
chmod 755 makelib
( ( ./compile tryulong32.c && ./load tryulong32 && \
./tryulong32 ) >/dev/null 2>&1 \
&& cat uint32.h2 || cat uint32.h1 ) > uint32.h
rm -f tryulong32.o tryulong32
./compile cdb_hash.c
./compile cdb_unpack.c
./compile cdb_seek.c
./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
./compile cdbmake_pack.c
./compile cdbmake_hash.c
./compile cdbmake_add.c
./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \
cdbmake_add.o
make[2]: Leaving directory `/tmp/vpopmail-5.2.1/cdb'
make[2]: Entering directory `/tmp/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:28:
vmysql.h:53:22: warning: multi-line string literals are deprecated
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: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: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: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:362: warning: too many arguments for format
vauth.c:362: warning: too many arguments for format
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:403: subscripted value is neither array nor pointer
vauth.c:403: subscripted value is neither array nor pointer
vauth.c:403: subscripted value is neither array nor pointer
vauth.c:403: subscripted value is neither array nor pointer
vauth.c:403: subscripted value is neither array nor pointer
vauth.c:403: 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:475: warning: too many arguments for format
vauth.c:475: warning: too many arguments for format
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:518: warning: too many arguments for format
vauth.c:518: warning: too many arguments for format
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:551: warning: too many arguments for format
vauth.c:551: warning: too many arguments for format
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:598: subscripted value is neither array nor pointer
vauth.c:599: subscripted value is neither array nor pointer
vauth.c:599: subscripted value is neither array nor pointer
vauth.c:599: subscripted value is neither array nor pointer
vauth.c:599: subscripted value is neither array nor pointer
vauth.c:599: subscripted value is neither array nor pointer
vauth.c: In function `vauth_setpw':
vauth.c:684: warning: too many arguments for format
vauth.c:684: warning: too many arguments for format
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 `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] Error 1
make[2]: Leaving directory `/tmp/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2
