Hi, On Tue, Aug 05, 2003 at 08:29:21PM +0000, Geoffrey Lo wrote: > there is a make file which i modifed 2 lines to point to my file, usbtest.o > > i type make and it outputs > > gcc -Wall -D__KERNEL -DMODULE -I/usr/src/linux/include -O2 -c -o usbtest.o > usbtest.c > usbtest.c:31 varaible 'sample_usb_driver' has initializer but incomplete > type > usbtest.c:32 .....
/usr/src/linux contains your current kernel source? > i'm starting to think this struct doesn't exist at all. It does. It's in include/linux/usb.h. > is there an easy way to search for the file containing the usb_driver > struct in my system? rgrep "struct usb_driver {" include/ Which Linux version are you using? Bye, Henning ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users