Go Down

Topic: 1.6.13 compiler error (Read 733 times) previous topic - next topic

prhunt

This is my first foray into the Arduino realm.  I am using a Sparkfun Pro Micro, and have installed the Arduino-distributed 64bit linux IDE "blob" on OpenSuse 13.1.

After installing the IDE and setting up the Sparkfun boards through Board Manager, I attempted to compile the default template app as a quick test.  (The Pro Micro enumerates and is accessed at /dev/ttyACM0)

The following is the result of the test compile.  I selected verbose output for this run.

Code: [Select]
Arduino: 1.6.13 (Linux), Board: "SparkFun Pro Micro, ATmega32U4 (5V, 16 MHz)"

/home/paul/arduino-1.6.13/arduino-builder -dump-prefs -logger=machine -hardware /home/paul/arduino-1.6.13/hardware -hardware /home/paul/.arduino15/packages -tools /home/paul/arduino-1.6.13/tools-builder -tools /home/paul/arduino-1.6.13/hardware/tools/avr -tools /home/paul/.arduino15/packages -built-in-libraries /home/paul/arduino-1.6.13/libraries -libraries /home/paul/Arduino/libraries -fqbn=sparkfun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10613 -build-path /tmp/arduino_build_287591 -warnings=default -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/home/paul/arduino-1.6.13/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/home/paul/arduino-1.6.13/hardware/tools/avr -verbose /tmp/untitled1460703230.tmp/sketch_dec17a/sketch_dec17a.ino
/home/paul/arduino-1.6.13/arduino-builder -compile -logger=machine -hardware /home/paul/arduino-1.6.13/hardware -hardware /home/paul/.arduino15/packages -tools /home/paul/arduino-1.6.13/tools-builder -tools /home/paul/arduino-1.6.13/hardware/tools/avr -tools /home/paul/.arduino15/packages -built-in-libraries /home/paul/arduino-1.6.13/libraries -libraries /home/paul/Arduino/libraries -fqbn=sparkfun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10613 -build-path /tmp/arduino_build_287591 -warnings=default -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/home/paul/arduino-1.6.13/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/home/paul/arduino-1.6.13/hardware/tools/avr -verbose /tmp/untitled1460703230.tmp/sketch_dec17a/sketch_dec17a.ino
Using board 'promicro' from platform in folder: /home/paul/arduino-1.6.13/hardware/sparkfun/avr
Using core 'arduino' from platform in folder: /home/paul/arduino-1.6.13/hardware/arduino/avr
Detecting libraries used...
"/home/paul/arduino-1.6.13/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10613 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/home/paul/arduino-1.6.13/hardware/arduino/avr/cores/arduino" "-I/home/paul/arduino-1.6.13/hardware/sparkfun/avr/variants/promicro" "/tmp/arduino_build_287591/sketch/sketch_dec17a.ino.cpp" -o "/dev/null"
Generating function prototypes...
"/home/paul/arduino-1.6.13/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10613 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/home/paul/arduino-1.6.13/hardware/arduino/avr/cores/arduino" "-I/home/paul/arduino-1.6.13/hardware/sparkfun/avr/variants/promicro" "/tmp/arduino_build_287591/sketch/sketch_dec17a.ino.cpp" -o "/tmp/arduino_build_287591/preproc/ctags_target_for_gcc_minus_e.cpp"
"/home/paul/arduino-1.6.13/tools-builder/ctags/5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/tmp/arduino_build_287591/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/home/paul/arduino-1.6.13/hardware/tools/avr/bin/avr-g++" -c -g -Os  -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10613 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/home/paul/arduino-1.6.13/hardware/arduino/avr/cores/arduino" "-I/home/paul/arduino-1.6.13/hardware/sparkfun/avr/variants/promicro" "/tmp/arduino_build_287591/sketch/sketch_dec17a.ino.cpp" -o "/tmp/arduino_build_287591/sketch/sketch_dec17a.ino.cpp.o"
as: unrecognized option '-mmcu=avr5'
exit status 1
Error compiling for board SparkFun Pro Micro.


Could someone shed some light on why this compile is failing?

Thanks, Paul Hunt

Danois90

Check out these links:

http://forum.arduino.cc/index.php?topic=439617.0
https://hackingmajenkoblog.wordpress.com/2016/08/24/diagnosing-arduino-problems-in-linux/
Instead of mocking what's wrong, teach what's right! ;)
When you get help, remember to thank the helper and give some karma!
Please, do NOT send me any private messages!!

prhunt

Thank you!  I have fixed the compiler failure by downloading the 1.6.14 boards through Board Manager.

Cheers, Paul


Go Up