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

Kristin Wright l.kristin.wright at gmail.com
Wed Sep 14 08:23:30 PDT 2005


Hi --

SurgeTelos has components which aren't  implemented for the pc
platform. You can ensure that this is the case by checking the
components under tos/platform/pc.

-kw


On 9/14/05, yicheng <y-jie at northwestern.edu> wrote:
> 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
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



More information about the Tinyos-help mailing list