Dear all, I am trying to compile the Open-ZB stack for telosb i have downloaded the code from Open-ZB site
http://www.open-zb.net/downloads/hurray2x_beta.zip I have also changed the name of the file PrintfUART.h to printfUART.h in the location "/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/includes/PrintfUART.h" to printfUART.h after the changes i compiled the code ... but it give me the output as [r...@brahmanandha AssociationExample]# make telosb mkdir -p build/telosb compiling AssociationExample to a telosb binary ncc -o build/telosb/main.exe -Os -O -I/opt/tinyos-2.x-contrib/hurray2x/tos/ieee802154/includes -I/opt/tinyos-2.x-contrib/hurray2x/tos/ieee802154/mac -I/opt/tinyos-2.x-contrib/hurray2x/tos/ieee802154/phy -I/opt/tinyos-2.x-contrib/hurray2x/tos/ieee802154/timerasync -I/opt/tinyos-2.x-contrib/hurray2x/tos/ieee802154/interfaces -I/opt/tinyos-2.x-contrib/hurray2x/tos/ieee802154/interfaces/mac -I/opt/tinyos-2.x-contrib/hurray2x/tos/ieee802154/interfaces/phy -I/opt/tinyos-2.x-contrib/hurray2x/tos/chips/cc2420/ieee802154 -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -DIDENT_APPNAME=\"AssociationExam\" -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"brahmanandha\" -DIDENT_USERHASH=0x3afa02fcL -DIDENT_TIMESTAMP=0x4cf532eeL -DIDENT_UIDHASH=0x9f8eb632L AssociationExample.nc -lm /tmp/cc36RWZo.s: Assembler messages: /tmp/cc36RWZo.s:19: Error: junk at end of line, first unrecognized character is `$' /tmp/cc36RWZo.s:20: Error: unrecognized symbol type "" /tmp/cc36RWZo.s:20: Error: junk at end of line, first unrecognized character is `$' /tmp/cc36RWZo.s:21: Error: expected comma after name `McuSleepC' in .size directive /tmp/cc36RWZo.s:22: Error: unknown opcode `mcusleepc$dirty:' /tmp/cc36RWZo.s:24: Error: junk at end of line, first unrecognized character is `$' /tmp/cc36RWZo.s:25: Error: unrecognized symbol type "" /tmp/cc36RWZo.s:25: Error: junk at end of line, first unrecognized character is `$' /tmp/cc36RWZo.s:26: Error: expected comma after name `McuSleepC' in .size directive /tmp/cc36RWZo.s:27: Error: unknown opcode `mcusleepc$powerstate:' /tmp/cc36RWZo.s:29: Error: junk at end of line, first unrecognized character is `$' /tmp/cc36RWZo.s:32: Error: unrecognized symbol type "" /tmp/cc36RWZo.s:32: Error: junk at end of line, first unrecognized character is `$' /tmp/cc36RWZo.s:33: Error: expected comma after name `McuSleepC' in .size directive /tmp/cc36RWZo.s:34: Error: unknown opcode `mcusleepc$msp430powerbits:' /tmp/cc36RWZo.s:41: Error: junk at end of line, first unrecognized character is `$' /tmp/cc36RWZo.s:44: Error: unrecognized symbol type "" /tmp/cc36RWZo.s:44: Error: junk at end of line, first unrecognized character is `$' /tmp/cc36RWZo.s:45: Error: expected comma after name `AssociationExampleM' in .size directive /tmp/cc36RWZo.s:46: Error: unknown opcode `associationexamplem$frame_counte' *** stack smashing detected ***: /opt/msp430/bin/../lib/gcc-lib/msp430/3.2.3/../../../../msp430/bin/as terminated ======= Backtrace: ========= /lib/libc.so.6(__fortify_fail+0x4d)[0x397c5d] /lib/libc.so.6[0x397c0a] /opt/msp430/bin/../lib/gcc-lib/msp430/3.2.3/../../../../msp430/bin/as[0x806ab97] /opt/msp430/bin/../lib/gcc-lib/msp430/3.2.3/../../../../msp430/bin/as[0x805eec6] /opt/msp430/bin/../lib/gcc-lib/msp430/3.2.3/../../../../msp430/bin/as[0x804ae26] /opt/msp430/bin/../lib/gcc-lib/msp430/3.2.3/../../../../msp430/bin/as[0x804bc6d] /lib/libc.so.6(__libc_start_main+0xe6)[0x2babb6] /opt/msp430/bin/../lib/gcc-lib/msp430/3.2.3/../../../../msp430/bin/as[0x80496f1] ======= Memory map: ======== 00282000-002a0000 r-xp 00000000 fd:00 109767 /lib/ld-2.11.so 002a0000-002a1000 r--p 0001d000 fd:00 109767 /lib/ld-2.11.so 002a1000-002a2000 rw-p 0001e000 fd:00 109767 /lib/ld-2.11.so 002a4000-00412000 r-xp 00000000 fd:00 109768 /lib/libc-2.11.so 00412000-00413000 ---p 0016e000 fd:00 109768 /lib/libc-2.11.so 00413000-00415000 r--p 0016e000 fd:00 109768 /lib/libc-2.11.so 00415000-00416000 rw-p 00170000 fd:00 109768 /lib/libc-2.11.so 00416000-00419000 rw-p 00000000 00:00 0 00d21000-00d3e000 r-xp 00000000 fd:00 19035 /lib/libgcc_s-4.4.2-20091027.so.1 00d3e000-00d3f000 rw-p 0001c000 fd:00 19035 /lib/libgcc_s-4.4.2-20091027.so.1 00dde000-00ddf000 r-xp 00000000 00:00 0 [vdso] 08048000-080da000 r-xp 00000000 fd:00 110522 /opt/msp430/msp430/bin/as 080da000-080dc000 rw-p 00091000 fd:00 110522 /opt/msp430/msp430/bin/as 080dc000-080e8000 rw-p 00000000 00:00 0 08ae2000-08b03000 rw-p 00000000 00:00 0 [heap] b7774000-b78ba000 rw-p 00000000 00:00 0 b78c8000-b78ca000 rw-p 00000000 00:00 0 bfc1a000-bfc2f000 rw-p 00000000 00:00 0 [stack] msp430-gcc: Internal error: Aborted (program as) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make: *** [exe0] Error 1 [r...@brahmanandha AssociationExample]# If anyone have done the process of compiling the Open-ZB for telosb. Plz do say some solution for it. Thanks, Brahmanandha Prabhu R
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
