Hi,
I have a telosb mote. When i compile MultihopOscilloscope application
to telosb im getting the error given below.
Im getting this error when i compile any application on any platform
which uses MSP430.
root@edcn400-desktop:/opt/tinyos-2.1.1/apps/MultihopOscilloscope#
make telosb
mkdir -p build/telosb
compiling MultihopOscilloscopeAppC 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 -I/opt/tinyos-2.1.1/tos/lib/net/
-I/opt/tinyos-2.1.1/tos/lib/net/ctp -I/opt/tinyos-2.1.1/tos/lib/net/4bitle
-DIDENT_APPNAME=\"MultihopOscillo\" -DIDENT_USERNAME=\"root\"
-DIDENT_HOSTNAME=\"edcn400-desktop\" -DIDENT_USERHASH=0x94c4972fL
-DIDENT_TIMESTAMP=0x4e5648c5L -DIDENT_UIDHASH=0x15389db0L
MultihopOscilloscopeAppC.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 MultihopOscilloscopeAppC.nc:21:
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'
In file included from
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/AdcReadClientC.nc:46:
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12.h:174:2: warning:
#warning "This version of msp430-gcc might contain a bug which results in
false accessing of bitfields in structs (MSP430ADC12M.nc would fail). Use
version 3.2.3 instead."
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12.h:179:2: error: #error
MSP430ADC12C: Target msp430 device does not have ADC12 module
In file included from
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:48,
from
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12P.nc:47,
from
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ClientAutoRVGC.nc:53,
from
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/AdcReadClientC.nc:56,
from
/opt/tinyos-2.1.1/tos/chips/msp430/sensors/Msp430InternalVoltageC.nc:51,
from /opt/tinyos-2.1.1/tos/platforms/telosb/VoltageC.nc:47,
from
/opt/tinyos-2.1.1/tos/platforms/telosb/DemoSensorC.nc:55,
from MultihopOscilloscopeAppC.nc:22:
In interface `HplAdc12':
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/HplAdc12.nc:51: syntax error before
`control0'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/HplAdc12.nc:57: syntax error before
`control1'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/HplAdc12.nc:63: only commands and
events can be defined in interfaces
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/HplAdc12.nc:63: warning:
return-type defaults to `int'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/HplAdc12.nc:63: syntax error before
`getCtl0'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/HplAdc12.nc:68: only commands and
events can be defined in interfaces
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/HplAdc12.nc:68: warning:
return-type defaults to `int'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/HplAdc12.nc:68: syntax error before
`getCtl1'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:68:4: warning:
#warning Accessing TimerA for ADC12
In component `Msp430Adc12ImplP':
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc: In function
`Init.init':
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:94:
`adc12ctl0_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:94: (Each
undeclared identifier is reported only once
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:94: for each
function it appears in.)
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:94: syntax
error before `ctl0'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:96: `ctl0'
undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:96: interface
has no command or event named `getCtl0'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc: In function
`SingleChannel.configureSingle':
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:188:
`adc12ctl1_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:188: syntax
error before `ctl1'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:198: syntax
error before `memctl'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:203:
`adc12ctl0_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:204: `ctl0'
undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:210: `ctl1'
undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:211: `memctl'
undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc: At top level:
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:216: syntax
error before `return'
Msp430Adc12ImplP: `MultiChannel.getData' not implemented
Msp430Adc12ImplP: `MultiChannel.configure' not implemented
Msp430Adc12ImplP: `HplAdc12.conversionDone' not implemented
Msp430Adc12ImplP: `CompareA1.fired' not implemented
Msp430Adc12ImplP: `DMAExtension.start' not implemented
Msp430Adc12ImplP: `DMAExtension.stop' not implemented
Msp430Adc12ImplP: `TimerA.overflow' not implemented
Msp430Adc12ImplP: `SingleChannel.getData' not implemented
Msp430Adc12ImplP: `SingleChannel.configureSingleRepeat' not implemented
Msp430Adc12ImplP: `SingleChannel.configureMultipleRepeat' not implemented
Msp430Adc12ImplP: `SingleChannel.configureMultiple' not implemented
Msp430Adc12ImplP: `CompareA0.fired' not implemented
In file included from
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12P.nc:47,
from
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ClientAutoRVGC.nc:53,
from
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/AdcReadClientC.nc:56,
from
/opt/tinyos-2.1.1/tos/chips/msp430/sensors/Msp430InternalVoltageC.nc:51,
from /opt/tinyos-2.1.1/tos/platforms/telosb/VoltageC.nc:47,
from
/opt/tinyos-2.1.1/tos/platforms/telosb/DemoSensorC.nc:55,
from MultihopOscilloscopeAppC.nc:22:
In component `HplAdc12P':
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/HplAdc12P.nc:57: syntax error
before `int2adc12ctl0'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/HplAdc12P.nc:57: syntax error
before `t'
HplAdc12P: `HplAdc12.adc12ctl0_t' not implemented
HplAdc12P: `HplAdc12.getMCtl' not implemented
HplAdc12P: `HplAdc12.resetIFGs' not implemented
HplAdc12P: `HplAdc12.isBusy' not implemented
HplAdc12P: `HplAdc12.adc12ctl1_t' not implemented
HplAdc12P: `HplAdc12.setMCtl' not implemented
HplAdc12P: `HplAdc12.startConversion' not implemented
HplAdc12P: `HplAdc12.setCtl0' not implemented
HplAdc12P: `HplAdc12.getMem' not implemented
HplAdc12P: `HplAdc12.setIEFlags' not implemented
HplAdc12P: `HplAdc12.getIEFlags' not implemented
HplAdc12P: `HplAdc12.stopConversion' not implemented
HplAdc12P: `HplAdc12.enableConversion' not implemented
HplAdc12P: `HplAdc12.setCtl1' not implemented
In component `Msp430Adc12P':
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12P.nc:62: cannot find
`Port60'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12P.nc:63: cannot find
`Port61'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12P.nc:64: cannot find
`Port62'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12P.nc:65: cannot find
`Port63'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12P.nc:66: cannot find
`Port64'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12P.nc:67: cannot find
`Port65'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12P.nc:68: cannot find
`Port66'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12P.nc:69: cannot find
`Port67'
In file included from
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430RefVoltArbiterP.nc:58,
from
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430Adc12ClientAutoRVGC.nc:53,
from
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/AdcReadClientC.nc:56,
from
/opt/tinyos-2.1.1/tos/chips/msp430/sensors/Msp430InternalVoltageC.nc:51,
from /opt/tinyos-2.1.1/tos/platforms/telosb/VoltageC.nc:47,
from
/opt/tinyos-2.1.1/tos/platforms/telosb/DemoSensorC.nc:55,
from MultihopOscilloscopeAppC.nc:22:
In component `Msp430RefVoltGeneratorP':
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430RefVoltGeneratorP.nc: In
function `switchOn':
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430RefVoltGeneratorP.nc:223:
`adc12ctl0_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430RefVoltGeneratorP.nc:223:
syntax error before `ctl0'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430RefVoltGeneratorP.nc:224:
`ctl0' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430RefVoltGeneratorP.nc: In
function `switchOff':
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430RefVoltGeneratorP.nc:242:
`adc12ctl0_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430RefVoltGeneratorP.nc:242:
syntax error before `ctl0'
/opt/tinyos-2.1.1/tos/chips/msp430/adc12/Msp430RefVoltGeneratorP.nc:243:
`ctl0' undeclared (first use in this function)
In component `HplCC2420PinsC':
/opt/tinyos-2.1.1/tos/platforms/telosa/chips/cc2420/HplCC2420PinsC.nc: At
top level:
/opt/tinyos-2.1.1/tos/platforms/telosa/chips/cc2420/HplCC2420PinsC.nc:63:
cannot find `Port14'
/opt/tinyos-2.1.1/tos/platforms/telosa/chips/cc2420/HplCC2420PinsC.nc:64:
cannot find `Port42'
/opt/tinyos-2.1.1/tos/platforms/telosa/chips/cc2420/HplCC2420PinsC.nc:65:
cannot find `Port13'
/opt/tinyos-2.1.1/tos/platforms/telosa/chips/cc2420/HplCC2420PinsC.nc:66:
cannot find `Port10'
/opt/tinyos-2.1.1/tos/platforms/telosa/chips/cc2420/HplCC2420PinsC.nc:67:
cannot find `Port46'
/opt/tinyos-2.1.1/tos/platforms/telosa/chips/cc2420/HplCC2420PinsC.nc:68:
cannot find `Port41'
/opt/tinyos-2.1.1/tos/platforms/telosa/chips/cc2420/HplCC2420PinsC.nc:69:
cannot find `Port45'
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:62,
from
/opt/tinyos-2.1.1/tos/chips/cc2420/CC2420ActiveMessageC.nc:67,
from
/opt/tinyos-2.1.1/tos/platforms/telosa/ActiveMessageC.nc:65,
from /opt/tinyos-2.1.1/tos/lib/net/ctp/CtpP.nc:99,
from /opt/tinyos-2.1.1/tos/lib/net/ctp/CollectionC.nc:69,
from MultihopOscilloscopeAppC.nc:35:
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:55:
cannot find `Port41'
/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'
/opt/tinyos-2.1.1/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning
"*** LOW POWER COMMUNICATIONS DISABLED ***"
make: *** [exe0] Error 1
root@edcn400-desktop:/opt/tinyos-2.1.1/apps/MultihopOscilloscope#
I uninstalled tinyos and re-installed a fresh copy of tinyos-2.1.1, im still
getting the error.
Regards,
Shravan Kulkarni
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help