Hi,

On Tue, Aug 05, 2003 at 07:34:58PM +0000, Geoffrey Lo wrote:
> Yup. Its already included. I copied all the include header files from 
> sample code. I have no prob printing the macros out from usb.h file.
> 
> Not exactly sure why I'm still getting that message though.

How do you compile your code? Do you use the kernel Makefiles? If you
just do something like

gcc -o mydriver.o mydriver.c

you will use the headers in /usr/include instead of the in-kernel
headers. And those may not have usb_driver defined.

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

Reply via email to