Android KK: ld can't find crt1.o / crti.o / crtbegin.o

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Android KK: ld can't find crt1.o / crti.o / crtbegin.o

ソリューションへジャンプ
2,251件の閲覧回数
jorgdebont
Contributor I

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

ラベル(3)
タグ(1)
0 件の賞賛
1 解決策
1,445件の閲覧回数
jorgdebont
Contributor I

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"

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,446件の閲覧回数
jorgdebont
Contributor I

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"

0 件の賞賛
1,445件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport