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

Other Parts Discussed in Thread: TM4C123GH6PM


**** Build of configuration Debug for project 21.1 ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building target: 21.1.out'
'Invoking: ARM Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -g --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --diag_wrap=off --diag_warning=225 --display_error_number -z -m"21.1.map" --heap_size=0 --stack_size=512 -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --reread_libs --display_error_number --diag_wrap=off --warn_sections --xml_link_info="21.1_linkInfo.xml" --rom_model -o "21.1.out" "./Nokia5110.obj" "./main.obj" "./tm4c123gh6pm_startup_ccs.obj" "../tm4c123gh6pm.cmd" -llibc.a
<Linking>

undefined first referenced
symbol in file
--------- ----------------
GPIOPinConfigure ./Nokia5110.obj
GPIOPinTypeGPIOOutput ./Nokia5110.obj
GPIOPinTypeSSI ./Nokia5110.obj
GPIOPinWrite ./Nokia5110.obj
SSIBusy ./Nokia5110.obj
SSIConfigSetExpClk ./Nokia5110.obj
SSIDataPut ./Nokia5110.obj
SSIEnable ./Nokia5110.obj
SysCtlClockGet ./Nokia5110.obj
SysCtlClockSet ./main.obj
SysCtlDelay ./Nokia5110.obj
SysCtlPeripheralEnable ./Nokia5110.obj

error #10234-D: unresolved symbols remain

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

**** Build Finished ****

希望大神给予解答,工程已经添加在附件中了,使用的是ccs6.2,

21.1.rar
  • 提示

    GPIOPinConfigure ./Nokia5110.obj
    GPIOPinTypeGPIOOutput ./Nokia5110.obj
    GPIOPinTypeSSI ./Nokia5110.obj
    GPIOPinWrite ./Nokia5110.obj
    SSIBusy ./Nokia5110.obj
    SSIConfigSetExpClk ./Nokia5110.obj
    SSIDataPut ./Nokia5110.obj
    SSIEnable ./Nokia5110.obj
    SysCtlClockGet ./Nokia5110.obj
    SysCtlClockSet ./main.obj
    SysCtlDelay ./Nokia5110.obj
    SysCtlPeripheralEnable ./Nokia5110.obj

    这个函数没有定义,你头文件没有包含吧。还是工程的配置问题。CCS的工程,不是直接打开就能用的,需要进行复杂的配置。你工程是直接配置合适导入官方的例程修改的呢?

  • 不是按例程改的,这是之前自己新建工程写的,那我又该怎么样去建立正确的工程呢?求指点


  • 直接导入官方的例程,在官方的例程上面修改,是个比较快的办法。这是针对CCS的开发环境来说的。你也可以换MDK或者IAR的开发环境。

  • unresolved symbols remain

    一般是有认不得的字符,需要一点一点屏蔽,特别是加中文注释的,要小心

x 出现错误。请重试或与管理员联系。