Webalizer
deny
-
deny -
deny -
bonjour et bon dimanche
en compilant webalizer
./configure --enable-dns
puis make
j'ai ce message
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] Erreur 1
voici dans mon makefile ,les lignes qui paraissent poser probleme
dns_resolv.o: dns_resolv.c dns_resolv.h lang.h webalizer.h
$(CC) ${CFLAGS} ${DEFS} -c dns_resolv.c
et voici les variables definies du debut
CC = gcc
CFLAGS = -Wall -O2
DEFS = -DETCDIR=\"/etc\" -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H
=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_DNS
merci pour votre aide
(webalizer sans --enable-dns fonctionne ,mais je n'ai pas de reverse dns dans mes logs)
en compilant webalizer
./configure --enable-dns
puis make
j'ai ce message
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] Erreur 1
voici dans mon makefile ,les lignes qui paraissent poser probleme
dns_resolv.o: dns_resolv.c dns_resolv.h lang.h webalizer.h
$(CC) ${CFLAGS} ${DEFS} -c dns_resolv.c
et voici les variables definies du debut
CC = gcc
CFLAGS = -Wall -O2
DEFS = -DETCDIR=\"/etc\" -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H
=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_DNS
merci pour votre aide
(webalizer sans --enable-dns fonctionne ,mais je n'ai pas de reverse dns dans mes logs)