>From the top of my head I remember that you have to define VUTOS and point it to their tos directory. Go through their readme files.


On 11/7/06, Termodonte <[EMAIL PROTECTED]> wrote:
Hello again,
I downloaded from sourceforge all the minitasks\02\vu\ CVS folder to try the AcousticLocalization of ISIS Vanderbilt University but when I try to compile with "make mica2" command I find these errors:
 
[EMAIL PROTECTED] /opt/vu/apps/AcousticLocalization
$ make mica2
    compiling AcousticLocalizationC to a mica2 binary
ncc -board=micasb -o build/mica2/main.exe -Os -target=mica2  -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -I. -I../../tos/system
-I../../tos/lib/AcousticRanging -I../../tos/lib/BigMsg -I../../tos/lib/CVS -I../../tos/lib/DiagMsg -I../../
tos/lib/FloodRouting -I../../tos/lib/PeaceKeeper -I../../tos/lib/RemoteControl -I../../tos/lib/TimeSlotNegotiation
-I../../tos/lib/TimeSync -I../../tos/lib/ZeroCrossings -I../../tos/platform/mica2 -I../../tos/platform/avrmote -I..
/../../tinyos-1.x/contrib/xbow/apps/Xnp -finline-limit=100000 -fnesc-cfile=build/mica2/app.c  AcousticLocalizationC
.nc -lm
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc: In function `StdControl.init':
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc:270: `CC1K_LPL_SquelchInit' undeclared (first use in this function)
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc:270: (Each undeclared identifier is reported only once
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc:270: for each function it appears in.)
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc: At top level:
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc:524: `SpiByteFifo.dataReady': async mismatch with declaration
C:/tinyos/cygwin/opt/tinyos- 1.x/tos/platform/mica2/SpiByteFifo.nc:42: previous declaration of `SpiByteFifo.dataReady'
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc: In function `SpiByteFifo.dataReady':
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc:603: `CC1K_LPL_ValidPrecursor' undeclared (first use in this function)
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc:603: subscripted value is neither array nor pointer
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc:638: `CC1K_LPL_SquelchInit' undeclared (first use in this function)
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc: At top level:
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/CC1000RadioIntM.nc:813: `RSSIADC.dataReady': async mismatch with declaration
C:/tinyos/cygwin/opt/tinyos- 1.x/tos/interfaces/ADC.nc:70: previous declaration of `RSSIADC.dataReady'
C:/tinyos/cygwin/opt/vu/tos/system/ADCM.nc:137: `ADC.dataReady': async mismatch with declaration
C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/ADC.nc:70: previous declaration of `ADC.dataReady'
C:/tinyos/cygwin/opt/vu/tos/system/ADCM.nc:158: `ADC.getData': async mismatch with declaration
C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/ADC.nc:52: previous declaration of `ADC.getData'
C:/tinyos/cygwin/opt/vu/tos/system/ADCM.nc:168: `ADC.getContinuousData': async mismatch with declaration
C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/ADC.nc:59: previous declaration of `ADC.getContinuousData'
C:/tinyos/cygwin/opt/vu/tos/system/ADCM.nc:108: `ADCControl.autoCalibrate' not implemented
C:/tinyos/cygwin/opt/vu/tos/system/ADCM.nc:108: `ADCControl.manualCalibrate' not implemented
C:/tinyos/cygwin/opt/vu/tos/platform/mica2/HPLPowerManagementM.nc:75: `PowerManagement.adjustPower': async mismatch with declaration
C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/PowerManagement.nc:41: previous declaration of `PowerManagement.adjustPower'
C:/tinyos/cygwin/opt/vu/tos/system/SyncedCRCPacket.nc:212: `ByteComm.txByteReady': async mismatch with declaration
C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/ByteComm.nc:75: previous declaration of `ByteComm.txByteReady'
C:/tinyos/cygwin/opt/vu/tos/system/SyncedCRCPacket.nc:240: `ByteComm.txDone': async mismatch with declaration
C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/ByteComm.nc:83: previous declaration of `ByteComm.txDone'
C:/tinyos/cygwin/opt/vu/tos/system/SyncedCRCPacket.nc:249: `ByteComm.rxByteReady': async mismatch with declaration
C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/ByteComm.nc:66: previous declaration of `ByteComm.rxByteReady'
C:/tinyos/cygwin/opt/vu/tos/system/GenericComm.nc:128: cannot find `Leds'
C:/tinyos/cygwin/opt/vu/tos/lib/AcousticRanging/AcousticMultiSamplerM.nc:171: `MicADC.dataReady': async mismatch with declaration
C:/tinyos/cygwin/opt/tinyos- 1.x/tos/interfaces/ADC.nc:70: previous declaration of `MicADC.dataReady'
C:/tinyos/cygwin/opt/vu/tos/lib/PeaceKeeper/PeaceKeeperM.nc: In function `emergency':
C:/tinyos/cygwin/opt/vu/tos/lib/PeaceKeeper/PeaceKeeperM.nc:194: implicit declaration of function `TOSH_interrupt_disable'
make: *** [build/mica2/main.exe] Error 1
 
 
I think that is a path problem. As You see, I copied the entire folder in C:/tinyos/cygwin/opt/ (and not in C:/tinyos/cygwin/opt/tinyos-1.x).
 
The Readme file of VU said:
 
Please check out the whole directory structure to a separate directory. Do not overwrite
your existing tinyos-1.x directory, even though the directory names are the same.
You can compile the sample applications in place. The apps/Makerules are modified to
automatically include the Vanderbilt specific tos/* directories.
 
So i can't understand what is going wrong with this application.
 
Somebody had the same problem?
Hope to see some answers :-)
 
Greetings from Rome!
 

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


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

Reply via email to