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

Re: [webalizer] webalizer make errer!

Expand Messages
  • Enric Naval
    These are only informative warnings from the compiler. Your program has been compiled successfully. You can execute it by doing this in the program directory:
    Message 1 of 2 , Oct 29, 2005
    • 0 Attachment
      These are only informative warnings from the compiler. Your program has
      been compiled successfully. You can execute it by doing this in the
      program directory:

      ./webalizer



      --- icelandbjork <icelandbjork@...> wrote:

      > when I type "make",there are lots of errers :
      >
      _____________________________________________________________________________
      > [root@localhost webalizer-2.01-10]# ./configure
      > --prefix=/home/webalizer
      > loading cache ./config.cache
      > checking for gcc... (cached) 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... (cached) yes
      > checking whether gcc accepts -g... (cached) yes
      > checking whether ln -s works... (cached) yes
      > checking for a BSD compatible install... (cached) /usr/bin/install -c
      > checking how to run the C preprocessor... (cached) gcc -E
      > checking whether char is unsigned... (cached) no
      > checking for main in -l44bsd... (cached) no
      > checking for main in -lm... (cached) yes
      > checking for main in -lz... (cached) yes
      > checking for gzrewind in -lz... (cached) yes
      > checking for main in -lpng... (cached) yes
      > checking for gdImagePng in -lgd... (cached) yes
      > checking for gd.h... (cached) /usr/include
      > checking for getopt.h... (cached) yes
      > checking for math.h... (cached) yes
      > checking default config dir... (cached) /etc
      > checking for language file... (cached) yes - english
      > creating ./config.status
      > creating Makefile
      > linking ./lang/webalizer_lang.english to webalizer_lang.h
      > [root@localhost webalizer-2.01-10]# make
      > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1
      > -c webalizer.c
      > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1
      > -c hashtab.c
      > hashtab.c: In function `new_hnode':
      > hashtab.c:129: warning: int format, different type arg (arg 4)
      > hashtab.c: In function `new_unode':
      > hashtab.c:319: warning: int format, different type arg (arg 4)
      > hashtab.c: In function `new_rnode':
      > hashtab.c:446: warning: int format, different type arg (arg 4)
      > hashtab.c: In function `new_anode':
      > hashtab.c:565: warning: int format, different type arg (arg 4)
      > hashtab.c: In function `new_snode':
      > hashtab.c:681: warning: int format, different type arg (arg 4)
      > hashtab.c: In function `new_inode':
      > hashtab.c:786: warning: int format, different type arg (arg 4)
      > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1
      > -c linklist.c
      > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1
      > -c preserve.c
      > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1
      > -c dns_resolv.c
      > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1
      > -c parser.c
      > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1
      > -c output.c
      > output.c: In function `top_sites_table':
      > output.c:830: warning: cast to pointer from integer of different size
      > output.c:830: warning: cast from pointer to integer of different size
      > output.c: In function `top_urls_table':
      > output.c:1016: warning: cast to pointer from integer of different
      > size
      > output.c:1016: warning: cast from pointer to integer of different
      > size
      > output.c: In function `top_entry_table':
      > output.c:1217: warning: cast to pointer from integer of different
      > size
      > output.c:1217: warning: cast from pointer to integer of different
      > size
      > output.c: In function `top_refs_table':
      > output.c:1321: warning: cast to pointer from integer of different
      > size
      > output.c:1321: warning: cast from pointer to integer of different
      > size
      > output.c: In function `top_agents_table':
      > output.c:1483: warning: cast to pointer from integer of different
      > size
      > output.c:1483: warning: cast from pointer to integer of different
      > size
      > output.c: In function `top_users_table':
      > output.c:1746: warning: cast to pointer from integer of different
      > size
      > output.c:1746: warning: cast from pointer to integer of different
      > size
      > gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1
      > -I/usr/include -c graphs.c
      > gcc -o webalizer webalizer.o hashtab.o linklist.o preserve.o
      > parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm
      > rm -f webazolver
      > ln -s webalizer webazolver
      >
      _____________________________________________________________________________________
      >
      > please help me !
      >
      > My system is linux AS4
      > [root@localhost webalizer-2.01-10]# uname -a
      > Linux localhost.localdomain 2.6.9-11.ELsmp #1 SMP Fri May 20 18:25:30
      > EDT 2005 x86_64 x86_64 x86_64 GNU/Linux


      Enric Naval
      Estudiante de Informática de Gestión en la Udl (Lleida)
      GRIHO webalizer.conf
      http://griho.udl.es/webalizer/webalizer.conf.txt



      __________________________________
      Yahoo! FareChase: Search multiple travel sites in one click.
      http://farechase.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.