-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile Error #1
Comments
Whoops, looks like I wrote the makefile in the wrong order. Try downloading it again and see if it works now. |
Thanks for the response, compiled fine this time. |
This was referenced Apr 27, 2015
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First off let me say a big thanks for publishing this. Just got the RGB k95 today, and was disappointed with the lack of linux drivers.. but with anything linux.. its pretty much expected.
When attempting to make the binary file, i get the following output / errors.
rm -rf bin
mkdir bin
gcc -o bin/ckb-daemon -lusb-1.0 -std=c99 -O2 src/ckb-daemon/main.c
/tmp/ccZHmmup.o: In function
usbdequeue': main.c:(.text+0x223): undefined reference to
libusb_control_transfer'/tmp/ccZHmmup.o: In function
usbcmp': main.c:(.text+0x9c0): undefined reference to
libusb_get_port_numbers'main.c:(.text+0x9d8): undefined reference to
libusb_get_port_numbers' /tmp/ccZHmmup.o: In function
openusb':main.c:(.text+0xa63): undefined reference to
libusb_get_device_descriptor' main.c:(.text+0xbba): undefined reference to
libusb_open'main.c:(.text+0xbef): undefined reference to
libusb_set_auto_detach_kernel_driver' main.c:(.text+0xbfd): undefined reference to
libusb_claim_interface'main.c:(.text+0xc25): undefined reference to
libusb_release_interface' main.c:(.text+0xc54): undefined reference to
libusb_get_string_descriptor_ascii'main.c:(.text+0xc79): undefined reference to
libusb_get_string_descriptor_ascii' main.c:(.text+0xd67): undefined reference to
libusb_release_interface'main.c:(.text+0xd70): undefined reference to
libusb_close' /tmp/ccZHmmup.o: In function
closeusb':main.c:(.text+0xe6e): undefined reference to
libusb_release_interface' main.c:(.text+0xe77): undefined reference to
libusb_close'/tmp/ccZHmmup.o: In function
quit': main.c:(.text+0x167a): undefined reference to
libusb_exit'/tmp/ccZHmmup.o: In function
main': main.c:(.text.startup+0x20): undefined reference to
libusb_init'main.c:(.text.startup+0x30): undefined reference to
libusb_init' main.c:(.text.startup+0x44): undefined reference to
libusb_set_debug'main.c:(.text.startup+0x92): undefined reference to
libusb_get_device_list' main.c:(.text.startup+0xcc): undefined reference to
libusb_free_device_list'main.c:(.text.startup+0x103): undefined reference to
libusb_hotplug_register_callback' main.c:(.text.startup+0x171): undefined reference to
libusb_handle_events_timeout_completed'collect2: error: ld returned 1 exit status
make: *** [build] Error 1
Seems to die on building the daemon.
Checked that libusb is installed, standard version and dev..
Any ideas what might be causing this? im on ubuntu 14.04 if that makes any difference.
Appreciate the work.
The text was updated successfully, but these errors were encountered: