-
Notifications
You must be signed in to change notification settings - Fork 31
Compile issue on fedora 19 #22
Description
Hi,
I followed the instructions in README.asciidoc supplied with version 0.90.
Unfortunately the make process breaks;
$ make
[ 22%] Built target omron_SHARED
[ 44%] Built target omron_STATIC
[ 44%] Built target omron_DEPEND
Linking C executable ../bin/omron_720IT_test
/home/justin/opt/omron-build/lib/libomron.so: undefined reference to libusb_open' /home/justin/opt/omron-build/lib/libomron.so: undefined reference to
libusb_release_interface'
/home/justin/opt/omron-build/lib/libomron.so: undefined reference to libusb_detach_kernel_driver' /home/justin/opt/omron-build/lib/libomron.so: undefined reference to
libusb_close'
/home/justin/opt/omron-build/lib/libomron.so: undefined reference to libusb_get_device_list' /home/justin/opt/omron-build/lib/libomron.so: undefined reference to
libusb_kernel_driver_active'
/home/justin/opt/omron-build/lib/libomron.so: undefined reference to libusb_bulk_transfer' /home/justin/opt/omron-build/lib/libomron.so: undefined reference to
libusb_init'
/home/justin/opt/omron-build/lib/libomron.so: undefined reference to libusb_get_device_descriptor' /home/justin/opt/omron-build/lib/libomron.so: undefined reference to
libusb_free_device_list'
/home/justin/opt/omron-build/lib/libomron.so: undefined reference to libusb_claim_interface' /home/justin/opt/omron-build/lib/libomron.so: undefined reference to
libusb_control_transfer'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/omron_720IT_test] Error 1
make[1]: *** [examples/CMakeFiles/omron_720IT_test.dir/all] Error 2
make: *** [all] Error 2
Maybe something to do with the libusb version used which is supplied in Fedora 19.
$ rpm -qa |grep libusb
libusb-0.1.5-2.fc19.x86_64
libusbx-1.0.16-3.fc19.x86_64
libusbx-devel-1.0.16-3.fc19.x86_64
libusb-devel-0.1.5-2.fc19.x86_64
Hope anyone can help me to get this compiled.
Thanks,
Gr, Justin