Hi all, I'm trying to compile PppRouter and UDPEcho from the svn tinyos-main-read-only branch. Target platform is TelosB. I've downloaded and built mspgcc4, then configured my path like this: export PATH=/opt/msp430-gcc-4.4.5/bin/:$PATH, to be sure to use the right version of msp430-gcc.
This is what I get for PppRouter (the output is similar for UDPEcho). Any idea what I'm doing wrong? Thanks -Vincent /opt/tinyos-main-read-only/apps/PppRouter$ make telosb blip mkdir -p build/telosb compiling PppRouterC to a telosb binary ncc -o build/telosb/main.exe -Os -O -DRPL_ROUTING -DRPL_STORING_MODE -I/opt/tinyos-main-read-only/tos/lib/net/rpl -DIN6_PREFIX=\"fec0::\" -I/opt/tinyos-main-read-only/tos/lib/ppp -I/opt/tinyos-main-read-only/tos/lib/fragpool -DIN6_PREFIX=\"fec0::\" -DCC2420_HW_ACKNOWLEDGEMENTS -DCC2420_HW_ADDRESS_RECOGNITION -DPACKET_LINK -DTOSH_DATA_LENGTH=90 -I/opt/tinyos-main-read-only/tos/lib/net/ -I/opt/tinyos-main-read-only/tos/lib/printf/ -I/opt/tinyos-main-read-only/support/sdk/c/blip/ -I/opt/tinyos-main-read-only/tos/lib/net/blip/ -I/opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/ -I/opt/tinyos-main-read-only/tos/lib/net/blip/nwprog/ -I/opt/tinyos-main-read-only/tos/lib/net/blip/shell/ -I/opt/tinyos-main-read-only/tos/lib/net/blip/serial/ -I/opt/tinyos-main-read-only/tos/lib/net/blip/platform/ -I/opt/tinyos-main-read-only/tos/lib/net/blip/icmp/ -I/opt/tinyos-main-read-only/tos/lib/net/blip/dhcp/ /opt/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/iovec.c /opt/tinyos-m! ain-read-only/support/sdk/c/blip/lib6lowpan/in_cksum.c /opt/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/ip_malloc.c /opt/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/utility.c /opt/tinyos-main-read-only/tos/lib/net/blip/table.c -mdisable-hwmul -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"PppRouterC\" -DIDENT_USERNAME=\"tai\" -DIDENT_HOSTNAME=\"tai-desktop\" -DIDENT_USERHASH=0xde281e84L -DIDENT_TIMESTAMP=0x4e098bccL -DIDENT_UIDHASH=0x19074cd6L PppRouterC.nc -lm In file included from <command-line>:0: /tmp/nesccppm2BEoAwk:1188:1: warning: "RESET_VECTOR" redefined /tmp/nesccppm2BEoAwk:1180:1: warning: this is the location of the previous definition In file included from <command-line>:0: /tmp/nesccppm1XTd7J1:1188:1: warning: "RESET_VECTOR" redefined /tmp/nesccppm1XTd7J1:1180:1: warning: this is the location of the previous definition In file included from <command-line>:0: /tmp/nesccppm2BEoAwk:1188:1: warning: "RESET_VECTOR" redefined /tmp/nesccppm2BEoAwk:1180:1: warning: this is the location of the previous definition In file included from <command-line>:0: /tmp/nesccppm1XTd7J1:1188:1: warning: "RESET_VECTOR" redefined /tmp/nesccppm1XTd7J1:1180:1: warning: this is the location of the previous definition In file included from <command-line>:0: .... .... In file included from <command-line>:0: /tmp/nesccppm2UgdIEN:1188:1: warning: "RESET_VECTOR" redefined /tmp/nesccppm2UgdIEN:1180:1: warning: this is the location of the previous definition /opt/tinyos-main-read-only/tos/lib/net/blip/shell/UDPShellP.nc:248: warning: call via function pointer /opt/tinyos-main-read-only/tos/platforms/telosa/PlatformHdlcUartP.nc:181: warning: `HdlcUart.receivedByte' called asynchronously from `UsartInterrupts.rxDone' /tmp/cc2JSm41.s: Assembler messages: /tmp/cc2JSm41.s:84: Error: unrecognized symbol type "" /tmp/cc2JSm41.s:84: Error: junk at end of line, first unrecognized character is `$' /tmp/cc2JSm41.s:88: Error: unknown opcode `msp430timercapcomp$0__event__fired:' /tmp/cc2JSm41.s:90: Error: unknown pseudo-op: `.l__framesize_msp430timercapcomp' /tmp/cc2JSm41.s:91: Error: unknown pseudo-op: `.l__frameoffset_msp430timercapcomp' /tmp/cc2JSm41.s:100: Error: expected comma after name `Msp430TimerCapComP' in .size directive /tmp/cc2JSm41.s:104: Error: unrecognized symbol type "" /tmp/cc2JSm41.s:104: Error: junk at end of line, first unrecognized character is `$' /tmp/cc2JSm41.s:108: Error: unknown opcode `msp430timercapcomp$1__event__fired:' /tmp/cc2JSm41.s:110: Error: unknown pseudo-op: `.l__framesize_msp430timercapcomp' /tmp/cc2JSm41.s:111: Error: unknown pseudo-op: `.l__frameoffset_msp430timercapcomp' /tmp/cc2JSm41.s:120: Error: expected comma after name `Msp430TimerCapComP' in .size directive /tmp/cc2JSm41.s:124: Error: unrecognized symbol type "" /tmp/cc2JSm41.s:124: Error: junk at end of line, first unrecognized character is `$' /tmp/cc2JSm41.s:128: Error: unknown opcode `msp430timercapcomp$2__event__fired:' /tmp/cc2JSm41.s:130: Error: unknown pseudo-op: `.l__framesize_msp430timercapcomp' /tmp/cc2JSm41.s:131: Error: unknown pseudo-op: `.l__frameoffset_msp430timercapcomp' /tmp/cc2JSm41.s:140: Error: expected comma after name `Msp430TimerCapComP' in .size directive /tmp/cc2JSm41.s:191: Error: unrecognized symbol type "" /tmp/cc2JSm41.s:191: Error: junk at end of line, first unrecognized character is `$' /tmp/cc2JSm41.s:195: Error: unknown opcode `msp430timerp$1__timer__get:' /tmp/cc2JSm41.s:197: Error: unknown pseudo-op: `.l__framesize_msp430timerp' /tmp/cc2JSm41.s:198: Error: unknown pseudo-op: `.l__frameoffset_msp430timerp' /tmp/cc2JSm41.s:210: Error: expected comma after name `Msp430TimerP' in .size directive /tmp/cc2JSm41.s:214: Error: unrecognized symbol type "" /tmp/cc2JSm41.s:214: Error: junk at end of line, first unrecognized character is `$' /tmp/cc2JSm41.s:218: Error: unknown opcode `transformcounterc$0__counter__get:' /tmp/cc2JSm41.s:224: Error: unknown pseudo-op: `.l__framesize_transformcounterc' /tmp/cc2JSm41.s:225: Error: unknown pseudo-op: `.l__frameoffset_transformcounterc' /tmp/cc2JSm41.s:274: Error: expected comma after name `TransformCounterC' in .size directive /tmp/cc2JSm41.s:346: Error: unrecognized symbol type "" /tmp/cc2JSm41.s:346: Error: junk at end of line, first unrecognized character is `$' /tmp/cc2JSm41.s:350: Error: unknown opcode `transformalarmc$0__set_alarm:' /tmp/cc2JSm41.s:356: Error: unknown pseudo-op: `.l__framesize_transformalarmc' /tmp/cc2JSm41.s:357: Error: unknown pseudo-op: `.l__frameoffset_transformalarmc' /tmp/cc2JSm41.s:473: Error: expected comma after name `TransformAlarmC' in .size directive /tmp/cc2JSm41.s:477: Error: unrecognized symbol type "" /tmp/cc2JSm41.s:477: Error: junk at end of line, first unrecognized character is `$' /tmp/cc2JSm41.s:481: Error: unknown opcode `virtualizealarmc$0__setnextalarm:' ..... .... /tmp/cc2JSm41.s:20899: Error: expected comma after name `QueueC' in .size directive /tmp/cc2JSm41.s:20900: Error: unknown opcode `queuec$1__size:' /tmp/cc2JSm41.s:21036: Error: unrecognized symbol type "" /tmp/cc2JSm41.s:21036: Error: junk at end of line, first unrecognized character is `$' /tmp/cc2JSm41.s:21037: Error: expected comma after name `HdlcFramingP' in .size directive /tmp/cc2JSm41.s:21038: Error: unknown opcode `hdlcframingp$0__rxframesend_:' /tmp/cc2JSm41.s:21039: Error: junk at end of line, first unrecognized character is `$' /tmp/cc2JSm41.s:21053: Error: bad expression /tmp/cc2JSm41.s:21053: Error: junk at end of line, first unrecognized character is `0' /tmp/cc2JSm41.s:21054: Error: bad expression /tmp/cc2JSm41.s:21054: Error: junk at end of line, first unrecognized character is `0' /tmp/cc2JSm41.s:21055: Error: bad expression ..... ..... /tmp/cc2JSm41.s:21235: Error: bad expression /tmp/cc2JSm41.s:21235: Error: junk at end of line, first unrecognized character is `3' /tmp/cc2JSm41.s:21252: Error: junk at end of line, first unrecognized character is `$' /tmp/cc2JSm41.s:21253: Error: junk at end of line, first unrecognized character is `$' make: *** [exe0] Error 1 _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help