tcpdump mailing list archives

Re: Problem with usb support


From: Michael Szalay <michael.szalay () basis06 ch>
Date: Wed, 1 Dec 2010 07:28:32 +0100 (CET)

Thanks, now I have another error:

./runlex.sh flex -Ppcap_ -oscanner.c scanner.l
bison -y -p pcap_ -d grammar.y
NONE:0: /usr/bin/m4: ERROR: EOF in string
bison: subsidiary program `/usr/bin/m4' failed (exit status 1)
make: *** [grammar.c] Fehler 1

Regards Michael

-- 
Michael Szalay                               Senior Software Engineer

basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22
http://www.basis06.ch - source of smart business 

----- Ursprüngliche Mail -----
Von: "Guy Harris" <guy () alum mit edu>
An: tcpdump-workers () lists tcpdump org
Gesendet: Mittwoch, 1. Dezember 2010 01:00:27
Betreff: Re: [tcpdump-workers] Problem with usb support

On Nov 28, 2010, at 10:18 PM, Michael Szalay wrote:

thanks. I checked that out, now I have no warnings in ./configure, but
the following error
in make

gcc -O2 -fpic -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -g
-O2 -c ./pcap-linux.c
gcc -O2 -fpic -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -g
-O2 -c ./pcap-usb-linux.c
./pcap-usb-linux.c: In function ‘probe_devices’:
./pcap-usb-linux.c:270: error: ‘struct usbdevfs_ctrltransfer’ has no
member named ‘requesttype’
./pcap-usb-linux.c:271: error: ‘struct usbdevfs_ctrltransfer’ has no
member named ‘request’
./pcap-usb-linux.c:272: error: ‘struct usbdevfs_ctrltransfer’ has no
member named ‘value’
./pcap-usb-linux.c:273: error: ‘struct usbdevfs_ctrltransfer’ has no
member named ‘index’
./pcap-usb-linux.c:274: error: ‘struct usbdevfs_ctrltransfer’ has no
member named ‘length’

I've checked another fix into the trunk and 1.1 branches; could you try
that? (It's a fix to the configure script, so you'll need to re-run the
script.)- This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: