That's probably becouse the new msp430 toolchain (which will be the default for the upcoming 2.1.2) You eigther update your tinyos from svn (http://code.google.com/p/tinyos-main/source/checkout), or downgrade the toolchain with this repository:
deb http://tinyos.stanford.edu/tinyos/dists/ubuntu.old/ lucid main Sorry I didn't mentioned it earlier, I'm usually using the svn tinyos. Andris 2011/10/31 Newlyn Erratt <[email protected]>: > Andris, > > This did indeed work for micaz with a slight modification: > deb http://tinyos.stanford.edu/tinyos/dists/ubuntu lucid main > > The problem is that now I am getting errors with regards to the telosb > target: > These start with: > In component `HplMsp430GeneralIOC': > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax > error before `;' > > and continue on with a number of other compiler errors in this file. > Perhaps I need to double check and reinstall the packages but I am quite > sure I removed everything from the previous install. > > Any ideas? > > Thanks, > Newlyn > > 2011/10/31 András Bíró <[email protected]> >> >> Hi Newlyn, >> >> I think the avr toolchain isn't working correctly from the hinrg >> repository. Use this one instead: >> deb http://tinyos.stanford.edu/tinyos/dists/ lucid >> >> Andris >> >> On Mon, Oct 31, 2011 at 5:05 PM, Newlyn Erratt <[email protected]> >> wrote: >> > All, >> > >> > I have been attempting to get a fully working TinyOS system setup and >> > have >> > been having quite some difficulties. The problem is with being able to >> > compile for micaz. >> > >> > Starting with a freshly installed version of Ubuntu 10.04 I followed the >> > directions for installation on the tinyos website. There were initially >> > some minor issues such as updating the python version for make micaz >> > sim. >> > The big problem I am running into now is that make micaz completely >> > bombs >> > out: >> > >> > I get a list of errors starting with inttypes.h not being found. From >> > the >> > research I have done it appears that the avr libraries are not properly >> > installed even though everything seemed to work using apt. I've tried >> > using >> > both karmic and lucid as my repository with the same result. As >> > mentioned, >> > this is built on a fresh installation of ubuntu so there is no chance >> > that I >> > installed the Ubuntu version of the avr toolset. >> > >> > Does anyone have any ideas on how I can proceed with this? >> > >> > Thanks, >> > Newlyn >> > _______________________________________________ >> > Tinyos-help mailing list >> > [email protected] >> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
