From: Ernst B. <e.b...@xe...> - 2007-03-05 11:08:52
|
Hi, On Montag, 5. M=C3=A4rz 2007, Mattia Jona-Lasinio wrote: > The compilation fails since the script cannot find the usb.h header file. > Actually the header is correctly installed in linux/usb.h but the configu= re > script and all source files including this header include it > as #include <usb.h> instead of #include <linux/usb.h>. > The file usb.h is part of the kernel headers and should not reside in > /usr/include > but in /usr/include/linux. #include <usb.h> is correct, since it tries to find the "/usr/include/usb.h= "=20 header installed there by libusb. The kernel header <linux/usb.h> Shouldn't be used by userspace programs, es= p.=20 since libusb provides a nice, portable abstraction of the kernel interfaces. make sure you have libusb and the related devel packages (headers) installe= d=20 and re-run configure. HTH, /Ernst |