meinereinerseiner
02.08.01, 09:06
hi,
ich kann auf meiner SuSE 7.2 die Webalizer Sourcen nicht kompilieren:
gcc -o webalizer webalizer.o hashtab.o linklist.o preserve.o parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm -lnsl -ldb1
dns_resolv.o: In function `dns_resolver':
dns_resolv.o(.text+0x20f): undefined reference to `__db185_open'
dns_resolv.o: In function `open_cache':
dns_resolv.o(.text+0x1383): undefined reference to `__db185_open'
collect2: ld returned 1 exit status
make: *** [webalizer] Error 1
configure bringt das:
devil:/DATEN/inst/webalizer-2.01-06 # ./configure --with-language=german --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... yes
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/local/include
checking for getopt.h... yes
checking for math.h... yes
checking default config dir... /etc
checking for language file... yes - german
updating cache ./config.cache
creating ./config.status
creating Makefile
linking ./lang/webalizer_lang.german to webalizer_lang.h
der tom
ich kann auf meiner SuSE 7.2 die Webalizer Sourcen nicht kompilieren:
gcc -o webalizer webalizer.o hashtab.o linklist.o preserve.o parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm -lnsl -ldb1
dns_resolv.o: In function `dns_resolver':
dns_resolv.o(.text+0x20f): undefined reference to `__db185_open'
dns_resolv.o: In function `open_cache':
dns_resolv.o(.text+0x1383): undefined reference to `__db185_open'
collect2: ld returned 1 exit status
make: *** [webalizer] Error 1
configure bringt das:
devil:/DATEN/inst/webalizer-2.01-06 # ./configure --with-language=german --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... yes
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/local/include
checking for getopt.h... yes
checking for math.h... yes
checking default config dir... /etc
checking for language file... yes - german
updating cache ./config.cache
creating ./config.status
creating Makefile
linking ./lang/webalizer_lang.german to webalizer_lang.h
der tom