Hello again, I am trying to compile my NESC code and that's running fine.

But when I am trying to get java files with MIG I get these errors…. Do you 
know anything about it?
(I had found something in Google, but it doesn't solve it)

Curiously msp430mcu.spec is in /usr/msp430/...   (and it's in the path)
(I am using ubuntu 12.x)

Thanks in advance. 

luis@ubuntu-twips:/opt/tinyos-2.x/apps/tfc/src/emisor$ make cou24
mkdir -p build/cou24
mig -java-classname=MsgSensor java comunes.h MsgSensor -o MsgSensor.java
nesc1: invocation of gcc to find builtin macros failed (error message output 
follows)
Using built-in specs.
could not find specs file msp430mcu.spec
COLLECT_GCC=gcc
Target: msp430
Configured with: ../configure 
--prefix=/home/tinyos/local/tinyos-2.x/tools/msp430.new/debian/usr 
--target=msp430 --enable-languages=c
Thread model: single
gcc version 4.5.3 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-E' '-dM'
cc1 -E -quiet -v -iprefix /usr/msp430/bin/../lib/gcc/msp430/4.5.3/ /dev/null -dM
gcc: error trying to exec 'cc1': execvp: No existe el archivo o el directorio
nesc1: internal error: couldn't define builtin macros - exiting
failed to parse message file comunes.h
make: *** [MsgSensor.java] Error 1
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to