Ah.  I see the problem.

The instructions aren't quite complete....


Try adding...

sudo apt-get install nesc msp430-tinyos


That should also pull in the package: msp430mcu-tinyos

If it doesn't then explicitly do:

sudo apt-get install msp430mcu-tinyos



Alternatively you could go to: http://tinyprod.net/repos/debian-dev/  and
follow the instructions there.    I know that works and it also has a more
up to date complier with some other important bugs fixed in the toolchain.


eric


On Thu, Dec 22, 2011 at 10:16 AM, Qian Li <qian...@uhasselt.be> wrote:

> Hello,
>
> I installed TinyOS on Ubuntu 11.10. When I tried to compile the Blink
> application under apps folder, I got the following errors. Seems a few
> header files are missing? Where can I download them? And where should I
> save them? I followed exactly the same installation procedure as stated
> here <http://docs.tinyos.net/tinywiki/index.php/Installing_from_SVN/GIT>.
>
> I issued "make telosb", then I got the following errors:
>
> mkdir -p build/telosb
>     compiling BlinkAppC to a telosb binary
> ncc -o build/telosb/main.exe  -Os -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=\"qian\" -DIDENT_HOSTNAME=\"ubuntu\"
> -DIDENT_USERHASH=0x43d5ecb1L -DIDENT_TIMESTAMP=0x4ef3707fL
> -DIDENT_UIDHASH=0xb2e07f9fL  BlinkAppC.nc -lm
> In file included from
> /home/qian/local/src/tinyos-2.x/tos/platforms/telosb/hardware.h:4,
>                  from
> /home/qian/local/src/tinyos-2.x/tos/system/SchedulerBasicP.nc:52:
> /home/qian/local/src/tinyos-2.x/tos/chips/msp430/msp430hardware.h:42:20:
> error: msp430.h: No such file or directory
> In file included from
> /home/qian/local/src/tinyos-2.x/tos/chips/msp430/msp430hardware.h:43,
>                  from
> /home/qian/local/src/tinyos-2.x/tos/platforms/telosb/hardware.h:4,
>                  from
> /home/qian/local/src/tinyos-2.x/tos/system/SchedulerBasicP.nc:52:
> /usr/bin/../lib/gcc/msp430/4.5.3/../../../../msp430/include/legacymsp430.h:33:22:
> error: iomacros.h: No such file or directory
> /usr/bin/../lib/gcc/msp430/4.5.3/../../../../msp430/include/legacymsp430.h:55:19:
> error: in430.h: No such file or directory
> In file included from
> /home/qian/local/src/tinyos-2.x/tos/platforms/telosb/hardware.h:4,
>                  from
> /home/qian/local/src/tinyos-2.x/tos/system/SchedulerBasicP.nc:52,
>                  from
> /home/qian/local/src/tinyos-2.x/tos/system/TinySchedulerC.nc:51:
> ...
> ...
>
>
> Best regards,
> Qian
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to