[Tinyos-help] Tinyos 2.0 make errors
Ryan Aures
raures at gmail.com
Tue Aug 15 12:26:40 PDT 2006
We are working with TinyOS 2.0 on a Windows 2000 machine. Whenever we try
to change and compile one of the sample apps, we get the same type of
errors. An example of the errors is below. In this case we added the
following line to RadioCounttoLedsC.nc in an event:
if(counter == 2000)
call MilliTimer.stop();
This shouldnt cause a problem but we were unable to compile for telosb. We
also have tried modifying the header file for this program and the same
error occurs. Is it possible our TinyOS environment is not set up
correctly? Any help would be appreciated.
Thanks,
Ryan
This is the error when compiling RadioCounttoLeds:
user at oemcomputer /opt/tinyos-2.x/apps/radiocounttoleds
$ make telosb install
mkdir -p build/telosb
compiling RadioCountToLedsAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fn
esc-cfile=build/telosb/app.c -board= RadioCountToLedsAppC.nc -lm
stdout: Bad file descriptor
In file included from /opt/tinyos-2.x
/tos/chips/msp430/usart/Msp430UsartShare0P.nc:51,
from /opt/tinyos-2.x
/tos/chips/msp430/usart/Msp430Usart0C.nc:54,
from /opt/tinyos-2.x
/tos/chips/msp430/usart/Msp430Spi0C.nc:63,
from /opt/tinyos-2.x
/tos/platforms/telosa/chips/cc2420/HplCC2420SpiC.nc:50,
from /opt/tinyos-2.x/tos/chips/cc2420/CC2420SpiP.nc:56,
from /opt/tinyos-2.x/tos/chips/cc2420/CC2420SpiC.nc:81,
from /opt/tinyos-2.x/tos/chips/cc2420/CC2420ControlC.nc:73,
from /opt/tinyos-2.x/tos/chips/cc2420/CC2420CsmaC.nc:61,
from /opt/tinyos-2.x
/tos/chips/cc2420/CC2420ActiveMessageC.nc:53,
from /opt/tinyos-2.x
/tos/platforms/telosa/ActiveMessageC.nc:61,
from /opt/tinyos-2.x/tos/system/AMQueueP.nc:43,
from /opt/tinyos-2.x/tos/system/AMSenderC.nc:50,
from RadioCountToLedsAppC.nc:45:
In component `FcfsArbiterC':
/opt/tinyos-2.x/tos/system/FcfsArbiterC.nc:84: failed to preprocess
/opt/tinyos-2.x/tos/interfaces/ResourceController.nc
make: *** [exe0] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060815/0e01da66/attachment.html
More information about the Tinyos-help
mailing list