[Tinyos-help] Maté on Boomerang2.0.4 and Tmote
Hui KANG
huk at a.cs.okstate.edu
Sun Sep 3 19:03:47 PDT 2006
Dr. Phil:
I have some questions about running Mate on Tmote motes. I am working
under Boomerang 2.0.4.
1: I successfully went through Lesson 1 "Building and Using Maté" of
the tutorial using BombillaMica and "make pc." However, when I tried
to compile the program for telosb under "BombillaTelosb", it has
following error for "make telosb":
$ make telosb
mkdir -p build/telosb
mkdir -p vm_specific
....
....
-java-classname=vm_specific.BombillaTelosBVMConstants MateTopLevel.nc
MateConsta
nts.h -o vm_specific/BombillaTelosBVMConstants.java -DTOSH_DATA_LENGTH=36
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 /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
2; Even under BombillaMica, I can only "make pc." When "make mica",
it also has some error:
Couldn't execute avr-gcc
make: *** [exe0] Error 2
For this is it because the gcc file not suitable for telosb.
Regards,
Hui
More information about the Tinyos-help
mailing list