It simply do not work. As I don't know exactly what is happening, I am
forwarding the error messages that appeared. I don't know how to solve
this issue, if someone could help me.
This is the printf tutorial, it doesn't even compile.
"[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/tutorials/Printf$ sudo make mica2
mkdir -p build/mica2
compiling TestPrintfAppC to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb
-I/opt/tinyos-2.x/tos/lib/printf -DIDENT_PROGRAM_NAME=\"TestPrintfAppC\"
-DIDENT_USER_ID=\"root\" -DIDENT_HOSTNAME=\"fhg07\"
-DIDENT_USER_HASH=0xd175f63cL -DIDENT_UNIX_TIME=0x48fcaa3bL
-DIDENT_UID_HASH=0x81c1d469L -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/mica2/wiring-check.xml TestPrintfAppC.nc -lm
In file included from /opt/tinyos-2.x/tos/lib/printf/PrintfC.nc:53,
from /opt/tinyos-2.x/tos/lib/printf/MainC.nc:51,
from TestPrintfAppC.nc:41:
/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')
In component `MainC':
/opt/tinyos-2.x/tos/lib/printf/MainC.nc:55: cannot find `MainBoot'
/opt/tinyos-2.x/tos/lib/printf/MainC.nc:59: no match
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"
Thanks,
Fernando.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help