Thanks philip, have started using the micaz sim options with make. Still a few issues.
1> Have started using the tiny OS 2.0 developement branch. And since the below question are aimed on issues pertaining to code from this branch should I be posting on this list or the developers list ?
2> Trying to make Blink work. As a first step I had to include quiet a few directories to remove some of the compilation erros. Also the %T tag doesn't work in the Makefile I had to explicityly put in $(TOSDIR) to get it running.

3> Still having quiet a few compile errors :(. All the syntax errors seem to be related to the use of the bool data type. Traditionally C does not support the bool datatype, not sure if nesc1.2 does and hence do I have to update the nesc-1.2 compiler by building it from source ?

Thanks for all the help,
regards,
Avinash

On 1/16/06, Philip Levis <[EMAIL PROTECTED]> wrote:
On Jan 16, 2006, at 9:04 AM, Avinash Sridharan wrote:

> Hi All,
>  Is the bool data type supported in nesc-1.2. I installed
> tinyos-2.x and the required tools from the rpms provided on the
> tinyos website but unfortunately when I try to compile Blink.nc as
> make pc I am getting compilation errors.
>
>  The errors that I am getting are systanx errors in included
> interfaces where the return for function prototypes are bool. When
> I change this to int it goes through fine.
>
> A more general question is there a problem with the pc.rules file
> as well in the rpm's provided  (as in is this an old snapshot and
> should I update to the latest), since I am having to make quiet a
> few changes to get it working. The problem is that it seems quite a
> few directories such as system, interfaces and certain directories
> under lib (timer etc) aren't included which leads to compilation
> errors.
>
>  I am trying to get tinyos-2.x running under FC4 with gcc 3.4.3

There is no "pc" target in 2.x. We'll be sure to remove the
associated makefiles for the release. I apologize for the confusion.
There is a TOSSIM, but you compile it by using the "sim" option.
E.g.: make micaz sim.

Phil

-------

"We shall not cease from exploration
And the end of all our exploring
Will be to arrive where we started
And know the place for the first time."

- T. S. Eliot,  'Little Gidding'



_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to