Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

LunaMod, DCO, Delay - Compile Failure 'multiple definition of `__vector_5', ADSR Ok?

edited December 2017 in General

QUESTION: What simple mistake am I making resulting in compile error on some MiniMO programs (e.g. LunaMod_Generator)??

WHY: I get an error compiling LunaMod_Generator and despite my efforts have not been able to resolve. Other MiniMO programs compile fine.

Failure to compile occurs on both multiple operating systems (OSX and Ubuntu). I am using Arduino version 1.8.5 on all platforms. I have spent considerable time studying and unsuccessful identifying my error so reaching out for help.


wiring.c.o (symbol from plugin): In function delayMicroseconds:
(.text+0x0): multiple definition of `__vector_5'
/var/folders/m_/x9s6nywj7jvfz26f1_6j317r0000gp/T/arduino_build_729527/sketch/Amplitude_Modulation_Generator.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board ATtiny25/45/85.

WHICH MINIMO PROGRAMS CAN I SUCCESSFULLY COMPILE? (Sharing to assist trouble-shooting :--)

AM_Generator /OK
Display Example /OK
Low Power Beacon /OK
LunaMod_Generator /FAIL
Noise_Generator /OK
Phaser /FAIL
Sequencer /OK
Sequencer_MIDI /FAIL
Tuned_Controller /OK

thank you and wonderful work!


  • Hi there!

    It's not your mistake at all! Most likely you have the same problem as related in this post.

    At the time being I'm supporting IDE 1.5.7, so please try again using that version of the IDE and let me know it it works.

    In case you haven't yet, take a look at the tutorial I wrote -it should be helpful :smile:

    Also, my apologies. I will rewrite the tutorial and make it easier to follow, and I'll make clear that 1.5.7 is THE version to work with miniMO at the moment.

    I'm very thankful that you put in the time to try all the programs and send a detailed report. Thanks!

  • Thank you. I was successful compiling using Arduino IDE 1.5.7. I followed your well written tutorial initially but did not glean only Arduino IDE version 1.57. Working now! Thank you.

  • Cool! nice to know it worked :D

Sign In or Register to comment.