arjun.a
range data
5aefcf4
raw
history blame
No virus
10.2 kB
Ticket Name: Linux/TDA2EXEVM: error: errors encountered during linking;
Query Text:
Part Number: TDA2EXEVM Other Parts Discussed in Thread: SYSBIOS, TDA2, PGA460 Tool/software: Linux Hi there, I am using VSDK_3_07 version, while building Vision SDK frameworks its throwing the below mentioned error., ---------------------------------------------------------------------------------------------------------------------------------------------------- subsequent release. The behavior is enabled by default. asme66 <Install_directory>/Source_VSDK_3_07/ti_components/os_tools/bios_6_46_06_00/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ... remark #24038-D: --optimize_with_debug is deprecated and will be removed in a subsequent release. The behavior is enabled by default. asme66 <Install_directory>/Source_VSDK_3_07/ti_components/os_tools/bios_6_46_06_00/packages/ti/sysbios/timers/dmtimer/Timer_asm.s64P ... remark #24038-D: --optimize_with_debug is deprecated and will be removed in a subsequent release. The behavior is enabled by default. asme66 <Install_directory>/Source_VSDK_3_07/ti_components/os_tools/bios_6_46_06_00/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ... remark #24038-D: --optimize_with_debug is deprecated and will be removed in a subsequent release. The behavior is enabled by default. asme66 <Install_directory>/Source_VSDK_3_07/ti_components/os_tools/bios_6_46_06_00/packages/ti/sysbios/rts/ti/tls_get_tp.asm ... remark #24038-D: --optimize_with_debug is deprecated and will be removed in a subsequent release. The behavior is enabled by default. are66 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj dmtimer_Timer_asm.obj c62_TaskSupport_asm.obj ti_tls_get_tp.obj ... gmake[1]: Leaving directory `<Install_directory>/Source_VSDK_3_07/vision_sdk/binaries/apps/tda2xx_evm_linux_all/obj/vision_sdk/tda2xx-evm/c66xdsp_1/release/vision_sdk_configuro/package/cfg/MAIN_APP_c6xdsp1_pe66.src/sysbios' warning: xdc.cfg.Program: "<Install_directory>/Source_VSDK_3_07/ti_components/os_tools/linux/xdctools_3_32_01_22_core/packages/xdc/cfg/Program.xs", line 110: xdc.cfg.Program.SectionSpec#0 : Entry for the section '.bss:heapMemL2' in Program.sectMap is set to 'undefined'. This section allocation will be ignored. Build of libraries done. # Configuro done! # Making tda2xx-evm:c66xdsp_1:release:vision_sdk_lib... # Compiling tda2xx-evm:c66xdsp_1:release:vision_sdk: src/main_common_c6xdsp1.c # Compiling tda2xx-evm:c66xdsp_1:release:vision_sdk: <Install_directory>/Source_VSDK_3_07/vision_sdk/apps/src/common/main_app/tda2xx/dsp1/src/main_c6xdsp1.c # Compiling tda2xx-evm:c66xdsp_1:release:vision_sdk: <Install_directory>/Source_VSDK_3_07/vision_sdk/apps/src/common/app_init/app_init_dsp.c # Compiling generated MAIN_APP_c6xdsp1_pe66.oe66 # Linking into <Install_directory>/Source_VSDK_3_07/vision_sdk/binaries/apps/tda2xx_evm_linux_all/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66... undefined first referenced symbol in file --------- ---------------- calmatin3d <Install_directory>/Source_VSDK_3_07/vision_sdk/apps/src/rtos/alg_plugins/structurefrommotion/lib/structurefrommotion_c66xdsp_release.ae66<iSfmMainAlgo.oe66> error: unresolved symbols remain error: errors encountered during linking; "<Install_directory>/Source_VSDK_3_07/vision_sdk/binaries/apps/tda2 xx_evm_linux_all/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66 " not built make[7]: *** [<Install_directory>/Source_VSDK_3_07/vision_sdk/binaries/apps/tda2xx_evm_linux_all/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66] Error 1 make[6]: *** [c66xdsp_1] Error 2 make[5]: *** [apps_dsp1] Error 2 make[4]: *** [apps] Error 2 make[3]: *** [apps] Error 2 make[2]: *** [apps_exe] Error 2 make[1]: *** [apps] Error 2 make: *** [vision_sdk] Error 2 ________________________________________________________________________________________________ Any help would be appreciated. Regards Balaji T
Responses:
Hi Balaji, Are you including/linking surround video libraries? Have you changed anything in the released binaries? Rgds, Brijesh
Hi Brijesh, I just removed the "binaries" folder. I thought that "binaries" folder will created while doing make -s -j depend and make -s -j. regards Balaji T
I am not trying to include any libraries. Rgds, Balaji T
Hi Balaji, Can you give a try without "-j". Regards, Rishabh
Rishabh, I have tried giving without "-j", still its throwing the same error in "make -s" step. regards Balaji T
Balaji, CalMatin3D is part of the srv libraries, so you need to include it on DSP.. Rgds, Brijesh
Brijesh, Will you please suggest me ideas to resolve this error, Rgds, Balaji T
Hi Balaji, Have you made any change on top of VSDK release? Can you run make showconfig and share the result. Regards, Rishabh
Balaji, This variable is part of the auto calibration library on DSP, please check if this library is included in your build for building DSP binary.. Rgds, Brijesh
Brijesh, Here is the result of "make showconfig" <Install_directory>/Source_VSDK_3_07/vision_sdk/build$ make showconfig make -C <Install_directory>/Source_VSDK_3_07/vision_sdk/apps/configs -f build_makeconfig.mk showconfig make[1]: Entering directory `<Install_directory>/Source_VSDK_3_07/vision_sdk/apps/configs' # # Build Config is [ tda2xx_evm_linux_all ] # Build Config file is @ <Install_directory>/Source_VSDK_3_07/vision_sdk/configs/tda2xx_evm_linux_all/cfg.mk # Build Config .h file is @ <Install_directory>/Source_VSDK_3_07/vision_sdk/links_fw/include/config/apps/tda2xx_evm_linux_all/system_cfg.h # Build CPUs is @ ipu1_0 ipu2 a15_0 dsp1 dsp2 eve1 eve2 eve3 eve4 # # CPUs included in application, # PROC_IPU1_0_INCLUDE=yes # PROC_IPU1_1_INCLUDE=no # PROC_IPU2_INCLUDE=yes # PROC_DSP1_INCLUDE=yes # PROC_DSP2_INCLUDE=yes # PROC_EVE1_INCLUDE=yes # PROC_EVE2_INCLUDE=yes # PROC_EVE3_INCLUDE=yes # PROC_EVE4_INCLUDE=yes # PROC_A15_0_INCLUDE=yes # # Platform config, # VSDK_BOARD_TYPE=TDA2XX_EVM [options: TDA2XX_EVM TDA2EX_EVM TDA3XX_EVM TDA3XX_RVP TDA2XX_RVP] # PLATFORM=tda2xx-evm # DUAL_A15_SMP_BIOS=no # IPU1_SMP_BIOS=no # DDR_MEM=DDR_MEM_1024M [options: DDR_MEM_128M DDR_MEM_512M DDR_MEM_1024M] # EMIFMODE=SINGLE_EMIF_512MB [options: SINGLE_EMIF_512MB SINGLE_EMIF_1GB ref build_pdk.mk] # NDK_PROC_TO_USE=none [options: a15_0 ipu1_0 ipu1_1 ipu2 none] # NSP_TFDTP_INCLUDE=no [options: yes no] # TDA2EX_ETHSRV_BOARD=no [options: yes no] # FATFS_PROC_TO_USE=none [options: ipu1_0 none] # RADAR_BOARD=none [options: TDA3XX_AR12_ALPS TDA3XX_AR12_VIB_DAB_BOOSTER TDA3XX_RADAR_RVP none] # # Build config, # BUILD_OS=Linux [options: Windows_NT Linux] # BUILD_DEPENDENCY_ALWAYS=no # BUILD_ALGORITHMS=no # BUILD_INFOADAS=no # PROFILE=release [options: debug release] # KW_BUILD=no # CPLUSPLUS_BUILD=no # IPU_PRIMARY_CORE=ipu2 [options: ipu1_0 ipu2] # IPU_SECONDARY_CORE=ipu1_0 [options: ipu1_0 ipu2] # A15_TARGET_OS=Linux [options: Bios Linux Qnx] # BSP_STW_PACKAGE_SELECT=all [options: all vps-iss-dss-only vps-vip-vpe] # # Safety Module config, # RTI_INCLUDE=no # ECC_FFI_INCLUDE=no # DCC_ESM_INCLUDE=no # # Video Module config, # IVAHD_INCLUDE=yes # VPE_INCLUDE=yes # CAL_INCLUDE=no # ISS_INCLUDE=no # ISS_ENABLE_DEBUG_TAPS=no # WDR_LDC_INCLUDE=no # DSS_INCLUDE=yes # # Open Compute config, # OPENCL_INCLUDE=no # TARGET_ROOTDIR=<Install_directory>/Source_VSDK_3_07/vision_sdk/../ti_components/os_tools/linux/targetfs # ENABLE_OPENCV=no # ENABLE_OPENCV_TESTS=no # OPENVX_INCLUDE=no # # Log config, # ENABLE_UART_LOG=yes # ENABLE_NETWORK_LOG=no # ENABLE_CCS_LOG=no # CIO_REDIRECT=yes # # IPC config, # WORKQ_INCLUDE=no # IPC_LIB_INCLUDE=no # # AUTOSAR_APP=no # # Surround View config, # SRV_FAST_BOOT_INCLUDE=no # # Other Module config, # AVB_INCLUDE=no # DCAN_INCLUDE=no # RADAR_ONLY=no # RADAR_STUDIO=no # CPU_IDLE_ENABLED=yes # FAST_BOOT_INCLUDE=no # DATA_VIS_INCLUDE=no # HS_DEVICE=no # ULTRASONIC_INCLUDE=no # PGA450= # PGA460= # ENABLE_ALL_DEPTH= # # Linux config, # DEFAULT_UBOOT_CONFIG=dra7xx_evm_vision_config # DEFAULT_KERNEL_CONFIG=fs_its_defconfig # DEFAULT_DTB=dra7-evm-infoadas.dtb # CMEM_INCLUDE=no # IPUMM_INCLUDE=no # IPU1_EVELOADER_INCLUDE=yes # ROBUST_RVC_INCLUDE=no # BUILD_ADAM_CAR=no # # Alg plugins included in build, # ALG_sparseopticalflow ALG_structurefrommotion # # Use-cases included in build, # UC_lvds_vip_multi_cam_3d_perception UC_lvds_vip_multi_cam_view_sgx_display UC_lvds_vip_multi_cam_vpe_enc_null UC_null_src_decode_display UC_disp_dist_src_display UC_vip_single_cam_sgx_display # make -s -fbuild_makeconfig.mk check_cpu_include make[2]: Entering directory `<Install_directory>/Source_VSDK_3_07/vision_sdk/apps/configs' # # CPUs that are NOT required but included in config [ tda2xx_evm_linux_all ], # # # CPUs that are required but not included in config [ tda2xx_evm_linux_all ], # # # Edit <Install_directory>/Source_VSDK_3_07/vision_sdk/apps/configs/tda2xx_evm_linux_all/cfg.mk to include or exclude CPUs in an application # make[2]: Leaving directory `<Install_directory>/Source_VSDK_3_07/vision_sdk/apps/configs' make[1]: Leaving directory `<Install_directory>/Source_VSDK_3_07/vision_sdk/apps/configs' Rgds, Balaji T
Balaji, Have you built linux before running these build commands? Regards, Rishabh
Rishabh, yes, both "make linux_all" and "make linux_install" are successfull. Rgds Balaji T
Hi Balaji, which platform and use case you are building? It seems you have included structure for motion algo, but surround view is not included.. Rgds, Brijesh
I haven't heard back from you, I'm assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if the thread has locked due to time-out).
Hi Brijesh, I have disabled the surround view algorithm, and now i can create use-case of my own. I have only one doubt, is that necessary that we have to copy ".xem4" file every time apps.out is created.? Will you please tell me, how they are related to each other..? Was that necessary that each time, i made a little change in use-case need to run command "make -s -j depend" ? Rgds Balaji T
Hi Balaji, .out is Linux executable files, whereas .xem4 are M4 executables. they are different. Rgds, Brijesh