I think your gcc is still 4.5.3 (check command: msp430-gcc --version), if it is so, then I suggest you to change it to msp430-46/47
To do so, u have to do something mentioned on this link: http://tinyprod.net/debian-dev/ but in your case, u just add the deb http://tinyprod.net/repos/debianmsp430-46 main to your sources.list do sudo apt-get update if you see any public/private key warnings, that I guess you should, install the key using the following lines (these details are given on the link above) $ gpg --keyserver keyserver.ubuntu.com --recv-keys 34EC655A $ gpg -a --export 34EC655A | sudo apt-key add - now upgrade your compiler with the following command: sudo apt-get install msp430-46 (or u can also install 47) finally, export the path in your .bashrc file export PATH=/opt/msp430-47/bin:$PATH I think that would be enough! Regards, Wasif! On Thu, Jan 3, 2013 at 1:35 PM, sayantani saha <[email protected]>wrote: > > Hi, > > Thanks. Your solution helps to overcome the above mentioned problem. But > after the installation of tinyos-2.1.1 and running the make telosb command > , > tinyos is not working properly. Following error is getting generated: > > mkdir -p build/telosb > compiling BlinkAppC to a telosb binary > ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -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=\"mousumi\" -DIDENT_HOSTNAME=\"mousumi-HP-Comp\" > -DIDENT_USERHASH=0xf3d3ebb2L -DIDENT_TIMESTAMP=0x50e6cb9cL > -DIDENT_UIDHASH=0x201bf695L BlinkAppC.nc -lm > In file included from > /opt/tinyos-2.1.1/tos/chips/msp430/msp430hardware.h:29, > from /opt/tinyos-2.1.1/tos/platforms/telosb/hardware.h:4, > from /opt/tinyos-2.1.1/tos/system/SchedulerBasicP.nc:41: > /usr/bin/../lib/gcc/msp430/4.5.3/../../../../msp430/include/io.h:1:2: > warning: #warning <io.h> is deprecated, please include <msp430.h> > In file included from > /opt/tinyos-2.1.1/tos/chips/msp430/msp430hardware.h:30, > from /opt/tinyos-2.1.1/tos/platforms/telosb/hardware.h:4, > from /opt/tinyos-2.1.1/tos/system/SchedulerBasicP.nc:41: > /usr/bin/../lib/gcc/msp430/4.5.3/../../../../msp430/include/signal.h:43:2: > warning: #warning msp430-libc <signal.h> deprecated, using <legacymsp430.h> > In file included from > /opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:38, > from /opt/tinyos-2.1.1/tos/system/LedsC.nc:38, > from BlinkAppC.nc:45: > In component `HplMsp430GeneralIOC': > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax > error before `;' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:321: cannot > find `P30' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:322: cannot > find `P31' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:323: cannot > find `P31' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:324: cannot > find `P32' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:325: cannot > find `P33' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:326: cannot > find `P33' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:327: cannot > find `P34' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:328: cannot > find `P35' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:330: cannot > find `P50' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:331: cannot > find `P51' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:332: cannot > find `P52' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:333: cannot > find `P53' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:334: cannot > find `P36' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:335: cannot > find `P37' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:337: cannot > find `P60' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:338: cannot > find `P61' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:339: cannot > find `P62' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:340: cannot > find `P63' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:341: cannot > find `P64' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:342: cannot > find `P65' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:343: cannot > find `P66' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:344: cannot > find `P67' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:346: cannot > find `P66' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:347: cannot > find `P67' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:349: cannot > find `P67' > /opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:350: cannot > find `P57' > In component `PlatformLedsC': > /opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:48: cannot find > `Port54' > /opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:51: cannot find > `Port55' > /opt/tinyos-2.1.1/tos/platforms/telosa/PlatformLedsC.nc:54: cannot find > `Port56' > make: *** [exe0] Error 1 > > Can you please help me out? > > > András Bíró-3 wrote: > > > > Hi, > > > > Don't use the hardy repository on a much newer system, use this: > > > > deb http://tinyos.stanford.edu/tinyos/dists/ubuntu natty main > > > > since currently that's the newest. > > > > Andras Biro > > Unicomp Ltd. > > http://ucmote.com > > > > > > On Thu, Dec 27, 2012 at 10:50 AM, mousumi saha > > <[email protected]>wrote: > > > >> Hi, > >> > >> I am trying to install tinyos-2.1.0 on ubuntu12.04 from the source > >> > >> deb http://tinyos.stanford.edu/tinyos/dists/ubuntu hardy main. > >> > >> But its showing that : > >> Some packages could not be installed. This may mean that you have > >> > >> requested an impossible situation or if you are using the unstable > >> distribution that some required packages have not yet been created > >> or been moved out of Incoming. > >> The following information may help to resolve the situation: > >> > >> The following packages have unmet dependencies: > >> tinyos-2.1.0 : Depends: tinyos-required-all but it is not going to be > >> installed or > >> tinyos-required-msp430 but it is not going to > be > >> installed or > >> > >> tinyos-required-avr but it is not going to be > >> installed > >> E: > >> Unable to correct problems, you have held broken packages. > >> > >> Please help me to solve the problem. > >> > >> > >> _______________________________________________ > >> 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/broken-package-problem-tp34838583p34854838.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 > -- Wasif Masood
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
