Hi,

IF you are actually working on a kernel USB driver,
sure, you can (should) #include <usb.h>

How are you compiling?  What gcc options?
Maybe you are missing -O2
That's Optimization level 2.
Or maybe you are missing -D__KERNEL__
?

I wouldn't suggest using any library other than
linux/lib/lib.a .

~Randy_________________________________________
|NOTE: Any views presented here are mine alone|
|& may not represent the views of my employer.|
----------------------------------------------- 

-----Original Message-----
From: Eric HENRY [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 9:10 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [linux-usb-devel] Including usb.h

>> What have I done wrong ? How to include usb.h ? or should I use an other 
>> library ? 
>> 
>> I know that it is a stupid question but I really don't know where is the 
>> problem... 
>> I am nearly a newbie in usb and after having read the usb specs and the 
>> programming guide I still need a little help to start. 
>> So please help me ;-) 
>I hope you do know that this header file is intended for in kernel drivers 
>? 
> 
>       HTH 
>               Oliver 
Yes but where can I find these functions if I can't use this usb.h ? 


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to