Can't compile webalizer with dns support

From: Robert (nospam_robert_schmidli_at_hotmail.com)
Date: 07/27/03


Date: Sun, 27 Jul 2003 20:36:12 +1000

I am trying to compile webalizer (-2.01-10) with dns support. I've
installed the latest Berkely db-4 libraries with 1.85 compatability (using
the appropriate configure option). I have compiled webalizer with the
following options:

./configure --sysconfdir=/etc --enable-dns --with-dblib=/usr/local/BerkeleyD
B.4.1/lib --with-db=/usr/local/BerkeleyDB.4.1/include

The configure step works OK but when I enter 'make' I get the following
errors:

gcc -I/usr/local/BerkeleyDB.4.1/include -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_
ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MAT
H_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

Any clues?



Relevant Pages

  • FileRunner - my personal patched version
    ... which will now list most archives, defaults to bzip2 archiving ... I get the following 'warning' during compilation. ... ext.c:95: warning: passing arg 3 of `Tcl_CreateCommand' from ...
    (comp.lang.tcl)
  • Installation of Tcl/Tk on IBM-AIX
    ... tclUnixChan.c:1665: warning: passing arg 3 of `ngetpeername' from ... tclUnixChan.c:2490: error: `readyMasks' undeclared (first use in this ...
    (comp.unix.aix)
  • wireless problem using linux driver
    ... browsing around the web to find the windows driver, ... iwlist wlan0 [parameters] ... warning: assignment from incompatible pointer type ...
    (Ubuntu)
  • wireless linux driver problems
    ... browsing around the web to find the windows driver, ... iwlist wlan0 [parameters] ... warning: assignment from incompatible pointer type ...
    (Ubuntu)
  • Re: Creating Driver for ACX100 wireless adapter
    ... ../include/p80211netdev.h:587: warning: implicit declaration of function ... acx100.c:551: warning: assignment from incompatible pointer type ... acx100.c:566: warning: passing arg 1 of `acx100_reset_dev' from ...
    (alt.os.linux.suse)