[Tinyos-help] Java: Build Error - avr-gcc ???

Frank Christian chfrank at inf.ethz.ch
Fri Dec 1 06:22:21 PST 2006


 

Hi,

 

I am running the TinyOS 1.x / Boomerang / Telos Suite. I know this topic
has been on the list before, but I could not find the actual solution:

 

Problem: 

 

$ mig java -java -java-classname=DeltaMsg Delta.h DeltaMsg -o
DeltaMsg.java

Couldn't execute avr-gcc

failed to parse message file Delta.h

 

I understood from earlier messages, that I should specify the platform,
so I did:

 

$ mig java -target=telos -java -java-classname=DeltaMsg Delta.h DeltaMsg
-o DeltaMsg.java

In file included from /opt/tinyos-1.x/tos/system/tos.h:144:

/opt/tinyos-1.x/tos/platform/telos/hardware.h:7:25: CC2420Const.h: No
such file

or directory

<commandline>: failed to preprocess /opt/tinyos-1.x/tos/system/tos.h

Delta.h:13:22: MultiHop.h: No such file or directory

<commandline>: failed to preprocess Delta.h

failed to parse message file Delta.h

 

I assume its about adding some INCLUDE directories, but am not sure
where I can add my -I statement...  Where should I add it?

 

I used the "Windows upgrade RPM's if you already have Cygwin and Java 4
installed" package.

 

Thanks in advance! 

Christian

--

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061201/89b33ce8/attachment.htm


More information about the Tinyos-help mailing list