Hi, all. I newly install the Ubuntu 7.04 and then install TOS2 by these
command:
sudo apt-get install tinyos-msp430
sudo apt-get install tinyos-avr
and then set some environment variable
'make micaz' and 'make telosb' work fine.
but 'make micaz sim' got a nearly 1000 lines of errors. I am trying hard to
solve them, but it seems of no help.
Here is some of the message:

>   sudo make micaz sim
> mkdir -p build/micaz
>   placing object files in build/micaz
>   writing XML schema to app.xml
>   compiling BlinkAppC to object file sim.o
> ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim
> -fnesc-nido-tosnodes=1000 -fnesc-simulate
> -fnesc-nido-motenumber=sim_node\(\)   -finline-limit=100000 -Wall -Wshadow
> -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
> -DIDENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"root\"
> -DIDENT_HOSTNAME=\"derek-laptop\" -DIDENT_USER_HASH=0xfd6d4b72L
> -DIDENT_UNIX_TIME=0x4710d18eL -DIDENT_UID_HASH=0xeb75fb3aL
> -Wno-nesc-data-race BlinkAppC.nc   -fnesc-dump=components
> -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs
> -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
> /usr/lib/ncc/nesc_nx.h:16:22: error: inttypes.h: No such file or directory
> <commandline>: failed to preprocess /usr/lib/ncc/nesc_nx.h
> /opt/tinyos-2.x/tos/lib/tossim/tos.h:41:22: error: inttypes.h: No such
> file or directory
> /opt/tinyos-2.x/tos/lib/tossim/tos.h:49:20: error: string.h: No such file
> or directory
> /opt/tinyos-2.x/tos/lib/tossim/tos.h:50:20: error: stdlib.h: No such file
> or directory
> /opt/tinyos-2.x/tos/lib/tossim/tos.h:51:18: error: math.h: No such file or
> directory
> /opt/tinyos-2.x/tos/lib/tossim/tos.h:53:19: error: ctype.h: No such file
> or directory
> /opt/tinyos-2.x/tos/lib/tossim/tos.h:54:19: error: stdio.h: No such file
> or directory
> In file included from /opt/tinyos-2.x/tos/lib/tossim/tos.h:88:
> /opt/tinyos-2.x/tos/lib/tossim/sim_tossim.c:39:22: error: sys/time.h: No
> such file or directory
>
> Is there somebody knowing how to solve this? I've gotten stuck in it
nearly a week!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to