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.

Compiler/MSP430F5529: Symbol redefined with /MSP-EXP430F5529

Part Number: MSP430F5529

Tool/software: TI C/C++ Compiler

Hi , i encountered few problems during de compilation i have those both errors :

Description Resource Path Location Type
symbol "__TI_int42" redefined: first defined in "./main.obj"; redefined in "./MSP-EXP430F5529_HAL/HAL_Buttons.obj" null: symbol "__TI_int42" redefined: first defined in "./main.obj"; redefined in "./MSP-EXP430F5529_HAL/HAL_Buttons.obj" chrono C/C++ Problem

Description Resource Path Location Type
symbol "__TI_int47" redefined: first defined in "./main.obj"; redefined in "./MSP-EXP430F5529_HAL/HAL_Buttons.obj" null: symbol "__TI_int47" redefined: first defined in "./main.obj"; redefined in "./MSP-EXP430F5529_HAL/HAL_Buttons.obj" chrono C/C++ Problem

The problem is i have no ideas of this symbol i just used this librairies from Texas instrument in order to use the screen .
I had both files ( "F5xx_F6xx_Core_Lib" and  "MSP-EXP430F5529_HAL" in the including options ) i found them in this setup "MSP-EXP430F5529 UE-1.31.00.00-Setup".

  • Hello David,

    From the errors you've included above, I suspect that you (or the author of the code) included .c files into .c files. Basically, files that need to be included in your project should not be manually added to your project. The files to be included would be added by using the #include directive.

    Another possibility could be that you've got duplicate code that is defining the same Interrupt Service Routines (ISRs). Since your errors point to "int42" and "int47", I'm suspecting they related to the RTC and PORT1 ISRs (after referring to the default Interrupt Vectors in the .cmd linker file).

    I hope this helps!

    Regards,

    James

    MSP Customer Applications

  • Thanks a lot!, Indeed i manually imported the c files , concerning the includes option it was ok .

**Attention** This is a public forum