[Tinyos-help] Beginners help

Peter Mueller peter.o.mueller at gmx.de
Sat Dec 23 11:23:39 PST 2006


Hi,

I'm new to tinyos (but not to uCs etc).

I followed the installation guide for the 2.x version and installed cygwin from the package offered on tinyos.net

Installation seems to be ok. Only tos-check-env reported a wrong dot version (mine is newer).

But when I try to compile the Blink example for the tinynode several pages of errors appear. I don't believe they are tinynode related. But indicate a general problem of my installation. Here the first lines of output:


$ make tinynode
mkdir -p build/tinynode
    compiling BlinkAppC to a tinynode binary
ncc -o build/tinynode/main.exe -Os -Os -mdisable-hwmul -mstrict-align -Wall -Wsh
adow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=tinynode -fnesc-cfile=build/tiny
node/app.c -board=  -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fn
esc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/tinynode/
wiring-check.xml BlinkAppC.nc -lm
/cygdrive/c/Temp/cczxLXV0.s: Assembler messages:
/cygdrive/c/Temp/cczxLXV0.s:4: Error: junk at end of line, first unrecognized ch
aracter is `$'
/cygdrive/c/Temp/cczxLXV0.s:6: Error: unrecognized symbol type ""
/cygdrive/c/Temp/cczxLXV0.s:6: Error: junk at end of line, first unrecognized ch
aracter is `$'
/cygdrive/c/Temp/cczxLXV0.s:7: Error: expected comma after name `McuSleepC' in .
size directive
/cygdrive/c/Temp/cczxLXV0.s:8: Error: unknown opcode `mcusleepc$dirty:'
/cygdrive/c/Temp/cczxLXV0.s:10: Error: junk at end of line, first unrecognized c
haracter is `$'
/cygdrive/c/Temp/cczxLXV0.s:11: Error: unrecognized symbol type ""
/cygdrive/c/Temp/cczxLXV0.s:11: Error: junk at end of line, first unrecognized c
haracter is `$'
/cygdrive/c/Temp/cczxLXV0.s:12: Error: expected comma after name `McuSleepC' in
.size directive
/cygdrive/c/Temp/cczxLXV0.s:13: Error: unknown opcode `mcusleepc$powerstate:'
/cygdrive/c/Temp/cczxLXV0.s:15: Error: junk at end of line, first unrecognized c
haracter is `$'
/cygdrive/c/Temp/cczxLXV0.s:18: Error: unrecognized symbol type ""
/cygdrive/c/Temp/cczxLXV0.s:18: Error: junk at end of line, first unrecognized c
haracter is `$'
/cygdrive/c/Temp/cczxLXV0.s:19: Error: expected comma after name `McuSleepC' in
.size directive
/cygdrive/c/Temp/cczxLXV0.s:20: Error: unknown opcode `mcusleepc$msp430powerbits
:'
/cygdrive/c/Temp/cczxLXV0.s:114: Error: unrecognized symbol type ""
/cygdrive/c/Temp/cczxLXV0.s:114: Error: junk at end of line, first unrecognized
character is `$'
/cygdrive/c/Temp/cczxLXV0.s:118: Error: unknown opcode `msp430dcocalibp$timermic
ro$overf'
/cygdrive/c/Temp/cczxLXV0.s:120: Error: unknown pseudo-op: `.l__framesize_msp430
dcocalibp'

My compiler (on cygwin):
$ ncc --version
ncc: 1.2.1
nescc: 1.2.7b
gcc: gcc (GCC) 3.3.3 (cygwin special)


Any ideas?

Thanks,
Peter
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the Tinyos-help mailing list