Hi All,

   Same errors for me for imote2.

On Thu, Feb 26, 2009 at 8:29 PM, Ivan-Vanja Kablar <[email protected]
> wrote:

> Hi,
>
> when I compile the Printf application for the micaz platform everything
> works fine.
>
> When I try the same for the Intelmote2 platform i get the following error
> message:
>
> r...@his-desktop:/opt/tinyos-2.x/apps/tutorials/Printf# make intelmote2
> mkdir -p build/intelmote2
> xscale-elf-gcc -c  /opt/tinyos-2.x/tos/platforms/intelmote2/toscrt0.s
> /opt/tinyos-2.x/tos/chips/pxa27x/pxa27x_util.s -o build/intelmote2/asms.o
>    compiling TestPrintfAppC to a intelmote2 binary
> ncc -o build/intelmote2/main.exe -Os -Wall -Wshadow -Wnesc-all
> -target=intelmote2 -fnesc-cfile=build/intelmote2/app.c -board=
> -DDEFINED_TOS_AM_GROUP=0x22 -I/opt/tinyos-2.x/tos/lib/printf
> -DIDENT_APPNAME=\"TestPrintfAppC\" -DIDENT_USERNAME=\"root\"
> -DIDENT_HOSTNAME=\"his-desktop\" -DIDENT_USERHASH=0x97100612L
> -DIDENT_TIMESTAMP=0x49a6ad08L -DIDENT_UIDHASH=0x3f8f7e18L -DPXA27X_13M
> -T/opt/tinyos-2.x/tos/platforms/intelmote2/tos.x   TestPrintfAppC.nc -lm
>  build/intelmote2/asms.o
> In file included from /opt/tinyos-2.x/tos/lib/printf/PrintfC.nc:56,
>                 from /opt/tinyos-2.x/tos/lib/printf/MainC.nc:51,
>                 from TestPrintfAppC.nc:41:
> In component `PrintfP':
> /opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:170: syntax error before `if'
> /opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:172: warning: return-type
> defaults to `int'
> /opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:172: conflicting types for
> `sendNext'
> /opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:132: previous declaration of
> `sendNext'
> /opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:172: warning: data definition has
> no type or storage class
> /opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:174: syntax error before `atomic'
> In file included from TestPrintfAppC.nc:41:
> In component `TestPrintfC':
> TestPrintfC.nc: In function `Boot.booted':
> TestPrintfC.nc:50: implicit declaration of function `printf'
> make: *** [exe0] Error 1
> r...@his-desktop:/opt/tinyos-2.x/apps/tutorials/Printf# dir
> build  Makefile  TestPrintfAppC.nc  TestPrintfC.nc
> r...@his-desktop:/opt/tinyos-2.x/apps/tutorials/Printf#


Same error for me too for imote2

>
>
>
> Has anyone an answer?


Unfortunately no replies till date :-(

>
>
> Ivan-Vanja
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
> http://www.gmx.net/de/go/multimessenger01
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

Regards,
Pratik
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to