[Tinyos-help] problems in extracting sound

=?big5?B?SmluZy1TaGl1YW4gSHVhIC8gtdjAUrip?= luckypudding at mis.npust.edu.tw
Sat Sep 17 02:00:43 PDT 2005


Excuse me,I discover you had a problem like mine. Did you resolve it? I think maybe I can ask you.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=0x432bd37aL -DIDENT_UID_HASH=0x6741b101L XSensorMDA300.nc -lm
../../tos/sensorboards/mda300/BatteryC.nc:50: `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:50: constant expression expected
make: *** [exe0] Error 1


Please hurry answer me and thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20050917/2370e777/attachment.html


More information about the Tinyos-help mailing list