Hello,
I am currently working on a new robot using the Axon. When my Windows XP system still function, I was able to program the Axon easily. I am now on a Ubuntu system (9.10) and am having issues. I looked around first and found the topic "
HOW-TO Axon with Ubuntu". Following the guide there, I've managed to get all the components set up. I can even talk to the Axon using minicom.
My issue arises during the building of the hex file. I try to use the default makefile included in Admin's source code and I get the following message"
glitchtech@ronin:~/Desktop/Robotics/AxonOne$ make
.dep/a2d.o.d:1: *** multiple target patterns. Stop.
When I try to use the shorter makefile in the topic, I get this error:
glitchtech@ronin:~/Desktop/Robotics/AxonOne$ make build
Compiling a2d.c...
make: *** No rule to make target `main.o', needed by `AxonOne.bin'. Stop.
If I remove the reference to main.o then I get:
glitchtech@ronin:~/Desktop/Robotics/AxonOne$ make
Compiling 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
I'm not having any luck figuring out what to do now. Anyone able to help me work these kinks out?
Thanks for any help. I guess if worse comes to worse, I can see about moving back to windows