Deploying TinyOS 2.1.1 on Ubuntu 11.10 x64

by Agus Kurniawan 23. November 2011 15:23

I have already installed and deployed TinyOS 2.1.1 on Ubuntu 11.10 x64 based on my previous article, check it on http://blog.aguskurniawan.net/post/Deploying-TinyOS-on-Ubuntu-1010.aspx .

You may got problem when you install on Ubuntu 11.10 x64 due to TinyOS repositories. You could update your TinyOS repositories as below

deb http://hinrg.cs.jhu.edu/tinyos karmic main

Here is a screenshot of my TinyOS on Ubuntu 11.10 x64

tinyos-ubuntu11-10

Tags:

Linux | TinyOS

Comments (2) -

Ali
Ali United States
2/17/2012 11:06:23 PM #

Hello,

Thanks for posting information on this topic.
I tried your instructions and those on the TinyOS website, but I got an error I don't know how to resolve.
I am using Ubuntu 11.10 64 bit as well.
I got all the file, but when I go to do "make micaz" in the Blink app folder, I get the following error:

Couldn't execute avr-gcc
make: *** [exe0] Error 2

I looked up this online, other people seem to get this error too, but no one seems to have a clear answer.
Can you help me please?

Thanks you,
Ali

amouna
amouna France
5/5/2012 4:50:25 AM #

Hello,
I had installed Tinyos-2.1.1 in ubuntu 11.10
but when i try to run : make telosb
this error will be displayed :
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=0×22 -DIDENT_APPNAME=\”BlinkAppC\” -DIDENT_USERNAME=\”root\” -DIDENT_HOSTNAME=\”sahtout-Satelli\” -DIDENT_USERHASH=0x0648af0aL -DIDENT_TIMESTAMP=0x4fa43b80L -DIDENT_UIDHASH=0x6fd0d60aL -I/usr/msp430/include -I/usr/lib/gcc-lib/msp430/4.5.3/include 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/msp430/include/io.h:1:2: warning: #warning is deprecated, please include
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/msp430/include/signal.h:43:2: warning: #warning msp430-libc deprecated, using
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] Erreur 1

please help me
and thanks !!
PS : when i type : make micaz or make mica2 , the compilation is done normally !!

About Agus Kurniawan

Agus Kurniawan

For more detail about me click here [V]

Please entry your name into my guestbook [V]

If you want to contact me, please go here [V]

My Books

Pocket Reference: Netduino for Beginner Database Programming using Matlab

Pocket Reference: Basic Sensors in Windows 8 Getting Started with Matlab Simulink and Raspberry Pi

Getting Started with Arduino and Java  Pocket Reference: Raspberry Pi Programming

Getting Started with Arduino and Matlab Getting Started with Arduino and .NET

Pocket Reference: Raspberry Pi Getting Started with Arduino and Node.js

MongoDB for VB.NET Panduan Praktis Windows Azure

Network Forensics: Panduan Analisis Dan Investigasi Paket Data Jaringan Menggunakan Wireshark Object-Relational Mapping (ORM): MongoDB, Mongoosejs and Node.js By Example

Nodejs Programming by Example MongoDB for by Example

Pemrograman Parallel Dengan MPI dan C Panduan Lengkap iPad 2 Untuk Pemula

Pemrograman Jaringan Dengan Java Aplikasi Pilihan iPad Untuk Anak-Anak

Buku lainnya [V]

Agus Kurniawan is Microsoft MVP (Most Valuable Professional)

Follow Me

Follow agusk2010 on Twitter

Month List