0
jesson wang

Hi Sir,

I make by cygwin under Win7 is no problem. But When I make under Ubuntu 16, it shows below error. Can anyone help?

===============================================

../sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0/project/realtek_ameba1_va0_example/GCC-RELEASE# make

--------------------------------------------------------------------------------
if [ ! -d ../../../tools/arm-none-eabi-gcc/4_8-2014q3 ] ; then tar -jxf ../../../tools/arm-none-eabi-gcc/gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2 -C ../../../tools/arm-none-eabi-gcc/ ; mv ../../../tools/arm-none-eabi-gcc/gcc-arm-none-eabi-4_8-2014q3 ../../../tools/arm-none-eabi-gcc/4_8-2014q3 ; fi
make[1]: Entering directory '/home/jessont/Ameba/sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0/project/realtek_ameba1_va0_example/GCC-RELEASE'
===========================================================
Build application
===========================================================
mkdir -p application/Debug/obj
mkdir -p application/Debug/bin
cp ../../../component/soc/realtek/8195a/misc/bsp/image/ram_1.r.bin application/Debug/obj/ram_1.r.bin
chmod 777 application/Debug/obj/ram_1.r.bin
../../../tools/arm-none-eabi-gcc/4_8-2014q3/bin//arm-none-eabi-objcopy --rename-section .data=.loader.data,contents,alloc,load,readonly,data -I binary -O elf32-littlearm -B arm application/Debug/obj/ram_1.r.bin application/Debug/obj/ram_1.r.o
make[1]: ../../../tools/arm-none-eabi-gcc/4_8-2014q3/bin//arm-none-eabi-objcopy: Command not found
application.mk:577: recipe for target 'prerequirement' failed
make[1]: *** [prerequirement] Error 127
make[1]: Leaving directory '/home/jessont/Ameba/sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0/project/realtek_ameba1_va0_example/GCC-RELEASE'
Makefile:16: recipe for target 'ram_all' failed
make: *** [ram_all] Error 2

jesson wang 回答了