While compiling the sample code from http://mpathirage.com/getting-started-with-libusb-on-ubuntu/comment-page-1/#comment-1406 under ubuntu hardy, I am getting the following error.
gcc -o usbdevice_details -I’/usr/src/linux-headers-2.6.24-24/include’ -I’/usr/src/linux-headers-2.6.24-24/include/linux’ ex1.c -lnsl -lm -lc -lusb -L/usr/local/lib -L.
In file included from /usr/include/stdio.h:75,
from ex1.c:3:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before ‘size_t’
…..
My search in the web did not provide any solution.
Can you please help?
Thnaks,
Thirumal

