after I simply typed "make micaz sim" and entered , the following appeared:
(I think there's something wrong with '_EXFNPTR', but I just can't figure it
out!)
------------------------------------------------------------------------------begin
shan...@felab-sj /opt/tinyos-2.x/apps/Blink
$ make micaz sim
mkdir -p simbuild/micaz
placing object files in simbuild/micaz
writing XML schema to app.xml
compiling BlinkAppC to object file sim.o
ncc -c -DUSE_DL_IMPORT -fpic -o simbuild/micaz/sim.o -g -O0 -tossim -fnesc-nido
-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -fnesc-gcc=gc
c -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -boa
rd=micasb -DDEFINED_TOS_AM_GROUP=0x22 -finline-limit=100000 -DIDENT_APPNAME=\"Bl
inkAppC\" -DIDENT_USERNAME=\"Shanjie\" -DIDENT_HOSTNAME=\"felab-sj\" -DIDENT_USE
RHASH=0x81ff1ed3L -DIDENT_TIMESTAMP=0x4c1b2aecL -DIDENT_UIDHASH=0x2feb3a16L -Wno
-nesc-data-race BlinkAppC.nc -fnesc-dump=components -fnesc-dump=variables -fne
sc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tag
s -fnesc-dumpfile=app.xml
In file included from /usr/include/stdio.h:45,
from /opt/tinyos-2.x/tos/lib/tossim/tos.h:45:
/usr/include/sys/reent.h:185: syntax error before `('
/usr/include/sys/reent.h:186: warning: no semicolon at end of struct or union
/usr/include/sys/reent.h:187: syntax error before `('
/usr/include/sys/reent.h: In function `_EXFNPTR':
/usr/include/sys/reent.h:240: syntax error before `('
/usr/include/sys/reent.h:241: warning: declaration of `_EXFNPTR' shadows global
declaration
/usr/include/sys/reent.h:187: warning: location of shadowed declaration
/usr/include/sys/reent.h: In function `_EXFNPTR':
/usr/include/sys/reent.h:242: syntax error before `('
/usr/include/sys/reent.h:243: warning: declaration of `_EXFNPTR' shadows global
declaration
/usr/include/sys/reent.h:240: warning: location of shadowed declaration
/usr/include/sys/reent.h: In function `_EXFNPTR':
/usr/include/sys/reent.h:244: syntax error before `('
/usr/include/sys/reent.h:244: warning: declaration of `_EXFNPTR' shadows global
declaration
/usr/include/sys/reent.h:242: warning: location of shadowed declaration
/usr/include/sys/reent.h: In function `_EXFNPTR':
/usr/include/sys/reent.h:245: syntax error before `('
/usr/include/sys/reent.h:245: warning: declaration of `_EXFNPTR' shadows global
declaration
/usr/include/sys/reent.h:244: warning: location of shadowed declaration
/usr/include/sys/reent.h: In function `_EXFNPTR':
/usr/include/sys/reent.h:264: syntax error before `('
/usr/include/sys/reent.h:264: warning: declaration of `_EXFNPTR' shadows global
declaration
/usr/include/sys/reent.h:245: warning: location of shadowed declaration
/usr/include/sys/reent.h:271: storage class specified for parameter `__FILE'
/usr/include/sys/reent.h:281: syntax error before `__FILE'
/usr/include/sys/reent.h:281: warning: no semicolon at end of struct or union
/usr/include/sys/reent.h:580: warning: tag _reent shadows enclosing struct/union
/enum
/usr/include/sys/reent.h:586: syntax error before `__FILE'
/usr/include/sys/reent.h:586: warning: no semicolon at end of struct or union
/usr/include/sys/reent.h:596: syntax error before `('
/usr/include/sys/reent.h:596: warning: `struct _rand48' declared inside paramete
r list
/usr/include/sys/reent.h:596: warning: its scope is only this definition or decl
aration,
/usr/include/sys/reent.h:596: warning: which is probably not what you want.
/usr/include/sys/reent.h:596: warning: `struct _reent' declared inside parameter
list
/usr/include/sys/reent.h:596: warning: `struct __sFILE64' declared inside parame
ter list
/usr/include/sys/reent.h:596: warning: `struct _glue' declared inside parameter
list
/usr/include/sys/reent.h:596: confused by earlier errors - bailing out
make: *** [sim-exe] Error 1
---------------------------------------------------------------------------------end
please help, thanks.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help