On Mon, 2005-11-07 at 23:09 -0500, Andreas Krause wrote:
> Hi all,
> 
> since I was having problems with an earlier version of Mate using
> TelosB, I checked out the current source tree from Sourceforge. When I
> use VMBuilder to build the bombilla-telosb.vmsf VM, and run "make
> telosb" in the apps/BombillaTelosB directory, I get the following
> error message:
> 
> cc1: error: invalid option `disable-hwmul'
> <commandline>: failed to preprocess /opt/tinyos-1.x/tos/system/tos.h
> cc1: error: invalid option `disable-hwmul'
> <commandline>: failed to preprocess MateTopLevel.nc
> failed to parse nesC file MateTopLevel.nc
> make: *** [vm_specific/BombillaTelosBVMConstants.java] Error 1
> 
> The complete log is following. Can anybody help me compiling Mate for
> TelosB under the current TinyOS source tree?
> Thanks,

Have you been able to compile other TinyOS applications?

The -mdisable-hwmul is an option that disables hardware multiply on the
msp430, because the compiler has some bugs when you use it. I have no
idea why ncg would fail on that option; theoretically, this would happen
any time you try to run ncg for the Telos platform.

What versions of msp430-gcc, nesC, and ncc are you using?

Phil



_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to