Hello everyone,
I have encountered a weired problem when I tried to compile Blink with
"make telosb".
Here's the first 2 lines of error message that I have received :
*****************************************************
mkdir -p build/telosb
compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -fnesc-separator=__
-Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c
-board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\"
-DIDENT_USERNAME=\"shouyanbo\" -DIDENT_HOSTNAME=\"yanbo-thinkpad\"
-DIDENT_USERHASH=0x38722225L -DIDENT_TIMESTAMP=0x4d5e7b73L
-DIDENT_UIDHASH=0xc5713b6fL BlinkAppC.nc -lm
/usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or
directory
/usr/lib/ncc/nesc_nx.h:14:26: error: sys/inttypes.h: No such file or
directory
*****************************************************
And later there's still a long list of syntax errors, like:
*****************************************************
/usr/lib/ncc/nesc_nx.h:235: syntax error before `__nesc_ntoh_uint8'
/usr/lib/ncc/nesc_nx.h:240: syntax error before `__nesc_hton_uint8'
/usr/lib/ncc/nesc_nx.h:242: warning: type defaults to `int' in
declaration of `base'
/usr/lib/ncc/nesc_nx.h:242: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:242: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:243: syntax error before `return'
/usr/lib/ncc/nesc_nx.h:246: syntax error before `__nesc_ntoh_leuint8'
/usr/lib/ncc/nesc_nx.h:251: syntax error before `__nesc_hton_leuint8'
/usr/lib/ncc/nesc_nx.h:253: warning: type defaults to `int' in
declaration of `base'
/usr/lib/ncc/nesc_nx.h:253: redefinition of `base'
/usr/lib/ncc/nesc_nx.h:242: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:253: `value' undeclared here (not in a function)
etc.
*****************************************************
I can't find the solution, it worked before, maybe it's because of the
system updates that I've installed.
But the "make micaz" still works.
I would like to know if someone has had and resolved this problem.
Thanks alot
P.S.
Ubuntu 10.04 Lucid Lynx
TinyOS 2.1.1
ncc 1.2.4
nescc 1.3.1
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
--
Yanbo SHOU
Ph.D Student - Cartoon Team
LIFC Computer Science Laboratory, UFC.
16 Route de Gray - 25000 Besançon
[email protected]
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help