tcpdump mailing list archives

Re: libpcap detection and linking in tcpdump


From: Francois-Xavier Le Bail via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Thu, 7 Jan 2021 20:25:51 +0100

--- Begin Message --- From: Francois-Xavier Le Bail <devel.fx.lebail () orange fr>
Date: Thu, 7 Jan 2021 20:25:51 +0100
On 07/01/2021 18:35, Bill Fenner via tcpdump-workers wrote:
These jobs are still failing, but now for a different reason.  The build
succeeds, but the tests fail - the tests that require the new libpcap.
However, if you augment TESTrun to print the version, it says
1.11.0-PRE-GIT but the tests that need the new libpcap still fail.

My hypothesis is that, with the cmake build, for some reason, tcpdump linked to the 1.11.0-PRE-GIT
local library was built with include files for the system libpcap not the local libpcap ones, thus
DLT_DSA_TAG_BRCM and some other macros (which exist only in the new libpcap) are undefined (hence
the UNSUPPORTED outputs). '-I' configuration problem?

(The autoconf build add in the Makefile: INCLS = -I. -I../libpcap)

-- 
Francois-Xavier

--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: