Webaliser not compiling with DNS
trying to recompile webalizer with DNS, via ./configure -enable-dns
but when i make i get
gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_DNS -c dns_resolv.c
dns_resolv.c: In function `resolve_dns':
dns_resolv.c:149: warning: passing arg 2 of pointer to function from incompatible pointer type
dns_resolv.c:149: too few arguments to function
dns_resolv.c: In function `dns_resolver':
dns_resolv.c:218: warning: implicit declaration of function `dbopen'
dns_resolv.c:218: warning: assignment makes pointer from integer without a cast
dns_resolv.c:228: too few arguments to function
dns_resolv.c:235: too few arguments to function
dns_resolv.c:275: warning: passing arg 2 of pointer to function from incompatible pointer type
dns_resolv.c:275: too few arguments to function
dns_resolv.c:329: too few arguments to function
dns_resolv.c:359: too few arguments to function
dns_resolv.c: In function `db_put':
dns_resolv.c:745: warning: passing arg 2 of pointer to function from incompatible pointer type
dns_resolv.c:745: too few arguments to function
dns_resolv.c: In function `open_cache':
dns_resolv.c:793: warning: assignment makes pointer from integer without a cast
dns_resolv.c:801: too few arguments to function
dns_resolv.c:807: too few arguments to function
dns_resolv.c: In function `close_cache':
dns_resolv.c:829: too few arguments to function
make: *** [dns_resolv.o] Error 1
anyone know wtf is up?
Last edited by joel112; 01-18-2004 at 12:08 PM.
|