Hi Martin, I faced this problem a month ago. It seems as there was a problem in tinyos-2.1.1 source from the source I mean this as you mentioned. http://hinrg.cs.jhu.edu/tinyos
The solution is: install tinyos-2.1.1 from other website http://tinyos.stanford.edu/tinyos/dists/ubuntu I installed it and all errors went. just follow this instructions: — Open Terminal to edit sources.list file sudo gedit /etc/apt/sources.list add this line at the end of the file opened deb http://tinyos.stanford.edu/tinyos/dists/ubuntu karmic main “karmic” for all type of ubuntu distribution. Install aptitude package sudo apt-get install uptitude — Install autoconf package sudo apt-get install autoconf2.13 — Then type this command to install TinyOS-2.1.1 sudo aptitude install tinyos-2.1.1 — Maybe you will need to change the owner of the tinyos-2.1.1 folder sudo chown –R username:group /opt/tinyos-2.1.1/ change username and group by your user name and group. I hope it helps, Alshaboti Martin Stehlik wrote: > > Hi Alfonso! > > Thank you very much for your answer! I am afraid this will not solve my > problem when compiling for MicaZ. However, I have tried your solution. > Unfortunately when I install TinyOS exactly according to: > http://docs.tinyos.net/tinywiki/index.php/Installing_TinyOS_2.1.1#Two-step_install_on_your_host_OS_with_Debian_packages, > > then the problem is the compilation for MicaZ. > > What repositories do you use? Do you use http://hinrg.cs.jhu.edu/tinyos > or some other suggested in mailing list? > > Thank you very much! > Martin > > Alfonso Martinez wrote: >> Hi Martin! >> I had some similar problems when installing Tinyos in Ubuntu 11. >> Try adding: >> >> CFLAGS += -I/usr/msp430/include >> CFLAGS += -I/usr/lib/gcc/msp430/4.5.3/include (change 4.5.3 for the >> version you have) >> >> in the file "msp.rules" in "/opt/tinyos-2.x/support/make/msp" just >> before the line "OBJCOPY = msp430-objcopy" >> >> That worked for me, I'm hoping it also does for you. >> >> >> _______________________________________________ >> 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 > > -- View this message in context: http://old.nabble.com/Problem-with-TinyOS-2.1.1-on-Ubuntu-11.10-tp32849282p32875568.html Sent from the TinyOS - Help mailing list archive at Nabble.com. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
