I've never seen oppxmac before.   I don't know what that does.

does "make telosb" work?

the other thing that is strange is the "overriding commands" warnings.


On Fri, Sep 19, 2014 at 5:36 AM, Thanh Ngoc Dinh <
s3453...@student.rmit.edu.au> wrote:

> Hello everyone,
> I am testing the low power listening protocol using the TestNetworkLPL in
> tinyos-2.1.2 and tinyos-2.1.1. I used msp430-gcc version 4.7.0. However, i
> got a compile error "multiple targets specified". The detail of error is
> described below. Do you know why this error happens? and please advise me a
> way to solve the error.
> Thank you very much!!!
>
> ---- detail of compiling and error------------------
>
> "
> root@TinyOS:/opt/tinyos-2.1.2/apps/TestNetworkLpl$ make telosb oppxmac
> /opt/tinyos-2.1.2/support/make/ident_flags.extra:13: warning: overriding
> commands for target `ident_cache'
> ../../support/make//ident_flags.extra:13: warning: ignoring old commands
> for target `ident_cache'
> /opt/tinyos-2.1.2/support/make/tos_image.extra:8: warning: overriding
> commands for target `build_tosimage'
> ../../support/make//tos_image.extra:8: warning: ignoring old commands for
> target `build_tosimage'
> ../../support/make//msp/msp.rules:92: warning: overriding commands for
> target `setid'
> ../../support/make//msp/msp.rules:92: warning: ignoring old commands for
> target `setid'
> ../../support/make//msp/msp.rules:98: warning: overriding commands for
> target `tosimage'
> ../../support/make//msp/msp.rules:98: warning: ignoring old commands for
> target `tosimage'
> ../../support/make//msp/msp.rules:101: warning: overriding commands for
> target `ihex'
> ../../support/make//msp/msp.rules:101: warning: ignoring old commands for
> target `ihex'
> ../../support/make//msp/msp.rules:104: warning: overriding commands for
> target `exe'
> ../../support/make//msp/msp.rules:104: warning: ignoring old commands for
> target `exe'
> ../../support/make//msp/msp.rules:107: warning: overriding commands for
> target `exe0'
> ../../support/make//msp/msp.rules:107: warning: ignoring old commands for
> target `exe0'
> ../../support/make//msp/msp.rules:120: warning: overriding commands for
> target `builddir'
> ../../support/make//msp/msp.rules:120: warning: ignoring old commands for
> target `builddir'
> ../../support/make//msp/msp.rules:123: warning: overriding commands for
> target `bytes'
> ../../support/make//msp/msp.rules:123: warning: ignoring old commands for
> target `bytes'
> /opt/tinyos-2.1.2/support/make/telosb.target:19: warning: overriding
> commands for target `telos'
> ../../support/make//telosb.target:19: warning: ignoring old commands for
> target `telos'
> /opt/tinyos-2.1.2/support/make/telosb.target:22: warning: overriding
> commands for target `telosb'
> ../../support/make//telosb.target:22: warning: ignoring old commands for
> target `telosb'
> mkdir -p build/telosb
>     compiling TestNetworkLplAppC to a telosb binary
> ncc -o build/telosb/main.exe  -Os -I../../tos/chips/cc2420
> -I../../tos/chips/cc2420/csma -I../../tos/chips/cc2420/receive
> -I../../tos/chips/cc2420/transmit -I../../tos/chips/cc2420/interfaces
> -I../../tos/chips/cc2420/opp -I../../tos/chips/cc2420/opp/debug
> -I../../tos/chips/cc2420/unique -I../../tos/chips/cc2420/dc
> -I../../tos/chips/cc2420/lpl  -I../../tos/chips/cc2420
> -I../../tos/chips/cc2420/csma -I../../tos/chips/cc2420/receive
> -I../../tos/chips/cc2420/transmit -I../../tos/chips/cc2420/interfaces
> -I../../tos/chips/cc2420/opp -I../../tos/chips/cc2420/opp/debug
> -I../../tos/chips/cc2420/unique -I../../tos/chips/cc2420/dc
> -I../../tos/chips/cc2420/lpl  -fnesc-separator=__ -Wall -Wshadow -Wnesc-all
> -target=telosb -fnesc-cfile=build/telosb/app.c -board=
> -DDEFINED_TOS_AM_GROUP=0x23 -fnesc-separator=__ -Wall -Wshadow -Wnesc-all
> -target=telosb -fnesc-cfile=build/telosb/app.c -board=
> -DDEFINED_TOS_AM_GROUP=0x23 -DLOW_POWER_LISTENING
> -DCC2420_NO_ADDRESS_RECOGNITION -DDELAY_AFTER_RECEIVE=30 -DNO_OPP_DEBUG
> -DLPL_DEF_LOCAL_WAKEUP=2048 -DLPL_DEF_REMOTE_WAKEUP=2048
> -DTEST_NETWORK_PACKET_RATE=4096 -DIDENT_APPNAME=\"TestNetworkLplA\"
> -DIDENT_USERNAME=\"user\" -DIDENT_HOSTNAME=\"instant-contiki\"
> -DIDENT_USERHASH=0x22a1ff22L -DIDENT_TIMESTAMP=0x541c1c1dL
> -DIDENT_UIDHASH=0xdc56cefcL -DIDENT_APPNAME=\"TestNetworkLplA\"
> -DIDENT_USERNAME=\"user\" -DIDENT_HOSTNAME=\"instant-contiki\"
> -DIDENT_USERHASH=0x22a1ff22L -DIDENT_TIMESTAMP=0x541c1c1dL
> -DIDENT_UIDHASH=0xdc56cefcL  TestNetworkLplAppC.nc -lm
> *multiple targets specified*
> *make: *** [exe0] Error 2*
>
>
> "
>
> Best regards,
> William
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to