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.

Linux CCS5.5 builds are extremely noisy

Other Parts Discussed in Thread: MSP430F5336, MSP430WARE

When I build project with driverlib in Linux Ubuntu, driverlib compile is extremely noisy, words like incomparable and deprecated scare me.  What can I do?

Building file: ../wdt_a.c
Invoking: MSP430 Compiler
"/home/sporty/ti/ccsv5/tools/compiler/msp430_4.2.3/bin/cl430" -vmspx --abi=eabi --code_model=small --data_model=small --include_path="/home/sporty/ti/ccsv5/ccs_base/msp430/include" --include_path="/home/sporty/ti/ccsv5/tools/compiler/msp430_4.2.3/include" --advice:power="all" -g --define=__MSP430F5336__ --diag_warning=225 --display_error_number --diag_wrap=off --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="wdt_a.pp" "../wdt_a.c"
"../inc/../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 160: warning #48-D: incompatible redefinition of macro "LPM0" (declared at line 135 of "/home/sporty/ti/ccsv5/ccs_base/msp430/include/msp430f5336.h")
"../inc/../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 161: warning #48-D: incompatible redefinition of macro "LPM0_EXIT" (declared at line 136 of "/home/sporty/ti/ccsv5/ccs_base/msp430/include/msp430f5336.h")
"../inc/../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 162: warning #48-D: incompatible redefinition of macro "LPM1" (declared at line 137 of "/home/sporty/ti/ccsv5/ccs_base/msp430/include/msp430f5336.h")
"../inc/../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 163: warning #48-D: incompatible redefinition of macro "LPM1_EXIT" (declared at line 138 of "/home/sporty/ti/ccsv5/ccs_base/msp430/include/msp430f5336.h")
"../inc/../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 164: warning #48-D: incompatible redefinition of macro "LPM2" (declared at line 139 of "/home/sporty/ti/ccsv5/ccs_base/msp430/include/msp430f5336.h")
"../inc/../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 165: warning #48-D: incompatible redefinition of macro "LPM2_EXIT" (declared at line 140 of "/home/sporty/ti/ccsv5/ccs_base/msp430/include/msp430f5336.h")
"../inc/../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 166: warning #48-D: incompatible redefinition of macro "LPM3" (declared at line 141 of "/home/sporty/ti/ccsv5/ccs_base/msp430/include/msp430f5336.h")
"../inc/../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 167: warning #48-D: incompatible redefinition of macro "LPM3_EXIT" (declared at line 142 of "/home/sporty/ti/ccsv5/ccs_base/msp430/include/msp430f5336.h")
"../inc/../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 168: warning #48-D: incompatible redefinition of macro "LPM4" (declared at line 143 of "/home/sporty/ti/ccsv5/ccs_base/msp430/include/msp430f5336.h")
"../inc/../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 169: warning #48-D: incompatible redefinition of macro "LPM4_EXIT" (declared at line 144 of "/home/sporty/ti/ccsv5/ccs_base/msp430/include/msp430f5336.h")
"../inc/../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 3795: warning #48-D: incompatible redefinition of macro "LDOOEN_H" (declared at line 2658 of "/home/sporty/ti/ccsv5/ccs_base/msp430/include/msp430f5336.h")
Finished building: ../wdt_a.c

  • Hi Silver,

    from the output it seems that the messages are related to the compiler finding both msp430f5xx_6xxgeneric.h and msp430f5336.h.

    Hence the bunch of things "redefined".

    Did you include both?  

    Best Regards,

    Lisa

  • This on Linux version of CCS5.5.  Here is what is important to note, I used the example setup provided by TI, and that is the output. Here is what I did.

    In CCS5.5 choose Project Menu => CCS Example Projects

    Choose MSP430ware => Libraries => Driver Library => MSP430Fxx_6xx => Example Projects => ADC12_A => adc12_a_ex3_exRef

    Choose Step 1 => Import

    Then build this project for MSP430F5336.  So this is TI code and these are the errors I get, and that is what I need fixed.

    My actual project is producing the same errors but I believe that it is Caused by CCS.  

    EDIT - OK, so I installed CCS with sudo command and that problem went away.  So there is something wrong with local eclipse installation in Linux.

  • Hi, 

    glad it worked when sudo.   It is more or less known that you need full permissions.

    Best Regards,

    Lisa