[Tinyos-help] Why did I get the following error when I type "make mica2" in Redhat linux PC that have already installed TinyOS 1.1.0?

=?big5?B?SmluZy1TaGl1YW4gSHVhIC8gtdjAUrip?= luckypudding at mis.npust.edu.tw
Fri Sep 16 07:29:19 PDT 2005


Excuse me, I have some trouble. Because I discover you answer a question that is "Still some problem on Compilation of Deluge".
I think maybe you can resolve  my problem.
Why did I get the following error when I type "make mica2" in Redhat linux PC that have already installed TinyOS 1.1.0?

[root at Drought XSensorMDA300]# make mica2
mkdir -p build/mica2
    compiling XSensorMDA300 to a mica2 binary
ncc -o build/mica2/main.exe -Os -I../../tos/interfaces  -I../../tos/system -I../../tos/lib -I../../tos/sensorboards/mda300  -I../../tos/platform/mica2   -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x16 -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=mda300  -DCC1K_DEFAULT_FREQ=RADIO_916BAND_CHANNEL_00 -DRADIO_XMIT_POWER=0xFF -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"XSensorMDA300\" -DIDENT_USER_ID=\"root\" -DIDENT_HOSTNAME=\"Drought\" -DIDENT_USER_HASH=0xf071edc2L -DIDENT_UNIX_TIME=0x432aca59L -DIDENT_UID_HASH=0x7601c058L XSensorMDA300.nc -lm
../../tos/sensorboards/mda300/BatteryC.nc:52: `TOS_ADC_VOLTAGE_PORT' undeclared here (not in a function)
../../tos/sensorboards/mda300/BatteryM.nc: In function `StdControl.init':
../../tos/sensorboards/mda300/BatteryM.nc:73: `TOS_ADC_VOLTAGE_PORT' undeclared (first use in this function)
../../tos/sensorboards/mda300/BatteryM.nc:73: (Each undeclared identifier is reported only once
../../tos/sensorboards/mda300/BatteryM.nc:73: for each function it appears in.)
../../tos/sensorboards/mda300/BatteryM.nc:73: `TOSH_ACTUAL_VOLTAGE_PORT' undeclared (first use in this function)
../../tos/sensorboards/mda300/BatteryC.nc: At top level:
../../tos/sensorboards/mda300/BatteryC.nc:52: constant expression expected
make: *** [exe0] Error 1

How can I do?  Please help me.
Thank you~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20050916/4e39c4af/attachment.html


More information about the Tinyos-help mailing list