LAVRTM
22.01.2013, 22:38
und wieder... habe die Lösung noch nicht ganz verstanden , bitte um eine genaue Erläuterung wie ich das Problem beheben kann.Ich will jetzt endlich mal mit Linux den Asuro zum laufen bringen.
Fehlermeldung ist:
make all
set -e; avr-gcc -MM -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=../../lib/asuro.lst ../../lib/asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
../../lib/asuro.c:222:9: error: attempt to use poisoned "SIG_OVERFLOW2"
../../lib/asuro.c:239:8: error: attempt to use poisoned "SIG_OUTPUT_COMPARE2"
../../lib/asuro.c:267:9: error: attempt to use poisoned "SIG_INTERRUPT1"
../../lib/asuro.c:301:9: error: attempt to use poisoned "SIG_ADC"
set -e; avr-gcc -MM -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
[ -s test.d ] || rm -f test.d
set -e; avr-gcc -MM -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=../../lib/asuro.lst ../../lib/asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
../../lib/asuro.c:222:9: error: attempt to use poisoned "SIG_OVERFLOW2"
../../lib/asuro.c:239:8: error: attempt to use poisoned "SIG_OUTPUT_COMPARE2"
../../lib/asuro.c:267:9: error: attempt to use poisoned "SIG_INTERRUPT1"
../../lib/asuro.c:301:9: error: attempt to use poisoned "SIG_ADC"
-------- begin --------
avr-gcc --version
avr-gcc (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
avr-gcc -c -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c -o test.o
avr-gcc -c -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=../../lib/asuro.lst ../../lib/asuro.c -o asuro.o
../../lib/asuro.c:222:9: error: attempt to use poisoned "SIG_OVERFLOW2"
../../lib/asuro.c: In function ‘SIG_OVERFLOW2’:
../../lib/asuro.c:222:1: warning: ‘SIG_OVERFLOW2’ appears to be a misspelled signal handler [enabled by default]
../../lib/asuro.c: At top level:
../../lib/asuro.c:239:8: error: attempt to use poisoned "SIG_OUTPUT_COMPARE2"
../../lib/asuro.c: In function ‘SIG_OUTPUT_COMPARE2’:
../../lib/asuro.c:239:1: warning: ‘SIG_OUTPUT_COMPARE2’ appears to be a misspelled signal handler [enabled by default]
../../lib/asuro.c: At top level:
../../lib/asuro.c:267:9: error: attempt to use poisoned "SIG_INTERRUPT1"
../../lib/asuro.c: In function ‘SIG_INTERRUPT1’:
../../lib/asuro.c:267:1: warning: ‘SIG_INTERRUPT1’ appears to be a misspelled signal handler [enabled by default]
../../lib/asuro.c: At top level:
../../lib/asuro.c:301:9: error: attempt to use poisoned "SIG_ADC"
../../lib/asuro.c: In function ‘SIG_ADC’:
../../lib/asuro.c:301:1: warning: ‘SIG_ADC’ appears to be a misspelled signal handler [enabled by default]
make: *** [asuro.o] Fehler 1
Änderungen an asuro.c bringen auch nicht viel. Die test.hex wird nicht erstellt. Was nun?
Fehlermeldung ist:
make all
set -e; avr-gcc -MM -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=../../lib/asuro.lst ../../lib/asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
../../lib/asuro.c:222:9: error: attempt to use poisoned "SIG_OVERFLOW2"
../../lib/asuro.c:239:8: error: attempt to use poisoned "SIG_OUTPUT_COMPARE2"
../../lib/asuro.c:267:9: error: attempt to use poisoned "SIG_INTERRUPT1"
../../lib/asuro.c:301:9: error: attempt to use poisoned "SIG_ADC"
set -e; avr-gcc -MM -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
[ -s test.d ] || rm -f test.d
set -e; avr-gcc -MM -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=../../lib/asuro.lst ../../lib/asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
../../lib/asuro.c:222:9: error: attempt to use poisoned "SIG_OVERFLOW2"
../../lib/asuro.c:239:8: error: attempt to use poisoned "SIG_OUTPUT_COMPARE2"
../../lib/asuro.c:267:9: error: attempt to use poisoned "SIG_INTERRUPT1"
../../lib/asuro.c:301:9: error: attempt to use poisoned "SIG_ADC"
-------- begin --------
avr-gcc --version
avr-gcc (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
avr-gcc -c -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c -o test.o
avr-gcc -c -mmcu=atmega8 -DF_CPU=8000000UL -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=../../lib/asuro.lst ../../lib/asuro.c -o asuro.o
../../lib/asuro.c:222:9: error: attempt to use poisoned "SIG_OVERFLOW2"
../../lib/asuro.c: In function ‘SIG_OVERFLOW2’:
../../lib/asuro.c:222:1: warning: ‘SIG_OVERFLOW2’ appears to be a misspelled signal handler [enabled by default]
../../lib/asuro.c: At top level:
../../lib/asuro.c:239:8: error: attempt to use poisoned "SIG_OUTPUT_COMPARE2"
../../lib/asuro.c: In function ‘SIG_OUTPUT_COMPARE2’:
../../lib/asuro.c:239:1: warning: ‘SIG_OUTPUT_COMPARE2’ appears to be a misspelled signal handler [enabled by default]
../../lib/asuro.c: At top level:
../../lib/asuro.c:267:9: error: attempt to use poisoned "SIG_INTERRUPT1"
../../lib/asuro.c: In function ‘SIG_INTERRUPT1’:
../../lib/asuro.c:267:1: warning: ‘SIG_INTERRUPT1’ appears to be a misspelled signal handler [enabled by default]
../../lib/asuro.c: At top level:
../../lib/asuro.c:301:9: error: attempt to use poisoned "SIG_ADC"
../../lib/asuro.c: In function ‘SIG_ADC’:
../../lib/asuro.c:301:1: warning: ‘SIG_ADC’ appears to be a misspelled signal handler [enabled by default]
make: *** [asuro.o] Fehler 1
Änderungen an asuro.c bringen auch nicht viel. Die test.hex wird nicht erstellt. Was nun?