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.

linkage problem

Other Parts Discussed in Thread: SYSBIOS

"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_info:F021_API_C28x_FPU32.lib<Info.obj>" cannot be collected
   with section specifier; section contains data that is not part of the
   program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_frame:F021_API_C28x_FPU32.lib<Info.obj>" cannot be collected
   with section specifier; section contains data that is not part of the
   program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_line:F021_API_C28x_FPU32.lib<Info.obj>" cannot be collected
   with section specifier; section contains data that is not part of the
   program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_abbrev:F021_API_C28x_FPU32.lib<Info.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_info:F021_API_C28x_FPU32.lib<Async.obj>" cannot be collected
   with section specifier; section contains data that is not part of the
   program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_frame:F021_API_C28x_FPU32.lib<Async.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_line:F021_API_C28x_FPU32.lib<Async.obj>" cannot be collected
   with section specifier; section contains data that is not part of the
   program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_abbrev:F021_API_C28x_FPU32.lib<Async.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_info:F021_API_C28x_FPU32.lib<Verify.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_frame:F021_API_C28x_FPU32.lib<Verify.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_line:F021_API_C28x_FPU32.lib<Verify.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_abbrev:F021_API_C28x_FPU32.lib<Verify.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_info:F021_API_C28x_FPU32.lib<Read.obj>" cannot be collected
   with section specifier; section contains data that is not part of the
   program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_frame:F021_API_C28x_FPU32.lib<Read.obj>" cannot be collected
   with section specifier; section contains data that is not part of the
   program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_line:F021_API_C28x_FPU32.lib<Read.obj>" cannot be collected
   with section specifier; section contains data that is not part of the
   program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_abbrev:F021_API_C28x_FPU32.lib<Read.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_info:F021_API_C28x_FPU32.lib<Utilities.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_frame:F021_API_C28x_FPU32.lib<Utilities.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_line:F021_API_C28x_FPU32.lib<Utilities.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_abbrev:F021_API_C28x_FPU32.lib<Utilities.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_info:F021_API_C28x_FPU32.lib<Init.obj>" cannot be collected
   with section specifier; section contains data that is not part of the
   program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_frame:F021_API_C28x_FPU32.lib<Init.obj>" cannot be collected
   with section specifier; section contains data that is not part of the
   program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_line:F021_API_C28x_FPU32.lib<Init.obj>" cannot be collected
   with section specifier; section contains data that is not part of the
   program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_abbrev:F021_API_C28x_FPU32.lib<Init.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_info:../F021_API_C28x_FPU32.lib<FlashStateMachine.obj>"
   cannot be collected with section specifier; section contains data that is
   not part of the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_frame:../F021_API_C28x_FPU32.lib<FlashStateMachine.obj>"
   cannot be collected with section specifier; section contains data that is
   not part of the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_line:../F021_API_C28x_FPU32.lib<FlashStateMachine.obj>"
   cannot be collected with section specifier; section contains data that is
   not part of the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_abbrev:../F021_API_C28x_FPU32.lib<FlashStateMachine.obj>"
   cannot be collected with section specifier; section contains data that is
   not part of the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_info:F021_API_C28x_FPU32.lib<Program.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_frame:F021_API_C28x_FPU32.lib<Program.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_line:F021_API_C28x_FPU32.lib<Program.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_abbrev:F021_API_C28x_FPU32.lib<Program.obj>" cannot be
   collected with section specifier; section contains data that is not part of
   the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:

   section ".debug_info:../F021_API_C28x_FPU32.lib<FlashStateMachine.obj>"
 undefined                                                 first referenced                                                                                                            
   cannot be collected with section specifier; section contains data that is
  symbol                                                       in file                                                                                                                 
   not part of the program image
 ---------                                                 ----------------                                                                                                            
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
 _ti_sysbios_family_c28_f28m35x_TimestampProvider_get64__E D:\projects\SIU\GIT-repos\SIU-Bootloader\project\SIU_bootloader_c28_with_SYSBIOS\Flash\configPkg\package\cfg\app_p28FP.o28FP
   section ".debug_frame:../F021_API_C28x_FPU32.lib<FlashStateMachine.obj>"
Hi I

just get some linker errors when I try to compile my project without the __DEBUG define in the predefined symbols section
  

cannot be collected with section specifier; section contains data that is
error: unresolved symbols remain
   not part of the program image
error: errors encountered during linking; "mtoc_ipcdrivers_lite_c28.out" not
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   built
   section ".debug_line:../F021_API_C28x_FPU32.lib<FlashStateMachine.obj>"
   cannot be collected with section specifier; section contains data that is
   not part of the program image
"../_linker_cmd_F28M36x_generic_wshared_C28_FLASH.cmd", line 165: remark:
   section ".debug_abbrev:../F021_API_C28x_FPU32.lib<FlashStateMachine.obj>"
   cannot be collected with section specifier; section contains data that is
   not part of the program image
gmake: *** [mtoc_ipcdrivers_lite_c

the corresponding line of the .cmd file is in the pic below


I don't know why there is a problem with these sections. I only copied the build configuration of the debug-version and then removed those predefined symbols (__DEBUG, "_DEBUG") with these symbols defined there is no linker error.

please explain why this is a problem and how I can get rid of this.

kind regards Andreas