redhat = 7.2
gcc = 2.96
[root@co903 webalizer-1.30-04]# ./configure
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 -lgd... (cached) yes
checking for gd.h... (cached) /usr/include
checking for language file... (cached) yes - english
checking for getopt.h... (cached) yes
checking for math.h... (cached) yes
creating ./config.status
creating Makefile
linking ./lang/webalizer_lang.english to webalizer_lang.h
[root@co903 webalizer-1.30-04]#
[root@co903 webalizer-1.30-04]# make
gcc -o webalizer webalizer.o graphs.o -lgd -lm
graphs.o: In function `year_graph6x':
graphs.o(.text+0xca8): undefined reference to `gdImageGif'
graphs.o: In function `month_graph6':
graphs.o(.text+0x1994): undefined reference to `gdImageGif'
graphs.o: In function `day_graph3':
graphs.o(.text+0x1fab): undefined reference to `gdImageGif'
graphs.o: In function `pie_chart':
graphs.o(.text+0x2565): undefined reference to `gdImageGif'
collect2: ld returned 1 exit status
make: *** [webalizer] 오류 1
[root@co903 webalizer-1.30-04]#
[root@co903 webalizer-1.30-04]# make install
gcc -o webalizer webalizer.o graphs.o -lgd -lm
graphs.o: In function `year_graph6x':
graphs.o(.text+0xca8): undefined reference to `gdImageGif'
graphs.o: In function `month_graph6':
graphs.o(.text+0x1994): undefined reference to `gdImageGif'
graphs.o: In function `day_graph3':
graphs.o(.text+0x1fab): undefined reference to `gdImageGif'
graphs.o: In function `pie_chart':
graphs.o(.text+0x2565): undefined reference to `gdImageGif'
collect2: ld returned 1 exit status
make: *** [webalizer] 오류 1
[root@co903 webalizer-1.30-04]#
다른 라이브러리는 있거든요...gd,zlib,libpng인가 이런것들은
다 있는뎅 설치가 않되네요...