[Tinyos-help] yamp problems with xubuntos

mejda chouaieb mejdachouaieb at yahoo.fr
Thu Oct 4 01:29:37 PDT 2007


Hi,
Thank you for the solution it works.


----- Message d'origine ----
De : Chad Metcalf <metcalfc at gmail.com>
À : mejda chouaieb <mejdachouaieb at yahoo.fr>
Cc : tinyos-help at millennium.berkeley.edu
Envoyé le : Mardi, 2 Octobre 2007, 18h15mn 24s
Objet : Re: [Tinyos-help] yamp problems with xubuntos

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 < mejdachouaieb at yahoo.fr> 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: 




root at mejda-desktop:/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


      ______________________________________________________________________________ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071004/68f6d4f7/attachment.html


More information about the Tinyos-help mailing list