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/tos/lib/net/rpl -I/opt/tinyos/tos/lib/ppp -I/opt/tinyos/tos/lib/fragpool -DPPP_HDLC_RX_FRAME_LIMIT=1 -DPPP_HDLC_TX_FRAME_LIMIT=8 -DIN6_PREFIX=\"fec0::\" -DBLIP_DERIVE_SHORTADDRS -DCC2420_HW_ACKNOWLEDGEMENTS -DCC2420_HW_ADDRESS_RECOGNITION -DPACKET_LINK -DTOSH_DATA_LENGTH=112 -I/opt/tinyos/tos/lib/net/ -I/opt/tinyos/tos/lib/printf/ -I/opt/tinyos/support/sdk/c/blip/ -I/opt/tinyos/tos/lib/net/blip/ -I/opt/tinyos/tos/lib/net/blip/interfaces/ -I/opt/tinyos/tos/lib/net/blip/nwprog/ -I/opt/tinyos/tos/lib/net/blip/shell/ -I/opt/tinyos/tos/lib/net/blip/serial/ -I/opt/tinyos/tos/lib/net/blip/platform/ -I/opt/tinyos/tos/lib/net/blip/icmp/ -I/opt/tinyos/tos/lib/net/blip/dhcp/ /opt/tinyos/support/sdk/c/blip/lib6lowpan/iovec.c /opt/tinyos/support/sdk/c/blip/lib6lowpan/in_cksum.c /opt/tinyos/support/sdk/c/blip/lib6lowpan/ip_malloc.c /opt/tinyos/support/sdk/c/blip/lib6lowpan/utility.c /opt/tinyos/tos/lib/net/blip/table.c -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=\"ubuntu\" -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xf67b89f7L -DIDENT_TIMESTAMP=0x4ed7f4e0L -DIDENT_UIDHASH=0x839cc16fL PppRouterC.nc -lm /opt/tinyos/tos/platforms/telosa/PlatformHdlcUartC.nc:40:2: warning: #warning Enabling DMA on UART1RX /opt/tinyos/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning "*** LOW POWER COMMUNICATIONS DISABLED ***" /opt/tinyos/tos/chips/cc2420/link/PacketLinkC.nc:38:2: warning: #warning "*** USING PACKET LINK LAYER" /opt/tinyos/tos/lib/net/blip/shell/UDPShellP.nc:260: warning: call via function pointer /opt/tinyos/tos/platforms/telosa/PlatformHdlcUartP.nc:181: warning: `HdlcUart.receivedByte' called asynchronously from `UsartInterrupts.rxDone' /usr/bin/../lib/gcc/msp430/4.5.3/../../../../msp430/bin/ld: build/telosb/main.exe section `.text' will not fit in region `rom' /usr/bin/../lib/gcc/msp430/4.5.3/../../../../msp430/bin/ld: section .vectors loaded at [0000ffe0,0000ffff] overlaps section .text loaded at [00004000,00011993] /usr/bin/../lib/gcc/msp430/4.5.3/../../../../msp430/bin/ld: region `rom' overflowed by 6806 bytes collect2: ld returned 1 exit status make: *** [exe0] Error 1 Using latest tools from http://tinyprod.net/debian-dev/ However it did not compile with stanford version either, so I guess it is not question of toolchain.
Today (12 hours ago)
, Fix is commenting #OPTFLAGS += -O in support/make/telosb.target.
No comments:
Post a Comment