NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Support Forum » LED array code not compiling

February 24, 2013
by kimondo
kimondo's Avatar

Hi, I'm getting an error when compiling the project files for the LED array kit:

pi@raspberrypi ~/nerdkit/Code/ledarray_test $ make
make -C ../libnerdkits
make[1]: Entering directory `/home/pi/nerdkit/Code/libnerdkits'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/pi/nerdkit/Code/libnerdkits'
avr-gcc -g -Os -Wall -mmcu=atmega168  -Wl,-u,vfprintf -lprintf_flt -Wl,-u,vfscanf -lscanf_flt -lm -o ledarray.o ledarray.c ../libnerdkits/delay.o ../libnerdkits/lcd.o ../libnerdkits/uart.o
ledarray.c:94:8: error: attempt to use poisoned "SIG_OVERFLOW0"
ledarray.c: In function ‘SIG_OVERFLOW0’:
ledarray.c:94:1: warning: ‘SIG_OVERFLOW0’ appears to be a misspelled signal handler [enabled by default]
make: *** [ledarray.hex] Error 1

I'm using a Raspberry Pi - all the other demo code (e.g. the temp sensor) compiles with no problems at all - other than a minor step which i've detailed here

any ideas?

February 24, 2013
by Rick_S
Rick_S's Avatar

The ISR routine needs changed to the current method of interrupt routines. The SIG_OVERFLOW is being phased out see THIS page for details.


Post a Reply

Please log in to post a reply.

Did you know that you can build an analog amplifier with one transistor and a few resistors? Learn more...