Hi Abhishek,

If you haven't changed the .bashrc file, the CLASSPATH and the other 
variables (e.g., TOSROOT) should still be set. Can you check that their 
values are correct (echo $TOSROOT $CLASSPATH)?

If their values are as you expect, can you verify that the directories 
and files they point to actually do exist? The command "ls $TOSROOT" 
should not give an error message.

Maybe you installed a slightly different version of tinyos that uses a 
different root path (like /opt/tinyos-2.x or /usr/local/tinyos-2.x).

Cheers,
Urs

Abhishek Phadnis wrote:
> hi
> 
>  i have a serious problem..
> echo $CLASSPATH and MAKERULES do not have an output anymore..havent changed
> anything at all
> completely lost right now..havent made any changes to the bashrc that i sent
> you..i did a fresh install of tinyos..ie after removing all older
> repositories etc but the problem still exists..
> 
> x...@ubuntu:~/AD$ make mica2
> make: *** No rule to make target `mica2'.  Stop.
> 
> this even though everything is the way it should be..was getting everything
> to compile perfectly etc..
> 
> please help!
> 
> abhishek
> 
> 
> 
> 
> 
> 2009/4/30 Urs Hunkeler <[email protected]>
> 
>> Hi Abhishek,
>>
>> Extracting the .jar file should not be a problem (except using a bit more
>> space). Once you configure the CLASSPATH variable correctly, Java should use
>> the version inside tinyos.jar.
>>
>> I think you have a spelling mistake in your CLASSPATH definition.
>>
>> /opt/tinyos-2.1.0/tinyos/support/sdk/java/tinyos.jar (CLASSPATH)
>> vs.
>> /opt/tinyos-2.1.0/support/sdk/java/tinyos.jar
>>
>> There is a "tinyos" too much between tinyos-2.1.0 and support.
>>
>>
>> Cheers,
>> Urs
>>
>>
>> Abhishek Phadnis wrote:
>>
>>> x...@ubuntu:~$ echo $CLASSPATH
>>> /opt/tinyos-2.1.0/tinyos/support/sdk/java/tinyos.jar;.
>>> x...@ubuntu:~$ jar -tf /opt/tinyos-2.1.0/support/sdk/java/tinyos.jar |
>>> grep
>>> SerialForwarder
>>> net/tinyos/sf/SerialForwarder.class
>>> net/tinyos/sf/SerialForwarder$SFMessenger.class
>>> x...@ubuntu:~$
>>>
>>> ummm i think i screwed up a bit..i extracted the tinyos.jar file in the
>>> same
>>> directory /java ...serious consequences?
>>>
>>> 2009/4/30 Urs Hunkeler <[email protected]>
>>>
>>>  Your setup should work as is (without any need for extracting
>>>> tinyos.jar).
>>>> What is the output of the following commands?
>>>>
>>>> echo $CLASSPATH
>>>> jar -tf /opt/tinyos-2.1.0/support/sdk/java/tinyos.jar | grep
>>>> SerialForwarder
>>>>
>>>> The second command should be on a single line. You might want to
>>>> copy/past
>>>> it.
>>>>
>>>>
>>>> Cheers,
>>>> Urs
>>>>
> 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to