hi all,
i am just trying to run the blip using the tutorials from tinyos and
getting the foloing error and i am unable to compile the program any help
will be appreciated.
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-2.1.2/tos/lib/net/rpl -I/opt/tinyos-2.1.2/tos/lib/ppp
-I/opt/tinyos-2.1.2/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-2.1.2/tos/lib/net/ -I/opt/tinyos-2.1.2/tos/lib/printf/
-I/opt/tinyos-2.1.2/support/sdk/c/blip/
-I/opt/tinyos-2.1.2/tos/lib/net/blip/
-I/opt/tinyos-2.1.2/tos/lib/net/blip/interfaces/
-I/opt/tinyos-2.1.2/tos/lib/net/blip/nwprog/
-I/opt/tinyos-2.1.2/tos/lib/net/blip/shell/
-I/opt/tinyos-2.1.2/tos/lib/net/blip/serial/
-I/opt/tinyos-2.1.2/tos/lib/net/blip/platform/
-I/opt/tinyos-2.1.2/tos/lib/net/blip/icmp/
-I/opt/tinyos-2.1.2/tos/lib/net/blip/dhcp/
/opt/tinyos-2.1.2/support/sdk/c/blip/lib6lowpan/iovec.c
/opt/tinyos-2.1.2/support/sdk/c/blip/lib6lowpan/in_cksum.c
/opt/tinyos-2.1.2/support/sdk/c/blip/lib6lowpan/ip_malloc.c
/opt/tinyos-2.1.2/support/sdk/c/blip/lib6lowpan/utility.c
/opt/tinyos-2.1.2/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=\"jaaved\" -DIDENT_HOSTNAME=\"jaaved-HP-Pavil\"
-DIDENT_USERHASH=0x3f9ae3f0L -DIDENT_TIMESTAMP=0x510b8747L
-DIDENT_UIDHASH=0xa8e0b043L PppRouterC.nc -lm
/opt/tinyos-2.1.2/tos/platforms/telosa/PlatformHdlcUartC.nc:40:2: warning:
#warning Enabling DMA on UART1RX
/opt/tinyos-2.1.2/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning
"*** LOW POWER COMMUNICATIONS DISABLED ***"
/opt/tinyos-2.1.2/tos/chips/cc2420/link/PacketLinkC.nc:38:2: warning:
#warning "*** USING PACKET LINK LAYER"
/opt/tinyos-2.1.2/tos/lib/net/blip/shell/UDPShellP.nc:260: warning: call
via function pointer
/opt/tinyos-2.1.2/tos/platforms/telosa/PlatformHdlcUartP.nc:181: warning:
`HdlcUart.receivedByte' called asynchronously from `UsartInterrupts.rxDone'
/opt/tinyos-2.1.2/tos/lib/net/rpl/RPLDAORoutingEngineP.nc: In function
‘RPLDAORoutingEngineP__0__sendDAO__runTask’:
/opt/tinyos-2.1.2/tos/lib/net/rpl/RPLDAORoutingEngineP.nc:114:22: warning:
variable ‘dao’ set but not used [-Wunused-but-set-variable]
/opt/tinyos-2.1.2/tos/lib/net/rpl/RPLRoutingEngineP.nc: In function
‘RPLRoutingEngineP__0__sendDIOTask__runTask’:
/opt/tinyos-2.1.2/tos/lib/net/rpl/RPLRoutingEngineP.nc:176:21: warning:
variable ‘body’ set but not used [-Wunused-but-set-variable]
/opt/tinyos-2.1.2/tos/lib/net/rpl/RPLOF0P.nc: In function
‘RPLOF0P__RPLOF__recalculateRank’:
/opt/tinyos-2.1.2/tos/lib/net/rpl/RPLOF0P.nc:101:12: warning: variable
‘prevRank’ set but not used [-Wunused-but-set-variable]
/opt/tinyos-2.1.2/tos/lib/net/rpl/RPLOF0P.nc:101:12: warning: variable
‘prevEtx’ set but not used [-Wunused-but-set-variable]
/opt/tinyos-2.1.2/tos/lib/net/rpl/RPLRankP.nc: In function
‘RPLRankP__parseDIO’:
/opt/tinyos-2.1.2/tos/lib/net/rpl/RPLRankP.nc:618:12: warning: variable
‘preRank’ set but not used [-Wunused-but-set-variable]
/opt/tinyos-2.1.2/tos/chips/msp430/dma/HplMsp430DmaXP.nc: In function
‘HplMsp430DmaXP__2__DMA__setState’:
/opt/tinyos-2.1.2/tos/chips/msp430/dma/HplMsp430DmaXP.nc:220:25: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
/opt/tinyos-2.1.2/tos/chips/msp430/dma/HplMsp430DmaXP.nc:220:25: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
/opt/tinyos-2.1.2/tos/lib/ppp/PppP.nc: In function
‘PppP__processError_task__runTask’:
/opt/tinyos-2.1.2/tos/lib/ppp/PppP.nc:413:16: warning: variable ‘ifd’ set
but not used [-Wunused-but-set-variable]
/opt/tinyos-2.1.2/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-2.1.2/tos/lib/net/blip/IPForwardingEngineP.nc: In function
‘IPForwardingEngineP__IPForward__recv’:
/opt/tinyos-2.1.2/tos/lib/net/blip/IPForwardingEngineP.nc:253:15: warning:
variable ‘next_hop_key’ set but not used [-Wunused-but-set-variable]
/opt/tinyos-2.1.2/tos/lib/ppp/LcpAutomatonP.nc: In function
‘LcpAutomatonP__1__processEventActions_’:
/opt/tinyos-2.1.2/tos/lib/ppp/LcpAutomatonP.nc:543:81: warning: variable
‘in_actions’ set but not used [-Wunused-but-set-variable]
/opt/tinyos-2.1.2/tos/lib/ppp/LcpAutomatonP.nc: In function
‘LcpAutomatonP__0__processEventActions_’:
/opt/tinyos-2.1.2/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/msp430/4.6.3/../../../../msp430/bin/ld: region `rom'
overflowed by 906 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/ccfrkCd8.o: In function `LcpAutomatonP__1__calculateEventActions_':
app.c:(.text+0x4f2): relocation truncated to fit: R_MSP430_16_BYTE against
`no symbol'
/tmp/ccfrkCd8.o: In function `LcpAutomatonP__0__calculateEventActions_':
app.c:(.text+0x89c): relocation truncated to fit: R_MSP430_16_BYTE against
`no symbol'
/tmp/ccfrkCd8.o: In function `IPDispatchP__lowpan_recon_start':
app.c:(.text+0x16f8): relocation truncated to fit: R_MSP430_16_BYTE against
`no symbol'
/tmp/ccfrkCd8.o: In function `UDPShellP__action_help':
app.c:(.text+0x406e): relocation truncated to fit: R_MSP430_16_BYTE against
`no symbol'
/tmp/ccfrkCd8.o: In function `UDPShellP__action_uptime':
app.c:(.text+0x432e): relocation truncated to fit: R_MSP430_16_BYTE against
`no symbol'
/tmp/ccfrkCd8.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/ccfrkCd8.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
thanks in advance
--
*Regards*
*Sheikh Jaaved Hassan*
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help