[En-Nut-Discussion] WinAVR-20080512 -- same error as 20080411

JERRY RAPIER jerryrapier at msn.com
Tue May 20 21:21:12 CEST 2008


Running XP (sp3) on a P4 2.8 Ghz, 504 MB RAM.  Installed WinAVR-20080512.  Trying to compile Ethernut-4.4.1 with ethernut21b.conf using WinAVR.
I also get the _SLEEP_MODE_MASK undeclared error.

Configurator make output follows:
c:/ethernut-4.4.1/nut/arch/avr/dev/wlandrv.c: In function 'RxThread':
c:/ethernut-4.4.1/nut/arch/avr/dev/wlandrv.c:1005: warning: array subscript is above array bounds
c:/ethernut-4.4.1/nut/arch/avr/dev/adc.c: In function 'ADCStartLowNoiseConversion':
c:/ethernut-4.4.1/nut/arch/avr/dev/adc.c:329: error: '_SLEEP_MODE_MASK' undeclared (first use in this function)
c:/ethernut-4.4.1/nut/arch/avr/dev/adc.c:329: error: (Each undeclared identifier is reported only once
c:/ethernut-4.4.1/nut/arch/avr/dev/adc.c:329: error: for each function it appears in.)
make[1]: *** [avr/dev/adc.o] Error 1
make: *** [all] Error 2
11:56:57: ----- 'make all' failed with error 2 -----

Jerry




More information about the En-Nut-Discussion mailing list