I am trying to compile with libusb1.0.8 on ubuntu 11.10,but
it shows an error below:-
undefined reference to libusb_release_interface
undefined reference to libusb_init
undefined reference to libusb_set_debug
undefined reference to libusb_set_configuration
undefined reference to libusb_close
I am using below path for include and linking the object files in
Makefile,this same is working in 11.04 but why not in 11.10
What is the issue?How to resolve it?
On Sat, Mar 24, 2012 at 1:58 PM, shashank chaturvedi
> hi Xiaofan,
Please address to the list and not to me, thanks.
> I am trying to compile with libusb1.0.8 on ubuntu 11.10,but
> it shows an error below:-
> undefined reference to libusb_release_interface
> undefined reference to libusb_init
> undefined reference to libusb_set_debug
> undefined reference to libusb_set_configuration
> undefined reference to libusb_close
> I am using below path for include and linking the object files in
> Makefile,this same is working in 11.04 but why not in 11.10
> What is the issue?How to resolve it?
You need to use
On Sat, Mar 24, 2012 at 2:00 PM, Xiaofan Chen <xiaofanc@...> wrote:
> You need to use
> -L/usr/local/lib/ -lusb-1.0
That is if you build libusb-1.0 by yourself and choose the
default installation directory.
If you use the distro provided libusb-1.0 library and
development package, then you should use.
Or better you can use pkg-config to figure out the
command to use automatically.
Get latest updates about Open Source Projects, Conferences and News.