Hello,
I try to use "The TinyOS printf Library (2.0.2 Release)" but I got these 
problems. 
1) when trying: cvs 
-d:pserver:anonym...@tinyos.cvs.sourceforge.net:/cvsroot/tinyos login
I got error that : Unknown host tinyos.cvs.sourceforge.net.
when searching on the web I understand that it is a network config problem.
that I go to the site: 
http://www.tinyos.net/tinyos-2.x/apps/tutorials/Printf/ and I downloaded the 
required file.
But when compiling I got the following error:

In component `TestPrintfC':
TestPrintfC.nc: In function `Boot.booted':
TestPrintfC.nc:54: implicit declaration of function `printfflush'
make: *** [exe0] Error 1

I did the patch as mentioned in the tutorial but I got the same error.
Any help please
 
**********************************************
Omar Cheikhrouhou 
Engineer & Researcher @SENS Lab (Software Engineering and Network Security)
Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 
Sfax. BP 88 A - 3099 El Bustan Sfax Telephone :  (+216)74 237425  Poste : 
437 Fax: : (+216)74 431 386
Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, National 
School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369  
Coordinator C2i @ ISET Sfax (Certified C2i since 2008)




________________________________
De : Raffaele Gravina <raffaele.grav...@gmail.com>
À : chikh omar <enis01a...@yahoo.fr>; TinyOS help 
<tinyos-help@millennium.berkeley.edu>
Envoyé le : Mardi, 30 Juin 2009, 21h09mn 00s
Objet : Re: Re : Re : [Tinyos-help] problem with printf app

Try typing "tos-check-env" and report back what you got in the "rpms:" section 
as well as in the "nesc" section. 

- Raffaele


2009/6/30 chikh omar <enis01a...@yahoo.fr>

How did I know my tinyos version ?
> 
>**********************************************
>Omar Cheikhrouhou 
>Engineer & Researcher @SENS Lab (Software Engineering and Network Security)
>Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 
>Sfax. BP 88 A - 3099 El Bustan Sfax Telephone :   (+216)74 237425   Poste : 
>437 Fax: : (+216)74 431 386
>Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, National 
>School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369  
>Coordinator C2i @ ISET Sfax (Certified C2i since 2008)
>
>
>
>
>
________________________________

>De : Raffaele Gravina <raffaele.grav...@gmail.com>
>À : chikh omar <enis01a...@yahoo.fr>
>Envoyé le : Mardi, 30 Juin 2009, 20h50mn 17s
>Objet : Re: Re : [Tinyos-help] problem with printf app
>
>
>I have TinyOS 2.1 and i got natively the Printf application, which compiles 
>just fine.  
>Which version of TinyOS do you have?
>
>
>- Raf
>
>
>2009/6/30 chikh omar <enis01a...@yahoo.fr>
>
>yes it is included
>>
>>
________________________________
De : Raffaele Gravina <raffaele.grav...@gmail.com>
>>À : chikh omar <enis01a...@yahoo.fr>
>>Cc : tinyos help <tinyos-help@millennium.berkeley.edu>
>>Envoyé le : Mardi, 30 Juin 2009, 19h10mn 48s
>>Objet : Re: [Tinyos-help] problem with printf app
>>
>>
>>Did you verify the PFLAGS += -I$(TOSDIR)/lib/printf/ is included into the 
>>Makefile? 
>>
>>
>>- Raffaele
>>
>>
>>2009/6/30 chikh omar <enis01a...@yahoo.fr>
>>
>>Hello,
>>>In  my version of tinyOS I don't have the printf app 
>>>in "tinyos-2.x/apps/tutorials/Printf"  as mentioned in tutorials.
>>>I download it from the net but when compiling it generate the following 
>>>error.
>>>
>>>In file included from TestPrintfAppC.nc:41:
>>>In component `TestPrintfC':
>>>TestPrintfC.nc: In function `Boot.booted':
>>>TestPrintfC.nc:54: implicit declaration of function `printfflush'
>>>make: *** [exe0] Error 1
>>>
>>> any help please
>>>thanks in advance
>>>**********************************************
>>>Omar Cheikhrouhou 
>>>Engineer & Researcher @SENS Lab (Software Engineering and Network Security)
>>>Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 
>>>Sfax. BP 88 A - 3099 El Bustan Sfax Telephone :     (+216)74 237425     
>>>Poste : 437 Fax: : (+216)74 431 386
>>>Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, National 
>>>School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369  
>>>Coordinator C2i @ ISET Sfax (Certified C2i since 2008)
>>>
>>>_______________________________________________
>>>Tinyos-help mailing list
>>>Tinyos-help@millennium.berkeley.edu
>>>https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>>
>>-- 
>>Raffaele Gravina | Research Engineer
>>
>>Wireless Sensor Networks Lab Berkeley
>>2000 Hearst Ave, suite 304
>>Berkeley, CA 94709
>>   +1 510 666 0174    ext. 101
>>
>>
>
>
>-- 
>Raffaele Gravina | Research Engineer
>
>Wireless Sensor Networks Lab Berkeley
>2000 Hearst Ave, suite 304
>Berkeley, CA 94709
>  +1 510 666 0174   ext. 101
>
>


-- 
Raffaele Gravina | Research Engineer

Wireless Sensor Networks Lab Berkeley
2000 Hearst Ave, suite 304
Berkeley, CA 94709
 +1 510 666 0174  ext. 101



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

Reply via email to