hi all, I'm getting ROM overflow error while compiling PppRouter Application in Tinyos-2.1.2.
the error is as follows. root@cdac:/opt/tinyos/apps/PppRouter# make telosb blip mkdir -p build/telosb compiling PppRouterC to a telosb binary ncc -o build/telosb/main.exe -Os -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=\"root\" -DIDENT_HOSTNAME=\"cdac\" -DIDENT_USERHASH=0xaafb3ac1L -DIDENT_TIMESTAMP=0x50cea7d5L -DIDENT_UIDHASH=0xe1301674L 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' /opt/tinyos/tos/lib/net/rpl/RPLDAORoutingEngineP.nc: In function ‘RPLDAORoutingEngineP__0__sendDAO__runTask’: /opt/tinyos/tos/lib/net/rpl/RPLDAORoutingEngineP.nc:114:22: warning: variable ‘dao’ set but not used [-Wunused-but-set-variable] /opt/tinyos/tos/lib/net/rpl/RPLRoutingEngineP.nc: In function ‘RPLRoutingEngineP__0__sendDIOTask__runTask’: /opt/tinyos/tos/lib/net/rpl/RPLRoutingEngineP.nc:176:21: warning: variable ‘body’ set but not used [-Wunused-but-set-variable] /opt/tinyos/tos/lib/net/rpl/RPLOF0P.nc: In function ‘RPLOF0P__RPLOF__recalculateRank’: /opt/tinyos/tos/lib/net/rpl/RPLOF0P.nc:101:12: warning: variable ‘prevRank’ set but not used [-Wunused-but-set-variable] /opt/tinyos/tos/lib/net/rpl/RPLOF0P.nc:101:12: warning: variable ‘prevEtx’ set but not used [-Wunused-but-set-variable] /opt/tinyos/tos/lib/net/rpl/RPLRankP.nc: In function ‘RPLRankP__parseDIO’: /opt/tinyos/tos/lib/net/rpl/RPLRankP.nc:618:12: warning: variable ‘preRank’ set but not used [-Wunused-but-set-variable] /opt/tinyos/tos/chips/msp430/dma/HplMsp430DmaXP.nc: In function ‘HplMsp430DmaXP__2__DMA__setState’: /opt/tinyos/tos/chips/msp430/dma/HplMsp430DmaXP.nc:220:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /opt/tinyos/tos/chips/msp430/dma/HplMsp430DmaXP.nc:220:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /opt/tinyos/tos/lib/ppp/PppP.nc: In function ‘PppP__processError_task__runTask’: /opt/tinyos/tos/lib/ppp/PppP.nc:413:16: warning: variable ‘ifd’ set but not used [-Wunused-but-set-variable] /opt/tinyos/tos/lib/ppp/PppP.nc:412:15: warning: variable ‘in_frame_error’ set but not used [-Wunused-but-set-variable] PppRouterP.nc: In function ‘PppRouterP__Boot__booted’: PppRouterP.nc:57:11: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] /opt/tinyos/tos/lib/net/blip/IPForwardingEngineP.nc: In function ‘IPForwardingEngineP__IPForward__recv’: /opt/tinyos/tos/lib/net/blip/IPForwardingEngineP.nc:253:15: warning: variable ‘next_hop_key’ set but not used [-Wunused-but-set-variable] /opt/tinyos/tos/lib/ppp/LcpAutomatonP.nc: In function ‘LcpAutomatonP__1__processEventActions_’: /opt/tinyos/tos/lib/ppp/LcpAutomatonP.nc:543:81: warning: variable ‘in_actions’ set but not used [-Wunused-but-set-variable] /opt/tinyos/tos/lib/ppp/LcpAutomatonP.nc: In function ‘LcpAutomatonP__0__processEventActions_’: /opt/tinyos/tos/lib/ppp/LcpAutomatonP.nc:543:93: warning: variable ‘in_actions’ set but not used [-Wunused-but-set-variable] /usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: build/telosb/main.exe section `.text' will not fit in region `rom' /usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: section .vectors loaded at [0000ffe0,0000ffff] overlaps section .text loaded at [00004000,00010013] /usr/bin/../lib/gcc/msp43*0/4.6.3/../../../../msp430/bin/ld: region `rom' overflowed by 894 bytes* /usr/bin/../lib/gcc/msp430/4.6.3/mmpy-16/libcrt0.a(_copy_data.o): In function `__do_copy_data': /home/cire/mm/w/tinyos-main.git/tinyos-2.x/packaging/msp430-46/gcc-4.6.3/build/gcc/../../gcc/config/msp430/crt0.S:195: relocation truncated to fit: R_MSP430_16_BYTE against symbol `__data_load_start' defined in *ABS* section in build/telosb/main.exe /tmp/ccHaVSfo.o: In function `LcpAutomatonP__1__calculateEventActions_': app.c:(.text+0x4f2): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol' /tmp/ccHaVSfo.o: In function `LcpAutomatonP__0__calculateEventActions_': app.c:(.text+0x89c): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol' /tmp/ccHaVSfo.o: In function `IPDispatchP__lowpan_recon_start': app.c:(.text+0x16f8): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol' /tmp/ccHaVSfo.o: In function `UDPShellP__action_help': app.c:(.text+0x406e): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol' /tmp/ccHaVSfo.o: In function `UDPShellP__action_uptime': app.c:(.text+0x432e): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol' /tmp/ccHaVSfo.o: In function `IPForwardingEngineP__IPForward__recv.isra.315': app.c:(.text+0x4f96): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol' app.c:(.text+0x4fba): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol' app.c:(.text+0x4ff8): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol' app.c:(.text+0x5034): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol' /tmp/ccHaVSfo.o: In function `HdlcFramingP__0__HdlcUart__receivedByte': app.c:(.text+0x5e3e): additional relocation overflows omitted from the output collect2: ld returned 1 exit status make: *** [exe0] Error 1 root@cdac:/opt/tinyos/apps/PppRouter# -- Tulasi Dwarakanath.V
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help