Hello,
To answer my own question:
I was trying the TestSerial application from the tutorial. When I replace
-target=null
with -target=telosb
everything works fine...
Hope someone can use this.
COMPONENT=TestSerialAppC
BUILD_EXTRA_DEPS += TestSerial.class
CLEAN_EXTRA = *.class TestSerialMsg.java
TestSerial.class: $(wildcard *.java) TestSerialMsg.java
javac *.java
TestSerialMsg.java:
mig java -target=null -java-classname=TestSerialMsg TestSerial.h
TestSerialMsg -o $@
include $(MAKERULES)
From: [email protected]
To: [email protected]
Date: Fri, 12 Dec 2008 14:35:21 +0000
Subject: [Tinyos-help] ubuntu 8.10 mig issue
Hello,
I used to work on ubuntu 8.04, but since my new laptop only supports 8.10 I had
to make the switch.
TinyOS 2.1.0 works fine, except when i try to create a .class from a message
with mig in the make file.
A lot of errors appear:
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: redefinition of `bit_offset'
/usr/lib/ncc/nesc_nx.h:258: previous declaration of `bit_offset'
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: syntax error before `if'
/usr/lib/ncc/nesc_nx.h:258: syntax error before `+='
/usr/lib/ncc/nesc_nx.h:258: syntax error before `+='
/usr/lib/ncc/nesc_nx.h:258: syntax error before `*'
/usr/lib/ncc/nesc_nx.h: In function `__nesc_bfle_encode8':
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared (first use in this function)
and so on
I used the debian install, with hardy as depository dough. Build-essential and
libc are installed.
What can be the cause of this?
Any help would be appreciated.
Thx in advance
Ruben
Maakt je online leven een feest. Windows Live
_________________________________________________________________
Vanaf nu heb je je vrienden overal bij!
http://www.windowslivemobile.msn.com/?mkt=nl-be_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help