This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error occured while building Thingsquare mist project using CCSV5 on cc2538.

Other Parts Discussed in Thread: CC2538

Hi All,

I am working on WSN based project using Thingsquar mist stack on cc2538dk using CCSV5 on Ubuntu 12.04.

While building blinker example I have got below error.Please lewt me know what was the cause for that.


**** Build of configuration Debug for project mist_1 ****

/opt/ti/ccsv5/utils/bin/gmake -k all
Building file: ../blink.c
Invoking: ARM Compiler
"/opt/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -g --include_path="/opt/ti/ccsv5/tools/compiler/arm_5.0.4/include" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/core/sys" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/core" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/core/net" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/cpu/cc2538" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/cpu/arm/common/usb" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/cpu/arm/common/usb" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/platform/cc2538dk/dev" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/platform/cc2538dk" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/platform/mist-cc2538dk" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/platform/cc2538dk" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/dev" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/aes" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/drowsie" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/ip64" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/ip64-addr" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/mdns" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/simple-rpl" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/tcp-socket" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/udp-socket" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/websocket" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/mist-conf" --gcc --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="blink.pp"  "../blink.c"
Finished building: ../blink.c
 
Building file: ../contiki-mist-cc2538dk-main.c
Invoking: ARM Compiler
"/opt/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -g --include_path="/opt/ti/ccsv5/tools/compiler/arm_5.0.4/include" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/core/sys" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/core" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/core/net" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/cpu/cc2538" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/cpu/arm/common/usb" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/cpu/arm/common/usb" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/platform/cc2538dk/dev" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/platform/cc2538dk" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/platform/mist-cc2538dk" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/contiki/platform/cc2538dk" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/dev" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/aes" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/drowsie" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/ip64" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/ip64-addr" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/mdns" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/simple-rpl" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/tcp-socket" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/udp-socket" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/websocket" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps" --include_path="/home/preva-powerwise/Documents/PowerWISE/MIST/thingsquare-mist-1.0.1/apps/mist-conf" --gcc --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="contiki-mist-cc2538dk-main.pp"  "../contiki-mist-cc2538dk-main.c"
"../contiki-mist-cc2538dk-main.c", line 143: warning #225-D: function declared implicitly
1 Assembly Error, No Assembly Warnings

>> Compilation failure
"../contiki-mist-cc2538dk-main.c", line 210: warning #1181-D: #warning directive: Using default AES key "thingsquare mist", change it in project-conf.h like this:
"../contiki-mist-cc2538dk-main.c", line 211: warning #1181-D: #warning directive: #define NETSTACK_AES_KEY {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}
"../contiki-mist-cc2538dk-main.c", line 216: warning #225-D: function declared implicitly
"/tmp/02375BykbUm", ERROR!   at line 629: [E0300] Symbol nop has already been
                                                  defined
        .dwpsn    file "../contiki-mist-cc2538dk-main.c",line 99,column 29,is_stmt,isa 1


Errors in Source - Assembler Aborted
gmake: *** [contiki-mist-cc2538dk-main.obj] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Thanks in advance,

jagas