View Single Post
Old 10-29-2012, 12:29 PM   #20
David28227
Member
David28227 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2012
Device: Kindle Touch
Quote:
Originally Posted by ixtab View Post
Well, that looks good to me. It's connected with the correct ID. (Ignore the "failed" messages, that's just some other modules declaring that they can't make sense of the device).

Now all you need to do is use imx_usb_loader. (Hint: it should compile without error. To get the required tools (gcc etc.), sudo apt-get install build-essential).
I'm pretty sure I did it exactly right, as per the instructions, but this happened

Code:
david@ubuntu:~$ cd /tmp; git clone https://github.com/boundarydevices/imx_usb_loader.git
Cloning into 'imx_usb_loader'...
remote: Counting objects: 110, done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 110 (delta 58), reused 105 (delta 53)
Receiving objects: 100% (110/110), 33.38 KiB, done.
Resolving deltas: 100% (58/58), done.
david@ubuntu:/tmp$ cd imx_usb_loader; make
cc -c imx_usb.c -o imx_usb.o -Wstrict-prototypes -Wno-trigraphs -pipe -ggdb `pkg-config --cflags libusb-1.0`
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb-1.0' found
imx_usb.c:33:20: fatal error: libusb.h: No such file or directory
compilation terminated.
make: *** [imx_usb.o] Error 1
david@ubuntu:/tmp/imx_usb_loader$
I tried deleting the /tmp/imx_usb_loader directory and doing it again, same result.
David28227 is offline   Reply With Quote