Hi,

The error message clearly stated what you've done wrong.

1. For make command, it should not be "make pc" but make <target> with the
list of target indicated in the error message, in your case, they are:
*        Valid targets: all clean epic eyesIFX eyesIFXv1 eyesIFXv2
intelmote2 iris mica2 mica2dot micaz mulle null sam3s_ek sam3u_ek shimmer
shimmer2 shimmer2r span telos telosa telosb tinynode tmote ucmini z1*

Try another make to see if it works, for example: make micaz

2. For the Tinyviz, the message means that the java class has not yet
compiled, thus can not be found. To fix it, on the Ternimal, enter the
folder <tinyoshome>/support/sdk/java and try to execute the make command to
compile all and check the ninyviz again.

Best,

Ha.

On Wed, Dec 5, 2012 at 12:57 PM, prakhar bansal <[email protected]>wrote:

> Hi all,
>
> I have installed tinyos on ubuntu 12.04 64-bit machine.
> Right now, I'm facing 2 problems.
>
> 1. When running 'make pc' in /apps/Blink, I'm getting:
> *
> /opt/tinyos-2.1.2/support/make/Makerules:180: ***
>
> Usage:  make <target> <extras>
>         make <target> help
>
>         Valid targets: all clean epic eyesIFX eyesIFXv1 eyesIFXv2
> intelmote2 iris mica2 mica2dot micaz mulle null sam3s_ek sam3u_ek shimmer
> shimmer2 shimmer2r span telos telosa telosb tinynode tmote ucmini z1
>         Valid extras: appdoc blip cc2420x cc2420x_32khz coap cthreads docs
> dynthreads ident_flags nowiring rst safe savepp sim sim-fast sim-sf
> stack-check tframe threads tos_buildinfo tos_image tosboot tunit verbose
> wiring
>
>  Welcome to the TinyOS make system!
>
>  You must specify one of the valid targets and possibly some combination of
>  the extra options.  Many targets have custom extras and extended help, so
> be
>  sure to try "make <target> help" to learn of all the available features.
>
>  Global extras:
>
>    docs    : compile additional nescdoc documentation
>    tinysec : compile with TinySec secure communication
>
> ERROR, "pc ident_flags tos_image tosboot" does not specify a valid
> target.  Stop.
> *
>
> WHY...??
>
>
> 2. I'm unable to start Tinyviz
>
> java net.tinyos.sim.SimDriver
>
> *Exception in thread "main" java.lang.NoClassDefFoundError:
> net/tinyos/sim/SimDriver
> Caused by: java.lang.ClassNotFoundException: net.tinyos.sim.SimDriver
>     at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> Could not find the main class: net.tinyos.sim.SimDriver. Program will exit.
> *
> I'm not getting it. Please help me out.
>
> --
> Thanks & Regards,
> Prakhar Bansal
> M.Tech Final Year
> Computer Science & Engineering
> Motilal Nehru National Institute of Technology, Allahabad
>
>
>
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to