lester Posted January 23, 2014 Share Posted January 23, 2014 When attempting to compile dfu-programer-0.5.4 on Ubuntu, getting many errors when "making". ./configure no problem. Any help much apprerciated. make all-recursivemake[1]: Entering directory `DuckEncoder_2_6_3/dfu-programmer-0.5.4'Making all in srcmake[2]: Entering directory `DuckEncoder_2_6_3/dfu-programmer-0.5.4/src'gcc -Wall -g -O2 -I/usr/include/libusb-1.0 -lusb-1.0 -o dfu-programmer main.o arguments.o atmel.o commands.o dfu.o intel_hex.o util.o main.o: In function `main':DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/main.c:58: undefined reference to `libusb_init'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/main.c:108: undefined reference to `libusb_release_interface'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/main.c:121: undefined reference to `libusb_close'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/main.c:131: undefined reference to `libusb_exit'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/main.c:79: undefined reference to `libusb_set_debug'dfu.o: In function `dfu_transfer_out':DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:836: undefined reference to `libusb_control_transfer'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:836: undefined reference to `libusb_control_transfer'dfu.o: In function `dfu_transfer_in':DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:863: undefined reference to `libusb_control_transfer'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:863: undefined reference to `libusb_control_transfer'dfu.o: In function `dfu_transfer_out':DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:836: undefined reference to `libusb_control_transfer'dfu.o:DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:863: more undefined references to `libusb_control_transfer' followdfu.o: In function `dfu_device_init':DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:388: undefined reference to `libusb_get_device_list'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:394: undefined reference to `libusb_get_device_descriptor'dfu.o: In function `dfu_find_interface':DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:677: undefined reference to `libusb_get_config_descriptor'dfu.o: In function `dfu_device_init':DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:415: undefined reference to `libusb_open'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:417: undefined reference to `libusb_set_configuration'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:445: undefined reference to `libusb_close'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:451: undefined reference to `libusb_free_device_list'dfu.o: In function `dfu_find_interface':DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:716: undefined reference to `libusb_free_config_descriptor'dfu.o: In function `dfu_device_init':DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:419: undefined reference to `libusb_claim_interface'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:436: undefined reference to `libusb_release_interface'DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:426: undefined reference to `libusb_free_device_list'dfu.o: In function `dfu_make_idle':DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:814: undefined reference to `libusb_reset_device'dfu.o: In function `dfu_device_init':DuckEncoder_2_6_3/dfu-programmer-0.5.4/src/dfu.c:431: undefined reference to `libusb_free_device_list'collect2: error: ld returned 1 exit statusmake[2]: *** [dfu-programmer] Error 1make[2]: Leaving directory `DuckEncoder_2_6_3/dfu-programmer-0.5.4/src'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `DuckEncoder_2_6_3/dfu-programmer-0.5.4'make: *** [all] Error 2 Quote Link to comment Share on other sites More sharing options...
Solution lester Posted January 23, 2014 Author Solution Share Posted January 23, 2014 found the solution in case anyone else has this problem. Need to download the latest as of this date, tarball, at: http://sourceforge.net/projects/dfu-programmer/files/dfu-programmer/0.6.2/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.