Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
glitchtech@ronin:~/Desktop/Robotics/AxonOne$ make.dep/a2d.o.d:1: *** multiple target patterns. Stop.
glitchtech@ronin:~/Desktop/Robotics/AxonOne$ make buildCompiling a2d.c...make: *** No rule to make target `main.o', needed by `AxonOne.bin'. Stop.
glitchtech@ronin:~/Desktop/Robotics/AxonOne$ makeCompiling buffer.c...Compiling rprintf.c...Compiling timer640.c...Compiling uart4.c...Linking a2d.o buffer.o rprintf.o timer640.o uart4.o to AxonOne.bin.../usr/lib/gcc/avr/4.3.3/../../../avr/lib/avr5/crtm640.o: In function `__bad_interrupt':../../../../crt1/gcrt1.S:193: undefined reference to `main'make: *** [AxonOne.bin] Error 1
do you have a main.c file in your directory?
glitchtech@ronin:~/Desktop/Robotics/AxonOne$ makeCompiling a2d.c...Compiling main.c...Compiling buffer.c...Compiling rprintf.c...Compiling timer640.c...Compiling uart4.c...Linking a2d.o main.o buffer.o rprintf.o timer640.o uart4.o to AxonOne.bin.../usr/lib/gcc/avr/4.3.3/../../../avr/lib/avr5/crtm640.o: In function `__bad_interrupt':../../../../crt1/gcrt1.S:193: undefined reference to `main'make: *** [AxonOne.bin] Error 1
Looking into the error "../../../../crt1/gcrt1.S:193: undefined reference to `main'", it seems like the compiler cannot find my main function (in the file AxonOne.c), though the function does exist.
I'm able to program the Axon using a slightly modified version of Admin's makefile on Ubuntu.
QuoteI'm able to program the Axon using a slightly modified version of Admin's makefile on Ubuntu.Just in case someone else has the same problem, please share
Started by smani Software
Started by Luke Software
Started by taba93 Software
Started by Jdog Software