This is the output that I got.

/tools/java/javapath: No such file or directory
bash: $'\r': command not found
': not a valid identifier
': not a valid identifier
': not a valid identifier
': not a valid identifier
bash: $'\r': command not found

Why would Java be a factor?


2009/4/23 王悦 <[email protected]>

> OK, I am also a newbie. I'm using TinyOS-2.1.0 downloaded from Stanford
> source, working under Ubuntu 8.10.
>
> Here in /opt/tinyos-2.1.0/, there is a file called tinyos.sh.
>
> You can simply add one line in the end of your ~/.bash.rc:
> source /opt/tinyos-2.1.0/tinyos.sh
>
> When you restart the bash, environment variables regarding TinyOS are set
> up for you. You can check it by
> echo $MAKERULES
> to see if there has been anything new.
>
> Your Makefile seems a bit strange. For now, mine is copied from one of the
> apps/, e.g. /Blink/Makefile, and change the component name to my own
> component's.
>
> You may find this valuable:
> http://docs.tinyos.net/index.php/Java_cygwin
>
> 2009/4/24 John Smith <[email protected]>
>
> This is my present Makefile.
>>
>> COMPONENT=Tree
>> PFLAGS=-I%T/lib/Counters
>> include ../Makerules
>>
>> I've never heard of the MAKERULES variable.  What changes would I need to
>> make?  Makefiles aren't my strongest subject :-) .
>>
>>
>> On Thu, Apr 23, 2009 at 9:26 AM, 王悦 <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> You may check whether the environment variable $MAKERULES is pointing to
>>> the right file.
>>>
>>> Makerules is in some directory called $TOSROOT/support/make/*Makerules*
>>> ...
>>>
>>> On Thu, Apr 23, 2009 at 8:55 PM, John Smith 
>>> <[email protected]>wrote:
>>>
>>>> Hi everone :) .
>>>>
>>>> I'm new to this.
>>>>
>>>> Here is what happens when I compile the apps folder using cygwin.
>>>>
>>>> $ make
>>>> Blink....
>>>> ../Makerules:26: /opt/tinyos-2.x/tos/../apps/Makerules: No such file or
>>>> director
>>>> y
>>>> make[1]: *** No rule to make target
>>>> `/opt/tinyos-2.x/tos/../apps/Makerules'.  St
>>>> op.
>>>> make: *** [all] Error 1
>>>>
>>>> Why is this happening?
>>>>
>>>> _______________________________________________
>>>> Tinyos-help mailing list
>>>> [email protected]
>>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards
>>>
>>> Wang Yue
>>> School of Information Security Engineering
>>> Shanghai Jiao Tong University
>>> P.R.China
>>>
>>
>>
>
>
> --
> Best Regards
>
> Wang Yue
> School of Information Security Engineering
> Shanghai Jiao Tong University
> P.R.China
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to