Hi Gilles

On Wed, Apr 25, 2007 at 01:31:18AM +0200, Gilles Mocellin wrote:
> 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 !

Ok, good to know. I'll use that version, or 3.3r2 when building the
Debian package then.

> ************************************************************
> * 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.

Normally I do not do any backports, but it is easy to do that
yourself.

Regards,

// Ola

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                     654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://opalsys.net/                 UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to