Today I tried to compile 3.3rc1 on Etch, and failed.
There's a problem between the two development packages of libpcap 
(libpcap0.7-dev and libpcap0.8-dev).
In 0.7 there an undefined function, and in 0.8 it lacks an include file.

Tonight I also tried on Sid, and it fails with the same messages.

* With libpcap0.7 / libpcap0.7-dev :
-------------------------------------
gcc -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -fPIC -DPIC -g -O2 -I/usr/local/include 
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fPIC -DPIC -o .libs/ntop 
ntop-main.o 
ntop-admin.o  -L/usr/local/lib ./.libs/libntopreport ./.libs/libntop 
/usr/lib/libxml2.so -lcrypt -lc -lssl -lcrypto -lresolv -lnsl -lpcap 
/usr/lib/libgdbm.so /usr/lib/libgd.so -L/usr/lib /usr/lib/libjpeg.so -lpng12 
/usr/lib/librrd_th.so -lpthread /usr/lib/libfreetype.so -lpng -lz 
/usr/lib/libart_lgpl_2.so -lm -Wl,--rpath -Wl,/usr/local/lib
./.libs/libntop: undefined reference to `pcap_datalink_val_to_description'
collect2: ld returned 1 exit status

* With libpcap0.8 / libpcap0.8-dev : 
-------------------------------------
In file included from address.c:21:
ntop.h:339:23: error: net/bpf.h: No such file or directory
make[2]: *** [address.lo] Erreur 1

I tried settings defines in config.h without success (HAVE_DLT_VAL_TO_DESC).

Next, the CVS version. It compiles !

************************************************************
* Rhaaaa ! I see why it failed with libpcap0.8 !           *
* I MUST run ./configure after installing libpcap0.8-dev ! *
************************************************************

It seems to work better but It's 00:47 here, there is not much traffic now, 
let's see tomorrow.

PS:
3.3 looks nice, great improvements on RRD graphs !
I hope there will be a backport for Debian Etch.

Attachment: pgpxIaIZD0Hwt.pgp
Description: PGP signature

Reply via email to