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: unresolved symbols remain

Other Parts Discussed in Thread: MSP430F5438, MSP430F5438A

Hi,

 

i am using cc 4 and the msp430 f5438.

i am facing the following problem with the linker

'Invoking: Linker'

"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/msp430/bin/cl430" -vmspx -g --define=__MSP430F5438A__ --diag_warning=225 --code_model=large --data_model=large --silicon_errata=CPU22 --silicon_errata=CPU21 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=nofloat -z -m"RTOSDemo.map" --stack_size=300 --heap_size=0 --use_hw_mpy=F5 --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/msp430/include" -i"C:/Users/Muslimlion/Downloads/Software/FreeRTOS/FreeRTOS/Demo/MSP430X_MSP430F5438_CCS4 - Kopie_Original/Demo_Source/MSP-EXP430F5438_HAL" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/msp430/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/msp430/include" --reread_libs --rom_model -o "RTOSDemo.out"  "./Demo_Source/F5XX_6XX_Core_Lib/hal_UCS.obj" "./Demo_Source/MSP-EXP430F5438_HAL/hal_lcd_fonts.obj" "./Demo_Source/MSP-EXP430F5438_HAL/hal_lcd.obj" "./Demo_Source/MSP-EXP430F5438_HAL/hal_buttons.obj" "./Demo_Source/MSP-EXP430F5438_HAL/hal_board.obj" "./Demo_Source/usbTest.obj" "./Demo_Source/printf-stdarg.obj" "./Demo_Source/main.obj" "./Demo_Source/hal_usb.obj" "./Demo_Source/RunTimeStatsConfig.obj" "./Demo_Source/RegTest.obj" "./Demo_Source/ParTest.obj" "./FreeRTOS_Source/portable/CCS4/MSP430X/portext.obj" "./FreeRTOS_Source/portable/CCS4/MSP430X/port.obj" "./FreeRTOS_Source/portable/MemMang/heap_1.obj" "./FreeRTOS_Source/timers.obj" "./FreeRTOS_Source/tasks.obj" "./FreeRTOS_Source/queue.obj" "./FreeRTOS_Source/list.obj" -l"libc.a" "../lnk_msp430f5438a.cmd" 

<Linking>

 

 undefined      first referenced         

  symbol            in file              

 ---------      ----------------         

 buttonsPressed ./Demo_Source/usbTest.obj

 

error: unresolved symbols remain

error: errors encountered during linking; "RTOSDemo.out" not built

 

>> Compilation failure

gmake: *** [RTOSDemo.out] Error 1

gmake: Target `all' not remade because of errors.

Build complete for project RTOSDemo

i hope someone have an idea, how to make it work.
thanx.

  • You are missing the function buttonsPressed.  It is used in usbTest but is not included in your application.  If it is part of a .lib then add that in your project.  If it is provided in C source then add the .c file in the project.

     

    John

  • Hallo John,

     

    thanx a lot.

    this function was declared already in .h file and i include it, but for some reason the linker didnt take this include, i think.

    so i declared it in the usbTest.c again, and it works.

     

    Thanx.

    Mohammad

  • error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "RTOSDemo.out" not built
    >> Compilation failure
    makefile:199: recipe for target 'RTOSDemo.out' failed
    gmake: *** [RTOSDemo.out] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    i'm getting this error....and i'm unable to find my RTOSDemo.out file...

    Please reply ASAP..