tcpdump mailing list archives
Cross compilation of tcpdump 4.3
From: Geoffrey Bugniot <g.bugniot () gmail com>
Date: Mon, 16 Jul 2012 14:09:42 +0000 (UTC)
Hi, I've just successfully cross compile libpcap 4.3 for powerpc. I did: $ ./configure --host=powerpc-linux --with-pcap=linux --prefix=/my/folder/ $ make $ make install But I'm not able to cross compile tcpdump: the configure script is always looking for /usr/local/ instead of /my/folder. I tried this for tcpdump: $ ./configure --host=powerpc-linux --with-pcap=/my/folder/ $ ... $ checking for powerpc-linux-pcap-config... no $ checking for pcap-config... /usr/local/bin/pcap-config $ ... So, that's not right. In fact, when I set LDFLAGS to LDFLAGS=${LDFLAGS} -L /my/folder/lib/, the configure script find my cross-compiled libpcap, but it's still lookin for /usr/local/bin/pcap-config. How can I set correctly the cross-compiled libcap path to tcpdump ? Regards, G.B. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Cross compilation of tcpdump 4.3 Geoffrey Bugniot (Jul 16)