Loading ...
Sorry, an error occurred while loading the content.

dns problems contd.

Expand Messages
  • Atul
    Here is a transcript of my session when I try to compile Webalizer with DNS enabled. It dies when make . Whatsup? - - - - - - - - - - - - - - -
    Message 1 of 1 , Feb 18, 2002
    • 0 Attachment
      Here is a transcript of my session when I try to compile Webalizer with DNS enabled. It dies when "make".
       
      Whatsup?
       
      - - - - - - - - - - - - - - -
       
      [root@150-25-179-208 webalizer-2.01-09]# ./configure --enable-dns
      creating cache ./config.cache
      checking for gcc... gcc
      checking whether the C compiler (gcc  ) works... yes
      checking whether the C compiler (gcc  ) is a cross-compiler... no
      checking whether we are using GNU C... yes
      checking whether gcc accepts -g... yes
      checking whether ln -s works... yes
      checking for a BSD compatible install... /usr/bin/install -c
      checking how to run the C preprocessor... gcc -E
      checking whether char is unsigned... no
      checking for dbopen... no
      checking for library containing dbopen... -ldb1
      checking for db_185.h... no
      checking for errno.h... yes
      checking for socket... yes
      checking for sys/socket.h... yes
      checking for main in -lnsl... yes
      checking for main in -l44bsd... no
      checking for main in -lm... yes
      checking for main in -lz... yes
      checking for gzrewind in -lz... yes
      checking for main in -lpng... yes
      checking for gdImagePng in -lgd... yes
      checking for gd.h... /usr/include
      checking for getopt.h... yes
      checking for math.h... yes
      checking default config dir... /etc
      checking for language file... yes - english
      updating cache ./config.cache
      creating ./config.status
      creating Makefile
      linking ./lang/webalizer_lang.english to webalizer_lang.h
      [root@150-25-179-208 webalizer-2.01-09]#
      - - - - - - - - - - - - - - -
       
      linking ./lang/webalizer_lang.english to webalizer_lang.h
      [root@150-25-179-208 webalizer-2.01-09]#
      [root@150-25-179-208 webalizer-2.01-09]# make
      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 webalizer.c
      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 hashtab.c
      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 linklist.c
      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 preserve.c
      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: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] Error 1
      [root@150-25-179-208 webalizer-2.01-09]#
      - - - - - - - - - - - - - - -
    Your message has been successfully submitted and would be delivered to recipients shortly.