Ghost2410 / wii-esc

Automatically exported from code.google.com/p/wii-esc
0 stars 0 forks source link

Compile error #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi there,

if I compile the project, either in CodeBlocks or using make -f Makefile.avr in 
Ubuntu 12.10 or current Arch Linux, I get the following compile error:

lib-avr/arduino/HardwareSerial.cpp:120:15: error: attempt to use poisoned 
"SIG_UART_RECV"
lib-avr/arduino/HardwareSerial.cpp:133:4: error: #error No interrupt handler 
for usart 0

Am I missing some configuration option or defines?

I'm using
avr-gcc (GCC) 4.7.0 in Ubuntu 12.10
avr-gcc (GCC) 4.7.2 in Arch Linux

Thanks, Julian

Original issue reported on code.google.com by jul...@oes.ch on 22 Jan 2013 at 2:58

GoogleCodeExporter commented 8 years ago
Hi,

I have commited the change. This should make avr-gcc 4.7.x happy.

Original comment by d.kayu...@gmail.com on 22 Jan 2013 at 6:01

GoogleCodeExporter commented 8 years ago

Original comment by d.kayu...@gmail.com on 22 Jan 2013 at 6:01

GoogleCodeExporter commented 8 years ago
Thanks for the fast answer and the fix!

Let me mention two more small things I had to change to make it compile because 
linux is case sensitive:

src/wii_esc_ng.cpp: Line 29:
#include "rx.h" instead of #include "RX.h"

Also CodeBlocks complains:

make: Makefile.avr: No such file or directory
make: *** No rule to make target `Makefile.avr'.  Stop.

so, I guess, either change the CodeBlocks config file or rename the 
makefile.avr to Makefile.avr

If you could fix that as well, that would be great, thanks!

Original comment by jul...@oes.ch on 22 Jan 2013 at 6:08

GoogleCodeExporter commented 8 years ago
Hi,

Tnx for your feedback. I have commited this changes. ;)

Original comment by d.kayu...@gmail.com on 22 Jan 2013 at 11:42

GoogleCodeExporter commented 8 years ago
Thanks a lot. Works fine now!

Original comment by jul...@oes.ch on 22 Jan 2013 at 11:44

GoogleCodeExporter commented 8 years ago

Original comment by d.kayu...@gmail.com on 22 Jan 2013 at 11:46