This isn't a XubunTOS problem.

Here is your problem:

/opt/tinyos-2.x/tos/system/tos.h:36:22: platform.h: No such file or
directory

Here is your solution:

$ touch /opt/tinyos-2.x/tos/platforms/yamp/platform.h

It corrects the first error in your output, and the rest of the lesson
works fine.  All platforms in /opt/tinyos-2.x/tos/platforms have an
empty platform.h.  I don't know why that's not in Lesson 10. But I'll
talk to the author and see about getting it added.

Cheers
Chad


On 10/2/07, mejda chouaieb <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I installed Xubuntos live cd in a virtual machine and I tried to execute
> the yamp application (tinyos tutorials lesson 10) but I have these problems,
> when I type make telosb it's ok but when I type:
>
>
>
>
> [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Null# make yamp
> mkdir -p build/yamp
>     compiling NullAppC to a yamp binary
> ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d
> -Wnesc-all -target=yamp -fnesc-cfile=build/yamp/app.c -board=
> NullAppC.nc -lm
> /opt/tinyos-2.x/tos/system/tos.h:36:22: platform.h: No such file or
> directory
> <commandline>: failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
> In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:36:
> In interface `Scheduler':
> /opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: only commands and events
> can be defined in interfaces
> /opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: warning: return-type
> defaults to `int'
> /opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: syntax error before
> `runNextTask'
> In file included from /opt/tinyos-2.x/tos/platforms/yamp/hardware.h:3,
>                  from /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41,
>                  from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40:
>


-- 
Chad @ Home
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to