[Tinyos-help] Compile errors for TelosB with new tinyos 2.0

Ryan Aures raures at gmail.com
Wed Jul 26 08:10:40 PDT 2006


Hello,

I followed the install directions for TinyOS 2.0 and attempted to compile
the blink application for telosb.  I get the same three errors for this and
any other of the sample applications I have tried to make.  I am on a
Windows 2000 machine, and I am using TinyOS 2.0 beta2.  Can someone give me
some advise as to how I could fix this?

Thanks,
Ryan


$ make telosb
D:\cygwin\opt\tinyos-2.x\support\make\Makerules:31: warning, MAKERULES
contains
backslashes.

    The environment variable MAKERULES contains backslashes \'s.  This can
    cause shell scripts including ones in this make system to fail in
    strange ways.  I've changed those to forward slashes for you for this
    build.  However, you are strongly encouraged to respecify MAKERULES as
    either a standard unix-style path or as a mixed-style path where the
    backslashes are replaced with forward slashes /'s.

mkdir -p build/telosb
    compiling BlinkAppC 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 -fnesc-cfile=build/telosb/app.c
-board=   B
linkAppC.nc -lm
*cc1: error: invalid option `disable-hwmul'
<commandline>: failed to preprocess /usr/lib/ncc/nesc_nx.h
cc1: error: invalid option `disable-hwmul'
<commandline>: failed to preprocess D:\cygwin\opt\tinyos-
2.x\tos/system/tos.h
cc1: error: invalid option `disable-hwmul'
<commandline>: failed to preprocess BlinkAppC.nc
*make: *** [exe0] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060726/afcd7174/attachment.htm


More information about the Tinyos-help mailing list