Menu

#1 compile fails on linux-2.4.20

open
nobody
None
5
2003-07-24
2003-07-24
Hans Kuhn
No

I CVS checked out the latest version of the USBAT-02 driver. Compilation
yields an error:

$ ./make-me
rm -f *.o
cc -D__KERNEL__ -DMODULE -I. -I/usr/src/linux/drivers/usb/storage -I/usr/src/linux/include -I../scsi -O -Wall -march=i386 -DCONFIG_USB_STORAGE_ZIOCF -c -o scsiglue.o scsiglue.c
cc -D__KERNEL__ -DMODULE -I. -I/usr/src/linux/drivers/usb/storage -I/usr/src/linux/include -I../scsi -O -Wall -march=i386 -DCONFIG_USB_STORAGE_ZIOCF -c -o protocol.o protocol.c
cc -D__KERNEL__ -DMODULE -I. -I/usr/src/linux/drivers/usb/storage -I/usr/src/linux/include -I../scsi -O -Wall -march=i386 -DCONFIG_USB_STORAGE_ZIOCF -c -o transport.o transport.c
transport.c:349: syntax error before '*' token
transport.c: In function `usb_stor_blocking_completion':
transport.c:351: `urb' undeclared (first use in this function)
transport.c:351: (Each undeclared identifier is reported only once
transport.c:351: for each function it appears in.)
transport.c: In function `usb_stor_control_msg':
transport.c:365: `devrequest' undeclared (first use in this function)
transport.c:365: `dr' undeclared (first use in this function)
make: *** [transport.o] Error 1

Discussion


Log in to post a comment.