--- In avrx@yahoogroups.com, gusimon <zm_gu@...> wrote:
> avr-gcc.exe -I"E:\AVRX\iMP3\..\RTOS\AvrX2.6g\avrx" -mmcu=atmega16 -Wall
-gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -O2
-funsigned-char -funsigned-bitfields -fshort-enums -MD -MP -MT Task_Def.o -MF
dep/Task_Def.o.d -c ../Task/Task
> _Def.c
>
> In file included from ../Task/Task_Def.c:19:
> ../Task/../avrx.inc:302: error: expected identifier or '(' before '.' token
> ../Task/../avrx.inc:327: error: expected identifier or '(' before '.' token
> In file included from ../Task/Task_Def.c:20:
> ../Task/../avrx.h:113: error: expected identifier or '(' before numeric
constant
> ../Task/../avrx.h:114: error: expected ';' before 'unsigned'
> ../Task/../avrx.h:125: error: expected identifier or '(' before numeric
constant
> ../Task/../avrx.h:126: error: expected ';' before 'struct'
> ../Task/../avrx.h:171: error: expected identifier or '(' before numeric
constant
> ../Task/../avrx.h:172: error: expected ';' before 'Mutex'
> ../Task/../avrx.h:206: error: expected identifier or '(' before numeric
constant
> ../Task/../avrx.h:207: error: expected ';' before 'Mutex'
> ../Task/../avrx.h:374: error: expected identifier or '(' before numeric
constant
> make: *** [Task_Def.o] Error 1
Looks like you are including avrx.inc and avrx.h in Task_Def.c. Should you only
include avrx.h?