I tried compiling with Linaro that comes with Ubuntu 12.04 again (sudo apt-get install gcc-arm-linux-gnueabi g++-arm-linux-gnueabi). I used Makefile from my previous post. Readelf showed problems with GLIBC_2.11 and GLIBC_2.15. I added -fno-stack-protector and -U_FORTIFY_SOURCE to both CFLAGS and CXXFLAGS. This time readelf was happy, but it didn't work on the kindle - Segmentation fault. Any ideas?
Oh, and Linaro doesn't need -D_GNU_SOURCE either. It doesn't hurt though.
Last edited by Kai771; 09-25-2012 at 03:32 PM.
|