saw this error in my make ouput of the java tools in tinyos 1.x
Have no idea why this happens but essentially the output looks like the
following and the reason it happens is

make[3]: Entering directory
`/home/cd5/workspace/tinyos-1.x/tools/java/net/tinyos/oscope'
... /home/cd5/workspace/tinyos-1.x/tools/java/net/tinyos/oscope
mig java -target=telosb
-I/home/cd5/workspace/tinyos-1.x/tos/lib/CC2420Radio -target=telosb
-I/home/cd5/workspace/tinyos-1.x/tos/lib/CC2420Radio -target=telosb
-I/home/cd5/workspace/tinyos-1.x/tos/lib/CC2420Radio -target=telosb
-I/home/cd5/workspace/tinyos-1.x/tos/lib/CC2420Radio -target=telosb
-I/home/cd5/workspace/tinyos-1.x/tos/lib/CC2420Radio -target=telosb
-I/home/cd5/workspace/tinyos-1.x/tos/lib/CC2420Radio -target=telosb
-I/home/cd5/workspace/tinyos-1.x/tos/lib/CC2420Radio -target=telosb
-I/home/cd5/workspace/tinyos-1.x/tos/lib/CC2420Radio -target=telosb
-I/home/cd5/workspace/tinyos-1.x/tos/lib/CC2420Radio -target=telosb
-I/home/cd5/workspace/tinyos-1.x/tos/lib/CC2420Radio -target=telosb
-I/home/cd5/workspace/tinyos-1.x/tos/lib/CC2420Radio
-java-classname=net.tinyos.oscope.OscopeMsg 
/home/cd5/workspace/tinyos-1.x/tos/../apps/Oscilloscope/OscopeMsg.h OscopeMsg 
-o OscopeMsg.java
multiple targets specified

in the makefile in each of the java lib directorys the MIGFLAGS are
specified multiple times. Am assuming there has been some automatic
script that screwed up on my pc, but in the event that anyone else sees
the error just delete extra mig flags from all java director makefiles
and it will compile


MIG = mig java $(MIGFLAGS) $(MIGFLAGS) $(MIGFLAGS) $(MIGFLAGS)
$(MIGFLAGS) $(MIGFLAGS) $(MIGFLAGS) $(MIGFLAGS) $(MIGFLAGS) $(MIGFLAGS)
$(MIGFLAGS)


all the best
Cormac



_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to