You need ubuntu package 'build_essentials'

do
sudo apt-get install build-essential
sudo apt-get install alien
sudo alien -i avarice-2.4-1.i386.rpm
sudo alien -i avr-insight-6.3-1.i386.rpm
sudo alien -i avr-binutils-2.15tinyos-3.i386.rpm
sudo alien -i avr-libc-1.2.3-1.i386.rpm
sudo alien -i avr-gcc-3.4.3-1.i386.rpm
sudo alien -i msp430tools-base-0.1-20050607.i386.rpm
sudo alien -i msp430tools-binutils-2.16-20050607.i386.rpm
sudo alien -i msp430tools-gcc-3.2.3-20050607.i386.rpm
sudo alien -i msp430tools-libc-20050308cvs-20050608.i386.rpm
sudo alien -i msp430tools-python-tools-1.0-1.noarch.rpm
sudo alien -i nesc-1.2.8a-1.i386.rpm
sudo alien -i tinyos-tools-1.2.4-2.i386.rpm

Thanks

- jpaek

Derek Tarm wrote:
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

--

Jeongyeup Paek
Ph.D. student
Embedded Networks Laboratory
Department of Computer Science
University of Southern California
http://enl.usc.edu/~jpaek
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to