Well, 2.95 is so old it's not funny. But that's still what comes w/ FreeBSD 4.x and it should work...
Let's see, my virtual machine has this: # tcpdump -V tcpdump version 3.7.2 libpcap version 0.7 # gcc -v Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] My best guess would be a version mis-match between 0.7 and 0.7.2 of libpcap, i.e. compiled against one of them and run under the other. Look for your pcap.h files and make sure you don't have both versions installed. pcap.h must match libpcap.so. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rmkml Sent: Thursday, June 23, 2005 11:31 AM To: [email protected] Subject: RE: [Ntop-dev] Ntop 3.1 core on freebsd411 > Ok... > > #if defined(FREEBSD) && defined(__FreeBSD_cc_version) && > (__FreeBSD_cc_version < 500000) && defined(HAVE_PCAP_SETNONBLOCK) > rc = pcap_dispatch(myGlobals.device[i].pcapPtr, -1, queuePacket, > (u_char*)_i); #else > rc = pcap_loop(myGlobals.device[i].pcapPtr, -1, queuePacket, > (u_char*)_i); #endif > > So the ntop call into pcap_xxxx failed. > > What version of libpcap is this? libpcap.so.2 => /usr/lib/libpcap.so.2 (0x29451000) default on freebsd411 $tcpdump -V tcpdump version 3.7.2 libpcap version 0.7.2 > Which version of ntop (.tgz from sourceforge, cvs, etc.?) .tgz from sourceforge > Do other libpcap based tools work, e.g. tcpdump? yes, tcpdump372/383/391pre > Which compiler and version? gcc -v Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] regards Rmkml _______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev _______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
