[Tinyos-help] Problem compiling BaseStation, Tutorial Lesson 4: Mote-PC serial communication

Alessandro Bertelli a.bertelli at gmail.com
Tue Nov 28 02:39:41 PST 2006


I'm using cygwin on a win2000 machine and telosb motes, whenever i try to
compile Basestation  (the same with BaseStationCC2420) i get thi error
message



$ make telosb
mkdir -p build/telosb
    compiling BaseStationC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnes
BaseStationC.nc -lm
stdout: Bad file descriptor
In file included from /opt/tinyos-2.x
/tos/chips/msp430/usart/Msp430Usart0C.nc:62,
                 from /opt/tinyos-2.x
/tos/chips/msp430/usart/Msp430Spi0C.nc:66,
                 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 BaseStationC.nc:71:
In component `Msp430UsartShare0P':
/opt/tinyos-2.x/tos/chips/msp430/usart/Msp430UsartShare0P.nc:49: failed to
preprocess /opt/tinyo
/opt/tinyos-2.x/tos/chips/msp430/usart/Msp430UsartShare0P.nc:49: component
`Msp430UsartShareP' i
/opt/tinyos-2.x/tos/chips/msp430/usart/Msp430UsartShare0P.nc:50: no match
/opt/tinyos-2.x/tos/chips/msp430/usart/Msp430UsartShare0P.nc:51: no match
/opt/tinyos-2.x/tos/chips/msp430/usart/Msp430UsartShare0P.nc:57: cannot find
`ArbiterInfo'
/opt/tinyos-2.x/tos/chips/msp430/usart/Msp430UsartShare0P.nc:60: cannot find
`RawInterrupts'
/opt/tinyos-2.x/tos/chips/msp430/usart/Msp430UsartShare0P.nc:61: cannot find
`RawI2CInterrupts'


A part for the std.out bad file descriptor error (that with a work around
like make telosb | cat ,  can be solved ) i can't resolve the other error,
I've looked at the tinyos 2.x CVS but i did't find a goos guess.

Doan anyone have the same kind of problem?
Thanks

Alessandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061128/e95e9072/attachment.html


More information about the Tinyos-help mailing list