Hi, Thanks a lot for helping me. the installation worked fine but when I try make telosb for the Blink, It gives me many errors, I correctly set the path, I don't know what is going on! is it from the ubuntu 9.1 version?? Regards opt/tinyos-2.1.0/tos/system/LedsP.nc:45: syntax error before `Init' LedsP: `Init.error_t' not implemented LedsP: `Leds.led0Off' not implemented LedsP: `Leds.led0Toggle' not implemented LedsP: `Leds.led1On' not implemented LedsP: `Leds.led1Toggle' not implemented LedsP: `Leds.led2Toggle' not implemented LedsP: `Leds.led2Off' not implemented LedsP: `Leds.led1Off' not implemented LedsP: `Leds.uint8_t' not implemented LedsP: `Leds.set' not implemented LedsP: `Leds.led0On' not implemented LedsP: `Leds.led2On' not implemented In file included from /opt/tinyos-2.1.0/tos/platforms/telosa/PlatformLedsC.nc:38, from /opt/tinyos-2.1.0/tos/system/LedsC.nc:38, from BlinkAppC.nc:45: In component `HplMsp430GeneralIOC': /opt/tinyos-2.1.0/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax error before `;' In file included from /opt/tinyos-2.1.0/tos/chips/msp430/pins/Msp430GpioC.nc:33, from /opt/tinyos-2.1.0/tos/platforms/telosa/PlatformLedsC.nc:39, from /opt/tinyos-2.1.0/tos/system/LedsC.nc:38, from BlinkAppC.nc:45: In component `Msp430Timer32khzMapC': /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:39: syntax error before `uint8_t' /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:40: syntax error before `uint8_t' /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:41: syntax error before `uint8_t' /opt/tinyos-2.1.0/tos/platforms/telosa/Msp430Timer32khzMapC.nc:47: too many arguments In component `CounterToLocalTimeC': /opt/tinyos-2.1.0/tos/lib/timer/CounterToLocalTimeC.nc:38: syntax error before `uint32_t' /opt/tinyos-2.1.0/tos/lib/timer/CounterToLocalTimeC.nc:42: syntax error before `LocalTime' In component `HilTimerMilliC': /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:47: no match /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:48: no match /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:50: cannot find `TimerFrom' /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:51: cannot find `Alarm' /opt/tinyos-2.1.0/tos/chips/msp430/timer/HilTimerMilliC.nc:52: cannot find `Counter' In component `TimerMilliC': /opt/tinyos-2.1.0/tos/system/TimerMilliC.nc:44: too many arguments make: *** [exe0] Erreur 1
1. Open a terminal and write: sudo gedit /etc/apt/sources.list 2. paste this at the end: deb http://tinyos.stanford.edu/tinyos/dists/ubuntu karmic main really should be: 1. Open a terminal and write: sudo gedit /etc/apt/sources.list 2. paste this at the end: deb http://tinyos.stanford.edu/tinyos/dists/ubuntu hardy main On Sat, Mar 20, 2010 at 2:45 PM, Fabien CHRAIM <[email protected]> wrote: It seems this page is more appropriate to you: http://docs.tinyos.net/index.php/Getting_started_using_Ubuntu_9.10_and_TelosB_motes It's because of your ubuntu distribution. Fabien. On Sat, Mar 20, 2010 at 12:15 PM, ghada zaibi <[email protected]> wrote: Thanks for you answer, but the 4th step give me this error: Err http://tinyos.stanford.edu karmic/main Packages 404 Not Found W: Impossible de récupérer http://tinyos.stanford.edu/tinyos/dists/ubuntu/dists/karmic/main/binary-i386/Packages.gz 404 Not Found E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place. E: Impossible de verrouiller /var/lib/dpkg/lock - open (11: Ressource temporairement non disponible) E: Impossible de verrouiller le répertoire d'administration (/var/lib/dpkg/). Il est possible qu'un autre processus l'utilise. How can I fix it? Thanks --- En date de : Sam 20.3.10, Fabien CHRAIM <[email protected]> a écrit : De: Fabien CHRAIM <[email protected]> Objet: Re: [Tinyos-help] Tinyos2.1 and Karmic distribution À: "ghada zaibi" <[email protected]> Cc: [email protected] Date: Samedi 20 mars 2010, 19h39 1. Open a terminal and write: sudo gedit /etc/apt/sources.list 2. paste this at the end: deb http://tinyos.stanford.edu/tinyos/dists/ubuntu karmic main 3. save and close 4. again from the terminal: sudo apt-get update 5. then: sudo apt-get install tinyos if step 5 does not work, try: sudo apt-get install tinyos-2.1.0 6. sudo gedit ~/.bashrc 7. paste this: #Sourcing the tinyos environment variable setup script source /opt/tinyos-2.1.0/tinyos.sh That should do it. Fabien. On Sat, Mar 20, 2010 at 3:52 AM, ghada zaibi <[email protected]> wrote: HI all, I want to install tinyos 2.1 on ubuntu 9.1, so I'm following this tutorial: http://docs.tinyos.net/index.php/Installing_TinyOS_2.1 But when I wrote sudo apt-get install tinyos, I got an error E: Aucun paquet ne correspond au paquet tinyos; Can anyone help me to fix my problem. is there a tinyos version that support karmic distribution?? Thanks _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
