ilan
Verified User
I'm using RH 7.3
Just updated build (./build update) and then ran ./build webalizer to enable country statistics.
But apparently some argument is missing or of incorrect type (without knowing I get this idea from the message: dns_resolv.c:149: warning: passing arg 2 of pointer to function from incompatible pointer type).
Here is the part of the output that shows the error:
.
.
.
Trying to make webalizer...
gcc -Iyes -Iyes -I/usr/local/include -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 webalizer.c
gcc -Iyes -Iyes -I/usr/local/include -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 hashtab.c
gcc -Iyes -Iyes -I/usr/local/include -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 linklist.c
gcc -Iyes -Iyes -I/usr/local/include -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 preserve.c
gcc -Iyes -Iyes -I/usr/local/include -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
I searched the web but I can't find anything similar.
Any help or pointer would be appreciated.
Thanks
Ilan
Just updated build (./build update) and then ran ./build webalizer to enable country statistics.
But apparently some argument is missing or of incorrect type (without knowing I get this idea from the message: dns_resolv.c:149: warning: passing arg 2 of pointer to function from incompatible pointer type).
Here is the part of the output that shows the error:
.
.
.
Trying to make webalizer...
gcc -Iyes -Iyes -I/usr/local/include -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 webalizer.c
gcc -Iyes -Iyes -I/usr/local/include -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 hashtab.c
gcc -Iyes -Iyes -I/usr/local/include -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 linklist.c
gcc -Iyes -Iyes -I/usr/local/include -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 preserve.c
gcc -Iyes -Iyes -I/usr/local/include -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
I searched the web but I can't find anything similar.
Any help or pointer would be appreciated.
Thanks
Ilan