TinyOS Learning-Ubuntu 12.04LTS installation TinyOS 2.1.1 After make TELOSB error solution

Source: Internet
Author: User

I installed the TinyOS in the 64-bit version of Ubuntu 12.04LTS, but the final compilation was successful, but all the Java tools were not available. This time I re-installed a 32-bit Ubuntu system. This is sure to be installed.


But I found an error after I finished installing all the tutorials.

When make TELOSB,


> 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=\ "cj\"-dident_hostname=\ "reddawn\" >-dident_userhash=0x44c45aa7l-dident_timestamp=0x4ca60354l >-dident_uidhash=0x630b51c3l blinkappc.nc-lm > in file included from >/opt/tinyos-2.1.1/tos/platforms/telosb/platformledsc.nc:12, > 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/telosb/platformledsc.nc:22:cannot Find > ' Port54 ' >/opt/tinyos-2.1.1/tos/platforms/telosb/ Platformledsc.nc:25:cannot Find > ' Port55 ' >/opt/tinyos-2.1.1/tos/platforms/telosb/platformledsc.nc:28: Cannot find > ' Port56 ' > Make: * * [EXE0] Error 1

I have encountered these errors before, the solution is because msp430 this error. Because Ubuntu 12.04 installs TinyOS when the version is relatively high, therefore compiles the error.

Workaround:

1. First: dpkg-l | grep "msp430"

You should see 6 packages including:

msp430-binutils-tinyosmsp430-gcc-tinyosmsp430-libc-tinyosmsp430-tinyosmsp430mcu-tinyostinyos-required-msp430

2. Uninstall first, such as the following command:

Just use these two to do it.


3. Download the old version of msp430

Url:

http://tinyos.stanford.edu/tinyos/dists/old/ubuntu.old/pool/main/m/
There are 6 packages under this URL, all downloaded ~ to download the corresponding 32-bit version.


4. Installation

sudo dpkg-i msp430-gcc-tinyos_3.2.3-20080806_i386.debsudo dpkg-i msp430-tinyos-base_2.1-20080806_all.deb sudo dpkg-i Msp430-binutils-tinyos_2.17-20080806_i386.debsudo dpkg-i Msp430-gcc-tinyos_3.2.3-20080806_i386.debsudo Dpkg-i Msp430-libc-tinyos_20060801cvs-20080806_i386.deb sudo dpkg-i msp430-tinyos_2.1-20080806_all.debsudo dpkg-i Msp430-optional-tinyos_2.1-20090326_all.deb


Then make TELOSB will not report this mistake.

TinyOS Learning-Ubuntu 12.04LTS installation TinyOS 2.1.1 After make TELOSB error solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.