make linux: collect2: fatal error: cannot find 'ld' compilation terminated.

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

make linux: collect2: fatal error: cannot find 'ld' compilation terminated.

ソリューションへジャンプ
2,837件の閲覧回数
1475849560
Contributor II

SDK: V1.9

linux source : linux-fslc-5.4-x-fslc

Error:

root@ve:/home/nxp/SDK/linux-fslc-5.4.x-fslc# make -j4
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
VDSO32L arch/powerpc/kernel/vdso32/vdso32.so.dbg
collect2: fatal error: cannot find 'ld'
compilation terminated.
make[4]: *** [arch/powerpc/kernel/vdso32/vdso32.so.dbg] Error 1
make[3]: *** [arch/powerpc/kernel/vdso32] Error 2
make[2]: *** [arch/powerpc/kernel] Error 2
make[2]: *** Waiting for unfinished jobs....
CHK include/generated/compile.h
make[1]: *** [arch/powerpc] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [sub-make] Error 2

1475849560_0-1603635683390.png

 

タグ(2)
0 件の賞賛
1 解決策
2,821件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

 

it looks that there is missing GNU linker (or path to it) on your system. I'm not familiar with this SW, did you follow build instructions (hope that there is such info as a part of package)? 

 

BR, 

Jiri 

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
2,822件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

 

it looks that there is missing GNU linker (or path to it) on your system. I'm not familiar with this SW, did you follow build instructions (hope that there is such info as a part of package)? 

 

BR, 

Jiri 

0 件の賞賛
2,809件の閲覧回数
1475849560
Contributor II

Thanks,

my environment can compile uBoot, but it can't compile Linux.

0 件の賞賛
2,833件の閲覧回数
1475849560
Contributor II

I get linux code from :  https://github.com/Freescale/linux-fslc

1475849560_0-1603636245781.png

 

0 件の賞賛