When I try to compile Oscilloscope app for telosb platform I get this error. 
I'm using Xubuntos with javax.comm installed and TinyOS 1.x. I have no idea 
which is the problem. Anyone help?

/opt/tinyos-1.x/apps/Oscilloscope$ make telosb
mkdir -p build/telosb
    compiling Oscilloscope to a telosb binary
ncc -o build/telosb/main.exe -O -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d 
-Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= 
-I%T/lib/Deluge 
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000 
-DIDENT_PROGRAM_NAME=\"Oscilloscope\" -DIDENT_USER_ID=\"luismacb\" 
-DIDENT_HOSTNAME=\"luismacb-laptop\" -DIDENT_USER_HASH=0x7bd10372L 
-DIDENT_UNIX_TIME=0x4a780c05L -DIDENT_UID_HASH=0x21f8d009L -mdisable-hwmul 
-I/opt/tinyos-1.x/tos/lib/CC2420Radio Oscilloscope.nc -lm 
/opt/tinyos-1.x/tos/platform/msp430/ADCM.nc:139: warning: 
`MSP430ADC12Single.bind' called asynchronously from `triggerConversion'
/opt/tinyos-1.x/tos/platform/msp430/HPLADC12.nc:50: warning: declaration of 
`index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/opt/tinyos-1.x/tos/platform/msp430/HPLADC12.nc:50: warning: declaration of 
`index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/opt/tinyos-1.x/tos/platform/msp430/HPLADC12.nc:50: warning: declaration of 
`index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/opt/tinyos-1.x/tos/platform/msp430/ADCSingle.nc: In function 
`InternalTempM$ADCSingle$dataReady':
/opt/tinyos-1.x/tos/platform/msp430/ADCSingle.nc:105: warning: declaration of 
`result' shadows a parameter
/opt/tinyos-1.x/tos/platform/msp430/ADCMultiple.nc: In function 
`InternalTempM$ADCMultiple$dataReady':
/opt/tinyos-1.x/tos/platform/msp430/ADCMultiple.nc:129: warning: declaration of 
`result' shadows a parameter
/opt/tinyos-1.x/tos/platform/msp430/ADCMultiple.nc:129: incompatible type for 
argument 1 of `InternalTempM$ADCMultiple$default$dataReady'
make: *** [exe0] Error 1


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

Reply via email to