This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 22nd, 2011  |  syntax: None  |  size: 1.46 KB  |  views: 100  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. smite@rockbox:~/tmp/rockbox/utils/imx_hid_recovery$ make
  2. gcc -Wall -O2 -std=c99 `pkg-config --libs --cflags libusb-1.0` -o imx_hid_recovery imx_hid_recovery.c
  3. /tmp/ccaoR9wz.o: In function `main':
  4. imx_hid_recovery.c:(.text.startup+0xb1): undefined reference to `libusb_init'
  5. imx_hid_recovery.c:(.text.startup+0xc5): undefined reference to `libusb_set_debug'
  6. imx_hid_recovery.c:(.text.startup+0xe1): undefined reference to `libusb_open_device_with_vid_pid'
  7. imx_hid_recovery.c:(.text.startup+0x101): undefined reference to `libusb_detach_kernel_driver'
  8. imx_hid_recovery.c:(.text.startup+0x115): undefined reference to `libusb_detach_kernel_driver'
  9. imx_hid_recovery.c:(.text.startup+0x129): undefined reference to `libusb_claim_interface'
  10. imx_hid_recovery.c:(.text.startup+0x13d): undefined reference to `libusb_claim_interface'
  11. imx_hid_recovery.c:(.text.startup+0x2df): undefined reference to `libusb_control_transfer'
  12. imx_hid_recovery.c:(.text.startup+0x366): undefined reference to `libusb_control_transfer'
  13. imx_hid_recovery.c:(.text.startup+0x3a7): undefined reference to `libusb_interrupt_transfer'
  14. imx_hid_recovery.c:(.text.startup+0x422): undefined reference to `libusb_open_device_with_vid_pid'
  15. collect2: ld returned 1 exit status
  16. make: *** [imx_hid_recovery] Error 1
  17. smite@rockbox:~/tmp/rockbox/utils/imx_hid_recovery$ gcc -Wall -O2 -std=c99 -o imx_hid_recovery imx_hid_recovery.c `pkg-config --libs --cflags libusb-1.0`
  18. smite@rockbox:~/tmp/rockbox/utils/imx_hid_recovery$
  19.  
  20.  
clone this paste RAW Paste Data