Go Down

Topic: [SOLVED]bash: ./arm-none-eabi-g++: No such file or directory (Read 8370 times) previous topic - next topic


Mar 28, 2014, 02:05 am Last Edit: Mar 28, 2014, 06:23 pm by AntennaSmith Reason: 1
I downloaded and extracted Arduino 1.5.6-r2 on my Linux Mint Debian AMD64 machine so I can program my Arduino Due

arm-none-eabi-g++ exists in the hardware/tools/g++_arm_none_eabi  and I think this error message is coming from it.

My Arduino IDE error details are:

Arduino: 1.5.6-r2 (Linux), Board: "Arduino Due (Programming Port)"

/opt/arduino-1.5.6-r2/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++ -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=156 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON -DUSB_MANUFACTURER="Unknown" -DUSB_PRODUCT="Arduino Due" -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/system/libsam -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/system/CMSIS/CMSIS/Include/ -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/system/CMSIS/Device/ATMEL/ -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/cores/arduino -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/variants/arduino_due_x /tmp/build3031945171787783428.tmp/sketch_mar27a.cpp -o /tmp/build3031945171787783428.tmp/sketch_mar27a.cpp.o

I tired, but failed to find what isn't working.  I expect its a missing dependency, but don't know which one.

Can anyone offer help?



Hello AntennaSmith,
Your verbose output is truncated and incomplete. Please, try to post the error lines so we  can help you to determine the problem.


There really isn't any error messages as the compiler isn't running.

In the status bar I get:

Code: [Select]
Cannot run program "/opt/arduino-1.5.6-r2/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++": error=2, No such file or directory

In the build window below it I get:

Code: [Select]
Arduino: 1.5.6-r2 (Linux), Board: "Arduino Due (Programming Port)"

/opt/arduino-1.5.6-r2/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++ -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=156 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON -DUSB_MANUFACTURER="Unknown" -DUSB_PRODUCT="Arduino Due" -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/system/libsam -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/system/CMSIS/CMSIS/Include/ -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/system/CMSIS/Device/ATMEL/ -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/cores/arduino -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/variants/arduino_due_x /tmp/build7025964430391194383.tmp/sketch_mar28a.cpp -o /tmp/build7025964430391194383.tmp/sketch_mar28a.cpp.o

I checked and in the referenced directory there is a arm-none-eabi-g++ executable.

When I try to run it in that directory from a cmd terminal I get:

Code: [Select]
bash: ./arm-none-eabi-g++: No such file or directory

Doesn't mater if I'm root or a normal user

It seems as if an arm-none-eabi-g++ dependency is missing.   If I change the board type to Uno I do not get the error, but its calling avr-g++ instead of arm-none-eabi-g++

I have java-6 and java-7 on the distribution.

Any help is appreciated....

Go Up