View Single Post
Old 09-05-2011, 12:11 AM   #1
ninjageckoattack
Junior Member
ninjageckoattack began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
Cross compiling for the Kindle - wrong glibc version

I have been trying to set up a machine to cross-compile for the Kindle. I have been able to make a simple "Hello world" program and run it, but anything more complicated than that seems to fail.
For example, trying to compile the kindle terminal program works, but running it gives the error:
"./myts.arm: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./myts.arm)"
I am using scratchbox2 and CodeSourcery's arm-none-linux-gnueabi toolchain to compile it. I have tried copying the /lib and /usr/lib directories from my kindle to my computer and setting gcc's sysroot to their location, but that results in the error that crt1.o and crti.o cannot be found. How do I compile using the Kindle's version of these libraries?
ninjageckoattack is offline   Reply With Quote