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.

SYS/BIOS: Unresolved symbol when creating threads

Other Parts Discussed in Thread: TMS320F28335, SYSBIOS, CONTROLSUITE

Hello,

I am fairly new at using SYS/BIOS  in CCS and I am having trouble getting an example to compile.  I'm fairly sure it's a linker issue given the build error from CCS but I could be overlooking something.

I am using:

CCS 6.0.1   Compiler: TI v6.2.9   Target Device: TMS320F28335

XDCTools version 3.24.5.48  Platform:  ti.platforms.tms320x28:TMS320F28335

SYS/BIOS 6.34.4.22

I went to Project -> New CCS Project and created a new SYS/BIOS Typical Project.  Once the project came up I built the project and there were no errors from the build just warnings:

  • #10247-D creating output section ".cinit" without a SECTIONS specification SysBios_Example C/C++ Problem
  • #10247-D creating output section ".cio" without a SECTIONS specification SysBios_Example C/C++ Problem
  • #10247-D creating output section ".ebss" without a SECTIONS specification SysBios_Example C/C++ Problem
  • #10247-D creating output section ".econst" without a SECTIONS specification SysBios_Example C/C++ Problem
  • #10247-D creating output section ".switch" without a SECTIONS specification SysBios_Example C/C++ Problem
  • #10247-D creating output section ".text" without a SECTIONS specification SysBios_Example C/C++ Problem

From there I created a task (task_example) and a hardware interrupt (hwi_example) in the app.cfg file.  Then when I tried to compile my project the following errors occured:

  • #10010 errors encountered during linking; "SysBios_Example.out" not built SysBios_Example C/C++ Problem
  • #10234-D unresolved symbols remain SysBios_Example C/C++ Problem
  • unresolved symbol _hwi_example, first referenced in C:\Eclipse_Workspaces\SysBios_Example\Debug\configPkg\package\cfg\app_p28FP.o28FP 
  • unresolved symbol _task_example, first referenced in C:\Eclipse_Workspaces\SysBios_Example\Debug\configPkg\package\cfg\app_p28FP.o28FP 

I am at my wits end at figuring out what is wrong.  I have tried reinstalling SYS/BIOS and XDCTools.  I thought maybe it was because of the linker command file but I tried using the F28335.cmd and 28335_RAM_lnk.cmd that is from the controlSuite but it did not help.  Does anyone have any experience with this?  Thanks in advance.

John B.

  • Hi John,

    John B. said:

    I went to Project -> New CCS Project and created a new SYS/BIOS Typical Project.  Once the project came up I built the project and there were no errors from the build just warnings:

    • #10247-D creating output section ".cinit" without a SECTIONS specification SysBios_Example C/C++ Problem
    • #10247-D creating output section ".cio" without a SECTIONS specification SysBios_Example C/C++ Problem
    • #10247-D creating output section ".ebss" without a SECTIONS specification SysBios_Example C/C++ Problem
    • #10247-D creating output section ".econst" without a SECTIONS specification SysBios_Example C/C++ Problem
    • #10247-D creating output section ".switch" without a SECTIONS specification SysBios_Example C/C++ Problem
    • #10247-D creating output section ".text" without a SECTIONS specification SysBios_Example C/C++ Problem

    I'm trying to reproduce your issue.

    Can you enable verbose output in the project build options, then rebuild all and then attach the full build output to this thread?

    John B. said:

    From there I created a task (task_example) and a hardware interrupt (hwi_example) in the app.cfg file.  Then when I tried to compile my project the following errors occured:

    • #10010 errors encountered during linking; "SysBios_Example.out" not built SysBios_Example C/C++ Problem
    • #10234-D unresolved symbols remain SysBios_Example C/C++ Problem
    • unresolved symbol _hwi_example, first referenced in C:\Eclipse_Workspaces\SysBios_Example\Debug\configPkg\package\cfg\app_p28FP.o28FP 
    • unresolved symbol _task_example, first referenced in C:\Eclipse_Workspaces\SysBios_Example\Debug\configPkg\package\cfg\app_p28FP.o28FP 

    Can you please provide a screen shot showing which project you selected, when you created this project in the CCS new project menu?

    Steve

  • Steve,

    I figured out the issue and feel kind of dumb about it.  Since I just created the task in the app.cfg and didn't define it in the source (main.c) the linker was throwing errors.  Thanks for your help though.