[Tinyos-help] Problem compiling Blink, No rule to make target `micaz'

Isabelle Hang Isabelle.Hang at math.uni-giessen.de
Thu Apr 15 01:14:14 PDT 2010


------ Forwarded message -------


From: Isabelle Hang <su9725 at pops.uni-giessen.de>
To: Giuseppe Barbieri  <elect86 at gmail.com>
Date: Thu, 15 Apr 2010 08:32:53 +0200

What says printenv MAKERULES?
Have you tried make micaz?

Best Regards,
Isa

-------------------
> Hallo,
> 
> I have problem compiling Blink
> 
> Here the error, makefile and tos-check-env
> 
> *elect at elect-laptop:/opt/tinyos-2.1.1/apps/Blink$ sudo make micaz
sim
> [sudo] password for elect:
> make: *** No rule to make target `micaz'.  Stop.
> elect at elect-laptop:/opt/tinyos-2.1.1/apps/Blink$*
> 
> 
> *elect at elect-laptop:/opt/tinyos-2.1.1/apps/Blink$ cat Makefile
> COMPONENT=BlinkAppC
> include $(MAKERULES)
> 
> elect at elect-laptop:/opt/tinyos-2.1.1/apps/Blink$*
> 
> 
> *
> elect at elect-laptop:/opt/tinyos-2.1.1/apps/Blink$ tos-check-env
> Path:
>     /opt/msp430/bin
>     /usr/local/sbin
>     /usr/local/bin
>     /usr/sbin
>     /usr/bin
>     /sbin
>     /bin
>     /usr/games
> 
> Classpath:
>     /home/chunlei/tinyos-2.x/support/sdk/java/tinyos.jar
>     .
> 
> 
> 
> rpms:
> 
> 
> nesc:
>     /usr/bin/nescc
>     Version: nescc: 1.3.1
> 
> 
> perl:
>     /usr/bin/perl
>     Version: v5.10.0 built for x86_64-linux-gnu-thread-multi
> 
> flex:
>     /usr/bin/flex
> 
> bison:
>     /usr/bin/bison
> 
> java:
>     /usr/bin/java
> 
> --> WARNING: The JAVA version found first by tos-check-env may not
be
> version 1.4 or version 1.5one of which is required by TOS. Please
ensure
> that the located Java version is 1.4 or 1.5
> 
> graphviz:
>     /usr/bin/dot
>     dot - Graphviz version 2.20.2 (Wed Sep 16 11:12:21 UTC 2009)
> 
> --> WARNING: The graphviz (dot) version found by tos-check-env is
not 1.10.
> Please update your graphviz version if you'd like to use the nescdoc
> documentation generator.
> 
> 
> tos-check-env completed with errors:
> 
> --> WARNING: The JAVA version found first by tos-check-env may not
be
> version 1.4 or version 1.5one of which is required by TOS. Please
ensure
> that the located Java version is 1.4 or 1.5
> --> WARNING: The graphviz (dot) version found by tos-check-env is
not 1.10.
> Please update your graphviz version if you'd like to use the nescdoc
> documentation generator.
> *
> 
> I cant understand why i get the error on Java, i have the java6 JRE
> installed ^^
> 
> 
> Regards,
> Giuseppe
> 


More information about the Tinyos-help mailing list