It looks like you are trying to compile something that has a printf debug message in it? There is a printf lib for TOS, but otherwise it's not supported in the system.
MS Rannouna Rania wrote: > Hi all, > > I am trying to compile my application on a real mote (telosb) (the > compiltion on a pc work correctly). > The problem that when I compile using make telosb I have this output: > > /$ make telosb/ > /mkdir -p build/telosb/ > / compiling Eta to a telosb binary/ > /ncc -o build/telosb/main.exe -O -I. -Wall -Wshadow > -DDEF_TOS_AM_GROUP=0x7d -Wnes/ > /c-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= > -I%T/lib/Deluge -Wl/ > /,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000 > -DIDENT_PROGRAM_NA/ > /ME=\"Eta\" -DIDENT_USER_ID=\"rania\" > -DIDENT_HOSTNAME=\"your-01199f19b2\" -DIDEN/ > /T_USER_HASH=0x23006c1eL -DIDENT_UNIX_TIME=0x49f2dee9L > -DIDENT_UID_HASH=0xd362b22/ > /3L -mdisable-hwmul -I/opt/tinyos-1.x/tos/lib/CC2420Radio Eta.nc -lm -L. > -lmiracl/ > / > / > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/msp2/libc.a(pr/ > /intf.o)(.text+0xa): In function `printf':/ > //home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/msp430-libc/src/s/ > /tdlib/printf.c:39: undefined reference to `putchar'/ > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/msp2/libc.a(pu/ > /ts.o)(.text+0x12): In function `puts':/ > //home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/msp430-libc/src/s/ > /tdlib/puts.c:35: undefined reference to `putchar'/ > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../.../../../msp430/lib/msp2/libc.a(pu/ > /ts.o)(.text+0x28):/home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/ > //msp430-libc/src/stdlib/puts.c:38: undefined reference to `putchar'/ > /make: *** [exe0] Error 1/ > > > Can you please help me ?? > Best Regards, > Rania > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
