When rebuilding webalizer package with forgotten --enable-dns option :
gcc -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math 
-fno-strength-reduce -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: 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:742: warning: passing arg 2 of pointer to function from 
incompatible pointer type
dns_resolv.c:742: too few arguments to function
dns_resolv.c: In function `open_cache':
dns_resolv.c:790: warning: assignment makes pointer from integer without a 
cast
dns_resolv.c:798: too few arguments to function
dns_resolv.c:804: too few arguments to function
dns_resolv.c: In function `close_cache':
dns_resolv.c:826: too few arguments to function
make: *** [dns_resolv.o] Erreur 1

I am pretty sure i succeeded in the past...
 Is there a way to make it work with current gcc (i already tried reducing 
optimisation level, no way) ? Or can someone with an older gcc version 
rebuild it for me, please ?
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG keys http://www.univ-reunion.fr/~grousse/gpgkeys.html

Reply via email to