[Openembedded-users] do_compile failed with missing arm-linux-ar
Michael Fung
mike at 3open.org
Tue Oct 12 02:16:58 UTC 2010
Solved. The vendor changed the $CROSS_COMPILER in the top Makefile.
Thanks.
On 2010/10/9 下午 05:35, Michael Fung wrote:
> Dear all,
>
>
> I tried to build the kernel using the vendor supplied kernel source tree.
>
> I put the vendor kernel tree into the original build folder:
> /oe/build/tmp/work/mini6410-angstrom-linux-gnueabi/linux-2.6.28-r15/
>
> kernel .config is ready.
>
> Then run "bitbake -c compile virtual/kernel"
>
> The do_compile task failed. Below is the log.do_compile:
>
> NOTE: make include/linux/version.h CC=arm-angstrom-linux-gnueabi-gcc
> -mno-thumb-interwork -mno-thumb LD=arm-angstrom-linux-gnueabi-ld
> CHK include/linux/version.h
> NOTE: make uImage CC=arm-angstrom-linux-gnueabi-gcc
> -mno-thumb-interwork -mno-thumb LD=arm-angstrom-linux-gnueabi-ld
> CHK include/linux/version.h
> make[1]: `include/asm-arm/mach-types.h' is up to date.
> CHK include/linux/utsrelease.h
> SYMLINK include/asm -> include/asm-arm
> CALL scripts/checksyscalls.sh
> <stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
> <stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
> <stdin>:1321:2: warning: #warning syscall pselect6 not implemented
> <stdin>:1325:2: warning: #warning syscall ppoll not implemented
> <stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
> CHK include/linux/compile.h
> LD arch/arm/mach-s3c6400/built-in.o
> /bin/sh: /usr/local/arm/4.2.2-eabi/usr/bin/arm-linux-ar: No such file or
> directory
> make[1]: *** [arch/arm/mach-s3c6400/built-in.o] Error 1
> make: *** [arch/arm/mach-s3c6400] Error 2
> FATAL: oe_runmake failed
> ----
>
> The interesting output is:
> "/bin/sh: /usr/local/arm/4.2.2-eabi/usr/bin/arm-linux-ar: No such file"
>
> But, I cannot find any file that mention this binary in the tree.
>
> Any ideas please?
>
>
> Rgds,
> Michael
More information about the Openembedded-users
mailing list