Jump to content

Recommended Posts

Posted (edited)

If you have ever compiled buildroot from Amlogic, please help me. I am trying to learn develop app on amlogic based device. 

 

First I was getting compile error on 64bit Ubuntu 16.04. 

Something like this. Even though there was a file, 'bash' couldn't find  or run.

/bin/bash: /root/buildroot/x86/xxxx-gcc: No such file or directory

Thinking it's something to do with 64 bit OS, I switched to 32 bit Ubuntu 16.04.

 

However after about 2 hours I'm getting following error.

/bin/bash: /root/buildroot_openlinux/output/meson8b_m201/host/usr/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: No such file or directory
/bin/bash: /root/buildroot_openlinux/output/meson8b_m201/host/usr/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
/bin/bash: /root/buildroot_openlinux/output/meson8b_m201/host/usr/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
/bin/bash: /root/buildroot_openlinux/output/meson8b_m201/host/usr/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: No such file or directory
/bin/bash: /root/buildroot_openlinux/output/meson8b_m201/host/usr/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-ld: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Not a git repository
To compare two paths outside a working tree:
usage: git diff [--no-index] <path> <path>
fatal: Not a git repository (or any of the parent directories): .git
/bin/bash: /root/buildroot_openlinux/output/meson8b_m201/host/usr/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
/bin/bash: /root/buildroot_openlinux/output/meson8b_m201/host/usr/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
/bin/bash: /root/buildroot_openlinux/output/meson8b_m201/host/usr/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
/bin/bash: /root/buildroot_openlinux/output/meson8b_m201/host/usr/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
make[2]: *** No rule to make target '/root/buildroot_openlinux/output/meson8b_m201/build/uboot-next/build/firmware.bin', needed by '/root/buildroot_openlinux/output/meson8b_m201/build/uboot-next/build/api/libapi.o'.  Stop.
make[2]: *** Waiting for unfinished jobs....
arm-none-eabi-gcc -DDO_DEPS_ONLY \
        -g  -Os   -D__KERNEL__ -I/root/buildroot_openlinux/output/meson8b_m201/build/uboot-next/build/include2 -I/root/buildroot_openlinux/output/meson8b_m201/build/uboot-next/build/include -I/root/buildroot_openlinux/output/meson8b_m201/build/uboot-next/include -fno-builtin -ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_ARM -D__ARM__           -Wall -Wstrict-prototypes    \
        -o /root/buildroot_openlinux/output/meson8b_m201/build/uboot-next/build/lib/asm-offsets.s /root/buildroot_openlinux/output/meson8b_m201/build/uboot-next/lib/asm-offsets.c -c -S
/bin/bash: /root/buildroot_openlinux/output/meson8b_m201/host/usr/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: No such file or directory
Makefile:805: recipe for target '/root/buildroot_openlinux/output/meson8b_m201/build/uboot-next/build/lib/asm-offsets.s' failed
make[2]: *** [/root/buildroot_openlinux/output/meson8b_m201/build/uboot-next/build/lib/asm-offsets.s] Error 127
package/pkg-generic.mk:216: recipe for target '/root/buildroot_openlinux/output/meson8b_m201/build/uboot-next/.stamp_built' failed
make[1]: *** [/root/buildroot_openlinux/output/meson8b_m201/build/uboot-next/.stamp_built] Error 2
/root/buildroot_openlinux/output/meson8b_m201/Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2

Again those files exists. File command shows following.

arm-none-eabi-gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=0c937a9bf52dcb3a4e5ced5efc41213730d23b54, stripped

Am I  doing anything wrong? Any input will be appreciated. 

 

Thanks in advance.

Edited by dsh
Fixed spelling
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines