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.

Linker is not getting invoked while building relocatable object file

Hi,

I am trying to generate the relocatable object file and somehow linker is not getting invoked and so it is not generating the relocatable object file. Below is the build log.

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all

'Building target: C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/testrel/avpaex0181/avpaex0181.obj'

'Invoking: Compiler'

"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv64+ -g --define=CCS --define=QT --define=NO_XDC --define=DDR_QT --define=FULL --define=NY --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/drv/pa/fw" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/drv/pa/src" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/drv/cppi" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/drv/pa" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/drv/pa/test/PAUnitTest/" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/drv/qmss" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/drv/qmss/device" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/csl/" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/csl/src/intc" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/common/include_n/" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/pass/modules/common_inc" --include_path="C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/pass/modules/ctr02_p1/inc" --diag_warning=225 --obj_directory="common_src" 

 

Then it will list every single source file of the build:

 

"C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/drv/cppi/src/cppi_desc.c" "C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/drv/cppi/device/cppi_device.c" "C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/PDK/pdk_c6498_1_0_0_6/packages/ti/drv/cppi/src/cppi_drv.c" "C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/common/src_n/ddr3_setup_CSL.c"

.

.

.

 

Then it will claim build is complete:

 

[pa_utils.c]

[pkttxrx.c]

[eth_utils.c]

[ex1util.c]

[expa.c]

[new_setupqm.c]

[pktgen.c]

"C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/pass/modules/common_src/pktgen.c", line 217: warning: integer conversion resulted in truncation

"C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/pass/modules/common_src/pktgen.c", line 224: warning: integer conversion resulted in truncation

[test_main.c]

'Finished building target: C:/ccs_a0866755_sps_vw/nysh_avv_a0866755/nysh_avv/data_catapps/nysh/testrel/avpaex0181/avpaex0181.obj'

' '

Build complete for project ctr02_p1

Please let me know what is missing.

Regards,

  • Hello,

    Please provide the information requested in the forum readme:

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/3131.aspx

    If you could provide the full project, that would be best. Otherwise just the project files (files that start with a "." in your project folder can also be helpful.

    Thanks

    ki

     

  • Attached are the requested files.

  • Thanks to everyone, we solved the problem.