USB.h missing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB.h missing

1,207 Views
chandraevolute
Contributor V


Hi,    

I am using /opt/poky/1.8/sysroots/cortexa7hf-vfp-neon-poky-linux-gnueabi for compiling my sources. These sources compile perfectly in normal linux machines using GCC. I am using USB driver. I have a line where it says #include<usb.h>. It throws error

compilation terminated.

MSO_Drv.c:3:17: fatal error: usb.h: No such file or directory

#include <usb.h>

I searched in /opt/poky/1.8/sysroots/cortexa7hf-vfp-neon-poky-linux-gnueabi/usr/include/linux and /opt/poky/1.8/sysroots/cortexa7hf-vfp-neon-poky-linux-gnueabi/usr/include folder and it is not present.

What is the solution to resolve this error.

Labels (2)
0 Kudos
Reply
1 Reply

853 Views
igorpadykov
NXP Employee
NXP Employee

Hi chandra

please check attached Linux Manual Chapter 39 CHIPIDEA USB Driver,

sect.39.2.3 Menu Configuration Options    and verify that usb driver is included in build.

For custom "MSO_Drv" driver one can request full sources from its vendor.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply