I'm trying to compile Android KK for the Sabre SD Q.
I'm currently trying to run:
make bootimage BUILD_TARGET_DEVICE=sd
Which gives me the following errors:
myandroid/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/ld: cannot find crt1.o: No such file or directory
myandroid/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/ld: cannot find crti.o: No such file or directory
myandroid/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/ld: cannot find crtbegin.o: No such file or directory
These files are used by gcc in my understanding.
Could anybody help me resolve this error?
Thanks in advance!
Greetings
Jorg
Solved! Go to Solution.
The source of the error was located on my host system.
The .o files weren't present on my system, I fixed this by reinstalling libc6-dev libgcc-4.8-dev. (sudo apt-get install --reinstall xxxxxx)
Furthermore i created a symbolic link, but I'm not sure if this is required "sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64"
The source of the error was located on my host system.
The .o files weren't present on my system, I fixed this by reinstalling libc6-dev libgcc-4.8-dev. (sudo apt-get install --reinstall xxxxxx)
Furthermore i created a symbolic link, but I'm not sure if this is required "sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64"
This may help you.
12.04 - cannot find crti.o: No such file or directory - Ask Ubuntu