Dear all,

I have installed version 2.1.1 of TinyOS on Ubuntu 12.04.

First I tried to test the installation by making and installing 'Blink' 
application. It did not work so I had to get the files of TinyOS 2.1.2 
and just replace all the files with my existing 2.1.1 version. Now I can 
make and test both Blink and Sense application. But I have problem 
compiling Oscilloscope example applciation. I get the following error:

[CODE]

saeid@saeid-Satellite-C660:/opt/tinyos-2.1.1/apps/Oscilloscope$ make telosb
mkdir -p build/telosb
     compiling OscilloscopeAppC to a telosb binary

     WARNING: Minimum recommended msp430-gcc version for this TinyOS 
release is 4.6.3!!!

ncc -o build/telosb/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow 
-Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= 
-DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"OscilloscopeApp\" 
-DIDENT_USERNAME=\"saeid\" -DIDENT_HOSTNAME=\"saeid-Satellite\" 
-DIDENT_USERHASH=0xc492bc3fL -DIDENT_TIMESTAMP=0x50509d06L 
-DIDENT_UIDHASH=0xc4a437b9L  OscilloscopeAppC.nc -lm
In file included from 
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430InterruptC.nc:53,
                  from 
/opt/tinyos-2.1.1/tos/platforms/telosa/chips/cc2420/HplCC2420InterruptsC.nc:57,
                  from 
/opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlC.nc:70,
                  from 
/opt/tinyos-2.1.1/tos/chips/cc2420/csma/CC2420CsmaC.nc:58,
                  from 
/opt/tinyos-2.1.1/tos/chips/cc2420/CC2420RadioC.nc:63,
                  from 
/opt/tinyos-2.1.1/tos/chips/cc2420/CC2420ActiveMessageC.nc:75,
                  from 
/opt/tinyos-2.1.1/tos/platforms/telosa/ActiveMessageC.nc:76,
                  from OscilloscopeAppC.nc:22:
In component `HplMsp430InterruptP':
/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430InterruptP.nc:262: 
syntax error before `}'
In component `HplCC2420InterruptsC':
/opt/tinyos-2.1.1/tos/platforms/telosa/chips/cc2420/HplCC2420InterruptsC.nc:60: 
cannot find `Port14'
/opt/tinyos-2.1.1/tos/platforms/telosa/chips/cc2420/HplCC2420InterruptsC.nc:61: 
cannot find `Port10'
In file included from 
/opt/tinyos-2.1.1/tos/chips/cc2420/lowpan/CC2420TinyosNetworkC.nc:85,
                  from 
/opt/tinyos-2.1.1/tos/chips/cc2420/CC2420RadioC.nc:66,
                  from 
/opt/tinyos-2.1.1/tos/chips/cc2420/CC2420ActiveMessageC.nc:75,
                  from 
/opt/tinyos-2.1.1/tos/platforms/telosa/ActiveMessageC.nc:76,
                  from OscilloscopeAppC.nc:22:
In component `CC2420TinyosNetworkP':
/opt/tinyos-2.1.1/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc: In 
function `BareSend.send':
/opt/tinyos-2.1.1/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc:96: 
`AM_OVERHEAD' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc:96: 
(Each undeclared identifier is reported only once
/opt/tinyos-2.1.1/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc:96: 
for each function it appears in.)
/opt/tinyos-2.1.1/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc: In 
function `BareSend.maxPayloadLength':
/opt/tinyos-2.1.1/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc:104: 
`AM_OVERHEAD' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc: In 
function `SubReceive.receive':
/opt/tinyos-2.1.1/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc:137: 
`AM_OVERHEAD' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: 
#warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
In component `CC2420RadioC':
/opt/tinyos-2.1.1/tos/chips/cc2420/CC2420RadioC.nc: At top level:
/opt/tinyos-2.1.1/tos/chips/cc2420/CC2420RadioC.nc:91: cannot find 
`BarePacket'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:68:4: 
warning: #warning Accessing TimerA for ADC12
make: *** [exe0] Error 1

[/CODE]


Any help/tips will be appreciated,

Saeid Yazdani.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to