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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
3,169 Views
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

 

Tags (2)
0 Kudos
1 Solution
3,153 Views
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 

View solution in original post

0 Kudos
3 Replies
3,154 Views
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 Kudos
3,141 Views
1475849560
Contributor II

Thanks,

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

0 Kudos
3,165 Views
1475849560
Contributor II

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

1475849560_0-1603636245781.png

 

0 Kudos