Hy,
I developed an application that use the MDA300 sensorboard and the SamplerM.nc. Everything goes ok on the PC where I worked. Now I have to transfer this application on other system where I installed the tinyos: everything is the same version of the "old" system and the toscheck goes without errors.
The problem is that when I try to compile my application, I receive the error:
 
linux:/opt/tinyos-1.x/contrib/xbow/apps/MDA300 # make micaz
mkdir -p build/micaz
    compiling MDA300 to a micaz binary
ncc -o build/micaz/main.exe -Os -I../../tos/interfaces -I../../tos/system -I../../tos/lib -I../../tos/sensorboards/mda300 -I../../tos/platform/micaz -I%T/lib/Route -I%T/lib/Queue -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=mda300 -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"MDA300\" -DIDENT_USER_ID=\"root\" -DIDENT_HOSTNAME=\"linux\" -DIDENT_USER_HASH=0x159b5c39L -DIDENT_UNIX_TIME=0x44479d05L -DIDENT_UID_HASH=0x7b69f7d1L -I/opt/tinyos-1.x/tos/lib/CC2420Radio MDA300.nc -lm
../../tos/platform/micaz/HPLPowerManagementM.nc:49: `PowerManagement.disable' not implemented
../../tos/platform/micaz/HPLPowerManagementM.nc:49: `PowerManagement.enable' not implemented
ADCREFM.nc: In function `CalTask':
ADCREFM.nc:94: interface has no command or event named `manualCalibrate'
ADCREFM.nc: In function `startGet':
ADCREFM.nc:212: warning: suggest parentheses around assignment used as truth value
ADCREFM.nc: At top level:
ADCREFM.nc:284: `manualCalibrate' is not in interface `ADCControl'
ADCREFM.nc:295: `autoCalibrate' is not in interface `ADCControl'
../../tos/sensorboards/mda300/SamplerC.nc:63: component Voltage not found
../../tos/sensorboards/mda300/SamplerC.nc:119: cannot find `StdControl'
../../tos/sensorboards/mda300/SamplerC.nc:120: no match
make: *** [exe0] Error 1
 
I tried to fix some of this errors, and the only that I can solve is the last about the SamplerC: if I indicate in the Makefile the SENSORBOARD=mda300ca and not the mda300 (like in the screen above), the error is solved.
But for the othrs, I have still problem. I checked the two system (I checked on my laptop too, where I installed another version of tinyos, but everything goes ok), the directory and the setting eviroment, but it seems the same.
 
If I try to compile the surge_reliable application, of xbow, on the "new/bad" system, I can't compile and I receive the same error about the component ADCREFM.
Anybody can help me?
Thanks in advance.
 
Alessandro Balvis
Centro Ricerche ENEL - Pisa
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to