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

Giuseppe Barbieri elect86 at gmail.com
Thu Apr 15 03:24:19 PDT 2010


Thanks all, i solved all my problems in this way

elect at elect-laptop:/opt/tinyos-2.1.1/apps/Blink$ sudo make micaz
make: *** No rule to make target `micaz'.  Stop.
=
you can try it without the sudo-command. With the sudo-command I get the
same error too. Also you have to change the permissions/rigths for the
apps-directory "sudo chmod -R 777 /opt/tinyos-2.1.1/apps".
"make micaz sim"


/opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx:139:20: error: Python.h: No
such file or directory
/opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx:2501:4: error: #error "This
python version requires swig to be run with the '-classic' option"
=
sudo apt-get install build-essential python-dev swig python-pygame
&
sudo gedit /support/make/sim.extra
PYTHON_VERSION=2.5 => 2.6 (python -V)
&
elect at elect-laptop:/opt/tinyos-2.1.1/tos/lib/tossim$ sudo sh
generate-swig.bash


Thanks again,
Giuseppe

2010/4/14 Giuseppe Barbieri <elect86 at gmail.com>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100415/f13e381f/attachment-0001.htm 


More information about the Tinyos-help mailing list