tcpdump mailing list archives

Re: libpcap and struct canusb_t, src: failure on debian/ubuntu


From: Jakub Zawadzki <darkjames-ws () darkjames pl>
Date: Mon, 3 Sep 2012 20:58:52 +0200

On Mon, Sep 03, 2012 at 02:34:02PM -0400, Michael Richardson wrote:
The changes introduced in June to deal with "canopy" being picked up
by CANusb interface, introduced a problem:

./pcap-canusb-linux.c:260:20: error: 'struct canusb_t' has no member named 'src'
make: *** [pcap-canusb-linux.o] Error 1

canusb_t->src was removed in 2426611584e9099af5f98d18ef37337df9bef025.

I'm not sure what libraries pcap-canusb-linux.c is expecting.
Perhaps we need to have ./configure notice that the libusb-dev is the 
wrong one and not configure CANUSB?

Maybe no special libraries required, we just need to restore canusb_t->src,
or variant of it, attaching sample patch.

Can you test if it compiles?

Attachment: fix.patch
Description:

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

Current thread: