[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] webalizer install problem



Hello cobalt-users,

  has anybody tried installing webalizer from http://www.mrunix.net/webalizer/
  if so, here's my problem... maybe you'll be able to help me out..
  i installed gd, libpng, and zlib to their default directories with
  no problems what so ever. i'm trying to compile webalizer itself and
  i'm getting this:

[root webalizer]# make
gcc -Wall -O2 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1  -c webalizer.c
gcc -Wall -O2 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1  -I/usr/local/include -c graphs.c
graphs.c: In function `year_graph6x':
graphs.c:288: warning: parameter names (without types) in function declaration
graphs.c: In function `month_graph6':
graphs.c:504: warning: parameter names (without types) in function declaration
graphs.c: In function `day_graph3':
graphs.c:617: warning: implicit declaration of function `gdImageGif'
gcc  -o webalizer webalizer.o graphs.o -lgd -lm 
graphs.o: In function `day_graph3':
graphs.c(.text+0x3ad8): undefined reference to `gdImageGif'
graphs.o: In function `pie_chart':
graphs.c(.text+0x4378): undefined reference to `gdImageGif'
make: *** [webalizer] Error 1
[root webalizer]#

  any clue what i'm doing wrong?

-- 
Best regards,
 Greg                          mailto:master@xxxxxxxxx