[Tinyos-help] compile error when I build SurgeTelos to a pc library

yicheng y-jie at northwestern.edu
Wed Sep 14 08:07:24 PDT 2005


Hi All,

When I'm using 'make pc' to build 'SurgeTelos' to a pc library in TinyOS
version 1.1.14, I get such errors, Can anyone tell me why it happens?

$ make pc
mkdir -p build/pc
    compiling Surge to a pc binary
ncc -o build/pc/main.exe -g -O0 -I%T/lib/MultiHopLQI -DSEND_QUEUE_SIZE=8
-DMHOP_LEDS -pthread -fnesc-nido-tosnodes=1000 -fnesc-simulate -Wall
-Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc
-fnesc-cfile=build/pc/app.c -board=micasb -I%T/lib/Deluge -I%T/lib/Flash
-I%T/lib/Flash/STM25P -DDEFAULT_EEPROM_SIZE=0x100000
-DIDENT_PROGRAM_NAME=\"Surge\" -DIDENT_USER_ID=\"yjia\"
-DIDENT_HOSTNAME=\"runningTmote\" -DIDENT_USER_HASH=0xc4f31e66L
-DIDENT_UNIX_TIME=0x4328348aL -DIDENT
_UID_HASH=0xfd3b12c1L Surge.nc -lm
SurgeM.nc:47: interface CC2420Control not found
SurgeM.nc:48: interface MacControl not found
SurgeM.nc: In function `StdControl.start':
SurgeM.nc:117: interface has no command or event named `SetRFPower'
SurgeM.nc:118: interface has no command or event named `enableAck'
Surge.nc: At top level:
Surge.nc:51: component CC2420RadioC not found
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/MultiHopLQI/MultiHopLQI.nc: In
function `ReceiveMsg.receive':
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/MultiHopLQI/MultiHopLQI.nc:320
: structure has no member named `lqi'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/MultiHopLQI/MultiHopLQI.nc:343
: structure has no member named `lqi'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/MultiHopLQI/MultiHopLQI.nc:352
: st
ructure has no member named `lqi'
Surge.nc: At top level:
Surge.nc:73: cannot find `CC2420Control'
Surge.nc:74: cannot find `MacControl'
make: *** [exe0] Error 1

Thanks in advance for your help!
Yicheng



More information about the Tinyos-help mailing list