[En-Nut-Discussion] Bug when compiling in the sourcetree

Ole Reinhardt ole.reinhardt at kernelconcepts.de
Tue Aug 16 18:57:54 CEST 2005


Hi all,

when compiling in the sourcetree the following bug occurs (compiling for
atmega128)

Is this a bug or a "feature"?

When defining NUT_CPU_FREQ in UserConf.mk everything works fine.

Bye,

Ole


avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall
-Werror -Wstrict-prototypes -Wa,-ahlms=ostimer.lst -D__HARVARD_ARCH__
-I../include  avr/dev/ostimer.c -o avr/dev/ostimer.o
avr/dev/ostimer.c:142:2: #error Define NUT_CPU_FREQ to compile for this
CPU.
avr/dev/ostimer.c: In function `NutComputeCpuClock':
avr/dev/ostimer.c:289: error: `ASSR_BIT' undeclared (first use in this
function)avr/dev/ostimer.c:289: error: (Each undeclared identifier is
reported only once
avr/dev/ostimer.c:289: error: for each function it appears in.)
avr/dev/ostimer.c:295: error: `TCCR_AFLAGS' undeclared (first use in
this function)
avr/dev/ostimer.c:298: error: `ASSR_BUSY' undeclared (first use in this
function)
avr/dev/ostimer.c: In function `NutRegisterTimer':
avr/dev/ostimer.c:332: error: `ASSR_BIT' undeclared (first use in this
function)avr/dev/ostimer.c:339: error: `TCCR_FLAGS' undeclared (first
use in this function)
avr/dev/ostimer.c:346: error: `ASSR_BUSY' undeclared (first use in this
function)
make[1]: *** [avr/dev/ostimer.o] Fehler 1
make[1]: Verlasse Verzeichnis »/home/ole/work/avr/ethernut/nut/arch«
make: *** [all] Fehler 2


-- 
kernel concepts    Tel: +49-271-771091-14
Dreisbachstr. 24   Fax: +49-271-771091-19
D-57250 Netphen    E+ : +49-177-7420433
--





More information about the En-Nut-Discussion mailing list