Hello All,
I'm porting TinyOS to jennic, and when I compile the Null application for my
new platform I have these errors:
_____________________________________________________
[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
$ make isense
mkdir -p build/isense
compiling NullAppC to a isense binary
ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-a
ll -target=isense -fnesc-cfile=build/isense/app.c -board= -DIDENT_PROGRAM_NAME=\
"NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" -DIDENT_USER_HA
SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x4752adbbL -DIDENT_UID_HASH=0x45ba5cbaL -I. -D
OR1K -g -Os -Wall -fomit-frame-pointer -msibcall -mno-entri -mno-multi -mno-setc
c -mno-cmov -mno-carry -mno-subb -mno-sext -mno-ror -mno-ff1 -mno-hard-div -mhar
d-mul -mbranch-cost=3 -msimple-mul -mabi=1 -march=ba1 -mredzone-size=4 -DPCB_DEV
KIT2 -DEMBEDDED -DLEAN_N_MEAN -DSINGLE_CONTEXT -DCHIP_RELEASE_5131 -Iinclude -I/
opt/tinyos-2.x/tos/chips/JN5139R1/Platform/DK2/Include -I./Source -I/opt/tinyos-
2.x/tos/chips/JN5139R1/Common/Include -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/
JN513xR1/Include -I -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/Common/Include Nu
llAppC.nc -lm
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc: In function 'SchedulerBasicP$Sche
duler$taskLoop':
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:144: error: '__nesc_atomic_t' unde
clared (first use in this function)
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:144: error: (Each undeclared ident
ifier is reported only once
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:144: error: for each function it a
ppears in.)
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:144: error: expected ';' before '_
_nesc_atomic'
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:150: warning: implicit declaration
of function '__nesc_atomic_end'
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:150: error: '__nesc_atomic' undecl
ared (first use in this function)
/opt/tinyos-2.x/tos/system/RealMainP.nc: In function 'main':
/opt/tinyos-2.x/tos/system/RealMainP.nc:53: error: '__nesc_atomic_t' undeclared
(first use in this function)
/opt/tinyos-2.x/tos/system/RealMainP.nc:53: error: expected ';' before '__nesc_a
tomic'
/opt/tinyos-2.x/tos/system/RealMainP.nc:77: error: '__nesc_atomic' undeclared (f
irst use in this function)
/opt/tinyos-2.x/tos/system/RealMainP.nc:80: warning: implicit declaration of fun
ction '__nesc_enable_interrupt'
make: *** [exe0] Error 1
[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
$
_____________________________________________________
I think that these errors are related to the Hardware Abstraction Architecture.
But I don't know how to fix them, can someone help me please ?
____________________________________________________________________________________________
Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs -
http://mail.yahoo.fr
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help