Which platform are you compiling for? Only atmega128 family motes and msp430 motes are supported. The error you are getting is related to having an old version of avr-libc when compiling for the atmega128, but this shouldn't matter because the newest stdio.h header file is included and compiled against appropriately. What version of avr-libc do you have?
Kevin On Dec 18, 2007 5:27 PM, yvonne er <[EMAIL PROTECTED]> wrote: > yes, i download the files from cvs. and i am using TinyOS 2.x, referring > to its tutorial lesson 15 on "The TintOS printf Library". > > Thank you. > Yvonne > > > > On Dec 19, 2007 1:10 AM, Kevin Klues < [EMAIL PROTECTED]> wrote: > > > Are you running from cvs? Or which version of tinyos do you use? > > > > Kevin > > > > On Dec 18, 2007 4:32 AM, yvonne er <[EMAIL PROTECTED]> wrote: > > > > > Dear everyone, > > > > > > I tried running TestPrintf in cygwin, but i have the following error. > > > Please advise. Thank you. > > > > > > > > > In file included from /opt/tinyos-2.x/tos/lib/printf/PrintfC.nc:53, > > > from TestPrintfAppC.nc:42: > > > /opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:51: warning: implicit > > > declaration of function `FDEV_SETUP_STREAM' > > > /opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:51: `_FDEV_SETUP_WRITE' > > > undeclared here (not in a function) > > > /opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:51: invalid initializer > > > /opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:51: (near initialization for > > > `atm128_stdout') > > > > > > > > > Best regards, > > > Yvonne > > > > > > _______________________________________________ > > > Tinyos-help mailing list > > > [email protected] > > > > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > > > > > > -- > > ~Kevin > > > -- ~Kevin
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
