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: In C file: /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:201: syntax error before `__nesc_atomic_t' /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:202: syntax error before `__nesc_atomic_start' /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:203: syntax error before `reenable_interrupts' /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:210: syntax error before `__nesc_atomic_start' /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:212: warning: type defaults to `int' in declaration of `__x' /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:212: warning: data definition has no type or storage class /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:212: syntax error before `}' /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:213: warning: return-type defaults to `int' /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:213: conflicting types for `__nesc_disable_interrupt' /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:190: previous declaration of `__nesc_disable_interrupt' /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:213: warning: data definition has no type or storage class /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:214: syntax error before `return' /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:217: syntax error before `reenable_interrupts' /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h: In function `__nesc_atomic_end': /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:219: `reenable_interrupts' undeclared (first use in this function) /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:219: (Each undeclared identifier is reported only once /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:219: for each function it appears in.) In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40: In component `SchedulerBasicP': /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc: At top level: /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:86: syntax error before `isWaiting' SchedulerBasicP: `TaskBasic.postTask' not implemented SchedulerBasicP: `Scheduler.init' not implemented SchedulerBasicP: `Scheduler.taskLoop' not implemented SchedulerBasicP: `Scheduler.bool' not implemented In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:41: In component `McuSleepC': /opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:51: syntax error before `dirty' /opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc: In function `McuSleep.sleep': /opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:111: `dirty' undeclared (first use in this function) /opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc: In function `McuPowerState.update': /opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:121: `dirty' undeclared (first use in this function) In file included from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:28, from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33, from /opt/tinyos-2.x/tos/platforms/yamp/PlatformC.nc:11, from /opt/tinyos-2.x/tos/system/MainC.nc:50, from NullAppC.nc:42: In interface `Msp430Timer': /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc: At top level: /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc:35: only commands and events can be defined in interfaces /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc:35: warning: return-type defaults to `int' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc:35: syntax error before `isOverflowPending' In file included from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:29, from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33, from /opt/tinyos-2.x/tos/platforms/yamp/PlatformC.nc:11, from /opt/tinyos-2.x/tos/system/MainC.nc:50, from NullAppC.nc:42: In interface `Msp430TimerControl': /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerControl.nc:32: only commands and events can be defined in interfaces /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerControl.nc:32: warning: return-type defaults to `int' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerControl.nc:32: syntax error before `isInterruptPending' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerControl.nc:37: warning: declaration of `bool' shadows global declaration /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerControl.nc:32: warning: location of shadowed declaration /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerControl.nc:37: syntax error before `low_to_high' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerControl.nc:41: only commands and events can be defined in interfaces /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerControl.nc:41: warning: return-type defaults to `int' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerControl.nc:41: redefinition of `bool' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerControl.nc:41: syntax error before `areEventsEnabled' In file included from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:35, from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33, from /opt/tinyos-2.x/tos/platforms/yamp/PlatformC.nc:11, from /opt/tinyos-2.x/tos/system/MainC.nc:50, from NullAppC.nc:42: In interface `Msp430Capture': /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Capture.nc:52: only commands and events can be defined in interfaces /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Capture.nc:52: warning: return-type defaults to `int' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Capture.nc:52: syntax error before `isOverflowPending' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Capture.nc:68: warning: declaration of `bool' shadows global declaration /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Capture.nc:52: warning: location of shadowed declaration /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Capture.nc:68: syntax error before `synchronous' In file included from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33, from /opt/tinyos-2.x/tos/platforms/yamp/PlatformC.nc:11, from /opt/tinyos-2.x/tos/system/MainC.nc:50, from NullAppC.nc:42: In component `Msp430TimerC': /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:65: `FALSE' undeclared here (not in a function) In file included from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:65, from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33, from /opt/tinyos-2.x/tos/platforms/yamp/PlatformC.nc:11, from /opt/tinyos-2.x/tos/system/MainC.nc:50, from NullAppC.nc:42: In component `Msp430TimerP': /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:37: syntax error before `bool' In file included from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33, from /opt/tinyos-2.x/tos/platforms/yamp/PlatformC.nc:11, from /opt/tinyos-2.x/tos/system/MainC.nc:50, from NullAppC.nc:42: In component `Msp430TimerC': /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:64: too many arguments to component `Msp430TimerA' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:67: `TRUE' undeclared here (not in a function) /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:66: too many arguments to component `Msp430TimerB' In file included from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:68, from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33, from /opt/tinyos-2.x/tos/platforms/yamp/PlatformC.nc:11, from /opt/tinyos-2.x/tos/system/MainC.nc:50, from NullAppC.nc:42: In component `Msp430TimerCapComP': /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerCapComP.nc:79: syntax error before `Control' Msp430TimerCapComP: `Capture.getEvent' not implemented Msp430TimerCapComP: `Capture.setSynchronous' not implemented Msp430TimerCapComP: `Capture.clearOverflow' not implemented Msp430TimerCapComP: `Capture.bool' not implemented Msp430TimerCapComP: `Capture.setEdge' not implemented Msp430TimerCapComP: `Control.setControlAsCapture' not implemented Msp430TimerCapComP: `Control.enableEvents' not implemented Msp430TimerCapComP: `Control.setControlAsCompare' not implemented Msp430TimerCapComP: `Control.disableEvents' not implemented Msp430TimerCapComP: `Control.clearPendingInterrupt' not implemented Msp430TimerCapComP: `Control.bool' not implemented Msp430TimerCapComP: `Control.setControl' not implemented Msp430TimerCapComP: `Control.bool' not implemented Msp430TimerCapComP: `Event.fired' not implemented Msp430TimerCapComP: `Compare.getEvent' not implemented Msp430TimerCapComP: `Compare.setEvent' not implemented Msp430TimerCapComP: `Compare.setEventFromPrev' not implemented Msp430TimerCapComP: `Compare.setEventFromNow' not implemented Msp430TimerCapComP: `Timer.overflow' not implemented In component `Msp430TimerC': /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:82: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:83: cannot find `Event' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:84: cannot find `VectorTimerX0' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:85: cannot find `VectorTimerX1' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:88: cannot find `Control' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:89: cannot find `Compare' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:90: cannot find `Capture' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:91: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:92: cannot find `Event' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:95: cannot find `Control' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:96: cannot find `Compare' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:97: cannot find `Capture' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:98: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:99: cannot find `Event' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:102: cannot find `Control' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:103: cannot find `Compare' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:104: cannot find `Capture' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:105: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:106: cannot find `Event' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:109: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:110: cannot find `Event' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:111: cannot find `VectorTimerX0' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:112: cannot find `VectorTimerX1' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:115: cannot find `Control' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:116: cannot find `Compare' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:117: cannot find `Capture' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:118: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:119: cannot find `Event' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:122: cannot find `Control' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:123: cannot find `Compare' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:124: cannot find `Capture' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:125: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:126: cannot find `Event' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:129: cannot find `Control' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:130: cannot find `Compare' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:131: cannot find `Capture' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:132: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:133: cannot find `Event' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:136: cannot find `Control' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:137: cannot find `Compare' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:138: cannot find `Capture' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:139: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:140: cannot find `Event' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:143: cannot find `Control' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:144: cannot find `Compare' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:145: cannot find `Capture' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:146: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:147: cannot find `Event' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:150: cannot find `Control' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:151: cannot find `Compare' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:152: cannot find `Capture' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:153: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:154: cannot find `Event' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:157: cannot find `Control' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:158: cannot find `Compare' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:159: cannot find `Capture' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:160: cannot find `Timer' /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:161: cannot find `Event' In file included from /opt/tinyos-2.x/tos/system/MainC.nc:50, from NullAppC.nc:42: In component `RealMainP': /opt/tinyos-2.x/tos/system/RealMainP.nc: In function `main': /opt/tinyos-2.x/tos/system/RealMainP.nc:60: implicit declaration of function `platform_bootstrap' /opt/tinyos-2.x/tos/system/RealMainP.nc:69: interface has no command or event named `runNextTask' /opt/tinyos-2.x/tos/system/RealMainP.nc:76: interface has no command or event named `runNextTask' make: *** [exe0] Error 1 I don't know what to do, i'm waiting for Help and thank you in advance ____________________________________________________________________________________________ Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et vos réactions ! http://blog.mail.yahoo.fr _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6) AntiVirus: ClamAV 0.91.2-exp/4456 - Tue Oct 2 17:11:59 2007 AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15 SIGN.DEF 1 Oct07 - SIGN2.DEF 1 Oct07 - MACRO.DEF 1 Oct07 by Markus Madlener @ http://www.copfilter.org
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help