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.

TDA4VM: Failing while running 'make vision_apps'

Part Number: TDA4VM
Other Parts Discussed in Thread: SYSBIOS

Hi,

While trying to 'make' the 'vision_apps' in the 'Vision apps user guide'

in section:

Quick steps to build vision apps for Linux+TI-RTOS mode

I'm getting this error:

[TIARM] Compiling C vx_kernels_img_proc_target.c
"/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/tiovx/kernels/include/tivx_kernels_target_utils.h", line 153: error: identifier "VXLIB_bufParams2D_t" is undefined
"/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/tiovx/kernels/include/tivx_kernels_target_utils.h", line 165: error: identifier "VXLIB_bufParams2D_t" is undefined
"/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/tiovx/kernels/include/tivx_kernels_target_utils.h", line 166: error: identifier "VXLIB_bufParams2D_t" is undefined
3 errors detected in the compilation of "/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/kernels/img_proc/arm/vx_kernels_img_proc_target.c".

Please let me know what to do,

Thx

Neta

  • Hi Neta Sherer,

    Can you check if this issue goes awake when you try the following command

    # make sdk      -> this should build al the dependencies

  • Hi,

    I ran the 'make sdk' and got the below error:

    make[1]: *** No rule to make target 'ethfw_callbacks'. Stop.
    makerules/makefile_ethfw.mak:9: recipe for target 'ethfw' failed
    make: *** [ethfw] Error 2

  • Hi Neta,

    Are you building the code in a Ubuntu linux machine or Windows machine ? Can you please make sure you have the following path;

    psdk_rtos_auto_j7_07_00_00_11/ethfw/utils/ethfw_callbacks/

  • Hi,

    My root to this is 

    PSDKRA/ethfwutils/ethfw_callbacks/

    While 

    PSDKRA is link to ti/psdk_rtos_auto_j7_07_00_00_11

     

    What should I do?

  • Hi Neta,

    I would suggest to copy whatever is inside PSDRA folder to ti/psdk_rtos_auto_j7_07_00_00_11 and build it. I am not sure in the first place, how did it get split ?  

  • Sorry that I didn't understand:


    PSDKRA is a link as shown below:

    PSDKRA->ti/psdk_rtos_auto_j7_07_00_00_11

    What it means to 'copy' that? 

  • Hi Neta,

    There seems to be some linking issue(assuming you have no broken download of code). Can you please once build the code within ti/psdk_rtos_auto_j7_07_00_00_11 instead of PSDKRA and check if this issue is still there ?

  • Hi,

    It didn't solve the issue.
    Anyway, I'm trying to build for Linux+TI-RTOS so the 'make sdk' is not part of the process there.

    Is that correct?

  • Hi Neta,

    'make sdk' would be required if you need to build the dependent libraries instead of using the pre-built dependent libraries. It can be used in the case of "Linux+TI-RTOS" also. Can you please share the errors that you get ? Can you please explain more about the PC setup like Window Machine or Linux Ubuntu Machine, what version of Ubuntu etc.

  • Hi,

    I'm using  Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-117-generic x86_64) 

     

    Please take a look at all the output of the run until it fails:

     

    make vision_apps
    SHELL=/bin/sh
    TARGET_MAKEFILES=applibs/srv_bowl_lut_gen_applib/concerto.mak applibs/srv_calibration_applib/concerto.mak applibs/test/concerto.mak apps/basic_demos/app_c7x_kernel/c7x/concerto.mak apps/basic_demos/app_c7x_kernel/concerto.mak apps/basic_demos/app_dof/concerto.mak apps/basic_demos/app_dof2/concerto.mak apps/basic_demos/app_encode/concerto.mak apps/basic_demos/app_ipc/concerto.mak apps/basic_demos/app_linux_arm_opengl_mosaic/concerto.mak apps/basic_demos/app_linux_fd_exchange/concerto.mak apps/basic_demos/app_lwir_cam/concerto.mak apps/basic_demos/app_mem/concerto.mak apps/basic_demos/app_multi_cam/concerto.mak apps/basic_demos/app_remote_log/concerto.mak apps/basic_demos/app_single_cam/concerto.mak apps/basic_demos/app_stereo/concerto.mak apps/basic_demos/app_test_framework/concerto.mak apps/basic_demos/app_tirtos/common/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/c66x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/c66x_2/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/c7x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu1_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu1_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu2_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu2_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu3_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu3_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mpu1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/c66x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/c66x_2/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/c7x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu1_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu1_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu2_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu2_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu3_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu3_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mpu1/concerto.mak apps/basic_demos/app_vx_conformance/concerto.mak apps/basic_demos/app_vx_tutorial/concerto.mak apps/dl_demos/app_tidl/concerto.mak apps/dl_demos/app_tidl_avp/concerto.mak apps/dl_demos/app_tidl_avp2/concerto.mak apps/dl_demos/app_tidl_avp3/concerto.mak apps/dl_demos/app_tidl_cam/concerto.mak apps/dl_demos/app_tidl_od/concerto.mak apps/dl_demos/app_tidl_seg/concerto.mak apps/ptk_demos/app_common/concerto.mak apps/ptk_demos/app_dof_sfm_fisheye/concerto.mak apps/ptk_demos/app_lidar_ogmap/concerto.mak apps/ptk_demos/app_radar_gtrack/concerto.mak apps/ptk_demos/app_sde_multilayer/concerto.mak apps/ptk_demos/app_sde_obstacle_detection/concerto.mak apps/ptk_demos/app_surround_radar_ogmap/concerto.mak apps/ptk_demos/app_valet_parking/concerto.mak apps/ptk_demos/applibs/fused_ogmap_applib/concerto.mak apps/ptk_demos/applibs/lidar_ogmap_applib/concerto.mak apps/ptk_demos/applibs/ps_mapping_applib/concerto.mak apps/ptk_demos/applibs/radar_gtrack_applib/concerto.mak apps/ptk_demos/applibs/sde_multilayer_applib/concerto.mak apps/ptk_demos/applibs/sde_obstacle_detection_applib/concerto.mak apps/ptk_demos/applibs/sde_singlelayer_applib/concerto.mak apps/ptk_demos/applibs/surround_radar_ogmap_applib/concerto.mak apps/ptk_demos/applibs/surround_sfm_ogmap_applib/concerto.mak apps/srv_demos/app_srv_calibration/concerto.mak apps/srv_demos/app_srv_camera/concerto.mak apps/srv_demos/app_srv_fileio/concerto.mak kernels/common/target/concerto.mak kernels/fileio/arm/concerto.mak kernels/fileio/host/concerto.mak kernels/img_proc/arm/concerto.mak kernels/img_proc/c66/concerto.mak kernels/img_proc/host/concerto.mak kernels/lidar/arm/concerto.mak kernels/lidar/host/concerto.mak kernels/park_assist/host/concerto.mak kernels/park_assist/target/concerto.mak kernels/sample/a72/concerto.mak kernels/sample/host/concerto.mak kernels/sample/r5f/concerto.mak kernels/srv/c66/concerto.mak kernels/srv/gpu/3dsrv/Tools/concerto.mak kernels/srv/gpu/3dsrv/concerto.mak kernels/srv/gpu/concerto.mak kernels/srv/host/concerto.mak kernels/srv/test/concerto.mak kernels/stereo/host/concerto.mak kernels/stereo/target/bam/concerto.mak kernels/stereo/target/concerto.mak kernels/stereo/test/concerto.mak utils/console_io/src/concerto.mak utils/draw2d/src/concerto.mak utils/dss/src/concerto.mak utils/ethfw/src/concerto.mak utils/grpx/src/concerto.mak utils/hwa/src/concerto.mak utils/ipc/src/concerto.mak utils/iss/src/concerto.mak utils/itt_server/src/concerto.mak utils/mem/src/concerto.mak utils/misc/src/concerto.mak utils/mmc_sd/src/concerto.mak utils/network_api/src/concerto.mak utils/opengl/src/a72/concerto.mak utils/opengl/src/pc/concerto.mak utils/pcie/src/concerto.mak utils/perf_stats/src/concerto.mak utils/remote_service/src/concerto.mak utils/sciclient/src/concerto.mak utils/sensors/src/concerto.mak utils/udma/src/concerto.mak
    file TIARMCGT_ROOT=$(PSDK_PATH)/ti-cgt-arm_20.2.0.LTS
    file GCC_SYSBIOS_ARM_ROOT=$(PSDK_PATH)/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf
    file CGT6X_ROOT=$(PSDK_PATH)/ti-cgt-c6000_8.3.2
    file CGT7X_ROOT=$(PSDK_PATH)/ti-cgt-c7000_1.3.0.STS
    undefined GCC_WINDOWS_ROOT=
    file GCC_LINUX_ROOT=/usr/
    file GCC_QNX_ROOT=$(QNX_HOST)/usr/bin
    #######################################################################
    TARGET_COMBO=J7:SYSBIOS:R5F:3:release:TIARMCGT
    HOST_ROOT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps
    HOST_COMPILER=TIARMCGT
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=8
    TARGET_OS=SYSBIOS
    TARGET_CPU=R5F
    TARGET_ARCH=32
    TARGET_FAMILY=ARM
    TARGET_NUM_CORES=3
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/R5F/SYSBIOS/release
    TARGET_DOC=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/R5F/SYSBIOS/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_SYSBIOS_R5F_3_release_TIARMCGT_DEFS = SYSBIOS J7 R5F="R5F" TARGET_NUM_CORES=3 TARGET_ARCH=32 ARCH_32 ARM TARGET_BUILD=1
    J7_SYSBIOS_R5F_3_release_TIARMCGT_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    #######################################################################
    TARGET_COMBO=J7:SYSBIOS:C66:2:release:CGT6X
    HOST_ROOT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps
    HOST_COMPILER=CGT6X
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=8
    TARGET_OS=SYSBIOS
    TARGET_CPU=C66
    TARGET_ARCH=32
    TARGET_FAMILY=DSP
    TARGET_NUM_CORES=2
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/C66/SYSBIOS/release
    TARGET_DOC=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/C66/SYSBIOS/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_SYSBIOS_C66_2_release_CGT6X_DEFS = SYSBIOS J7 C66="C66" TARGET_NUM_CORES=2 TARGET_ARCH=32 ARCH_32 DSP TARGET_BUILD=1
    J7_SYSBIOS_C66_2_release_CGT6X_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    Build Skipped for kernels.stereo.target.bam.J7.SYSBIOS.C66.release:vx_target_kernels_stereo_bam
    #######################################################################
    TARGET_COMBO=J7:SYSBIOS:C71:1:release:CGT7X
    HOST_ROOT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps
    HOST_COMPILER=CGT7X
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=8
    TARGET_OS=SYSBIOS
    TARGET_CPU=C71
    TARGET_ARCH=64
    TARGET_FAMILY=DSP
    TARGET_NUM_CORES=1
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/C71/SYSBIOS/release
    TARGET_DOC=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/C71/SYSBIOS/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_SYSBIOS_C71_1_release_CGT7X_DEFS = SYSBIOS J7 C71="C71" TARGET_NUM_CORES=1 TARGET_ARCH=64 ARCH_64 DSP TARGET_BUILD=1
    J7_SYSBIOS_C71_1_release_CGT7X_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    #######################################################################
    TARGET_COMBO=J7:LINUX:A72:1:release:GCC_LINUX_ARM
    HOST_ROOT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps
    HOST_COMPILER=GCC_LINUX_ARM
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=8
    TARGET_OS=LINUX
    TARGET_CPU=A72
    TARGET_ARCH=64
    TARGET_FAMILY=ARM
    TARGET_NUM_CORES=1
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/A72/LINUX/release
    TARGET_DOC=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/A72/LINUX/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_LINUX_A72_1_release_GCC_LINUX_ARM_DEFS = LINUX J7 A72="A72" TARGET_NUM_CORES=1 TARGET_ARCH=64 ARCH_64 ARM TARGET_BUILD=1
    J7_LINUX_A72_1_release_GCC_LINUX_ARM_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    concerto/finale.mak:206: warning: overriding recipe for target '/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/A72/LINUX/release/vx_app_single_cam.out'
    concerto/finale.mak:206: warning: ignoring old recipe for target '/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/A72/LINUX/release/vx_app_single_cam.out'
    Build Skipped for kernels.stereo.target.bam.J7.LINUX.A72.release:vx_target_kernels_stereo_bam
    # SDK paths OK !!!
    make all
    make[1]: Entering directory '/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps'
    SHELL=/bin/sh
    TARGET_MAKEFILES=applibs/srv_bowl_lut_gen_applib/concerto.mak applibs/srv_calibration_applib/concerto.mak applibs/test/concerto.mak apps/basic_demos/app_c7x_kernel/c7x/concerto.mak apps/basic_demos/app_c7x_kernel/concerto.mak apps/basic_demos/app_dof/concerto.mak apps/basic_demos/app_dof2/concerto.mak apps/basic_demos/app_encode/concerto.mak apps/basic_demos/app_ipc/concerto.mak apps/basic_demos/app_linux_arm_opengl_mosaic/concerto.mak apps/basic_demos/app_linux_fd_exchange/concerto.mak apps/basic_demos/app_lwir_cam/concerto.mak apps/basic_demos/app_mem/concerto.mak apps/basic_demos/app_multi_cam/concerto.mak apps/basic_demos/app_remote_log/concerto.mak apps/basic_demos/app_single_cam/concerto.mak apps/basic_demos/app_stereo/concerto.mak apps/basic_demos/app_test_framework/concerto.mak apps/basic_demos/app_tirtos/common/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/c66x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/c66x_2/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/c7x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu1_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu1_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu2_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu2_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu3_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu3_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mpu1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/c66x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/c66x_2/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/c7x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu1_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu1_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu2_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu2_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu3_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu3_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mpu1/concerto.mak apps/basic_demos/app_vx_conformance/concerto.mak apps/basic_demos/app_vx_tutorial/concerto.mak apps/dl_demos/app_tidl/concerto.mak apps/dl_demos/app_tidl_avp/concerto.mak apps/dl_demos/app_tidl_avp2/concerto.mak apps/dl_demos/app_tidl_avp3/concerto.mak apps/dl_demos/app_tidl_cam/concerto.mak apps/dl_demos/app_tidl_od/concerto.mak apps/dl_demos/app_tidl_seg/concerto.mak apps/ptk_demos/app_common/concerto.mak apps/ptk_demos/app_dof_sfm_fisheye/concerto.mak apps/ptk_demos/app_lidar_ogmap/concerto.mak apps/ptk_demos/app_radar_gtrack/concerto.mak apps/ptk_demos/app_sde_multilayer/concerto.mak apps/ptk_demos/app_sde_obstacle_detection/concerto.mak apps/ptk_demos/app_surround_radar_ogmap/concerto.mak apps/ptk_demos/app_valet_parking/concerto.mak apps/ptk_demos/applibs/fused_ogmap_applib/concerto.mak apps/ptk_demos/applibs/lidar_ogmap_applib/concerto.mak apps/ptk_demos/applibs/ps_mapping_applib/concerto.mak apps/ptk_demos/applibs/radar_gtrack_applib/concerto.mak apps/ptk_demos/applibs/sde_multilayer_applib/concerto.mak apps/ptk_demos/applibs/sde_obstacle_detection_applib/concerto.mak apps/ptk_demos/applibs/sde_singlelayer_applib/concerto.mak apps/ptk_demos/applibs/surround_radar_ogmap_applib/concerto.mak apps/ptk_demos/applibs/surround_sfm_ogmap_applib/concerto.mak apps/srv_demos/app_srv_calibration/concerto.mak apps/srv_demos/app_srv_camera/concerto.mak apps/srv_demos/app_srv_fileio/concerto.mak kernels/common/target/concerto.mak kernels/fileio/arm/concerto.mak kernels/fileio/host/concerto.mak kernels/img_proc/arm/concerto.mak kernels/img_proc/c66/concerto.mak kernels/img_proc/host/concerto.mak kernels/lidar/arm/concerto.mak kernels/lidar/host/concerto.mak kernels/park_assist/host/concerto.mak kernels/park_assist/target/concerto.mak kernels/sample/a72/concerto.mak kernels/sample/host/concerto.mak kernels/sample/r5f/concerto.mak kernels/srv/c66/concerto.mak kernels/srv/gpu/3dsrv/Tools/concerto.mak kernels/srv/gpu/3dsrv/concerto.mak kernels/srv/gpu/concerto.mak kernels/srv/host/concerto.mak kernels/srv/test/concerto.mak kernels/stereo/host/concerto.mak kernels/stereo/target/bam/concerto.mak kernels/stereo/target/concerto.mak kernels/stereo/test/concerto.mak utils/console_io/src/concerto.mak utils/draw2d/src/concerto.mak utils/dss/src/concerto.mak utils/ethfw/src/concerto.mak utils/grpx/src/concerto.mak utils/hwa/src/concerto.mak utils/ipc/src/concerto.mak utils/iss/src/concerto.mak utils/itt_server/src/concerto.mak utils/mem/src/concerto.mak utils/misc/src/concerto.mak utils/mmc_sd/src/concerto.mak utils/network_api/src/concerto.mak utils/opengl/src/a72/concerto.mak utils/opengl/src/pc/concerto.mak utils/pcie/src/concerto.mak utils/perf_stats/src/concerto.mak utils/remote_service/src/concerto.mak utils/sciclient/src/concerto.mak utils/sensors/src/concerto.mak utils/udma/src/concerto.mak
    file TIARMCGT_ROOT=$(PSDK_PATH)/ti-cgt-arm_20.2.0.LTS
    file GCC_SYSBIOS_ARM_ROOT=$(PSDK_PATH)/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf
    file CGT6X_ROOT=$(PSDK_PATH)/ti-cgt-c6000_8.3.2
    file CGT7X_ROOT=$(PSDK_PATH)/ti-cgt-c7000_1.3.0.STS
    undefined GCC_WINDOWS_ROOT=
    file GCC_LINUX_ROOT=/usr/
    environment GCC_QNX_ROOT=/home/adasky/qnx700/host/linux/x86_64/usr/bin
    #######################################################################
    TARGET_COMBO=J7:SYSBIOS:R5F:3:release:TIARMCGT
    HOST_ROOT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps
    HOST_COMPILER=TIARMCGT
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=8
    TARGET_OS=SYSBIOS
    TARGET_CPU=R5F
    TARGET_ARCH=32
    TARGET_FAMILY=ARM
    TARGET_NUM_CORES=3
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/R5F/SYSBIOS/release
    TARGET_DOC=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/R5F/SYSBIOS/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_SYSBIOS_R5F_3_release_TIARMCGT_DEFS = SYSBIOS J7 R5F="R5F" TARGET_NUM_CORES=3 TARGET_ARCH=32 ARCH_32 ARM TARGET_BUILD=1
    J7_SYSBIOS_R5F_3_release_TIARMCGT_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    #######################################################################
    TARGET_COMBO=J7:SYSBIOS:C66:2:release:CGT6X
    HOST_ROOT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps
    HOST_COMPILER=CGT6X
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=8
    TARGET_OS=SYSBIOS
    TARGET_CPU=C66
    TARGET_ARCH=32
    TARGET_FAMILY=DSP
    TARGET_NUM_CORES=2
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/C66/SYSBIOS/release
    TARGET_DOC=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/C66/SYSBIOS/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_SYSBIOS_C66_2_release_CGT6X_DEFS = SYSBIOS J7 C66="C66" TARGET_NUM_CORES=2 TARGET_ARCH=32 ARCH_32 DSP TARGET_BUILD=1
    J7_SYSBIOS_C66_2_release_CGT6X_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    Build Skipped for kernels.stereo.target.bam.J7.SYSBIOS.C66.release:vx_target_kernels_stereo_bam
    #######################################################################
    TARGET_COMBO=J7:SYSBIOS:C71:1:release:CGT7X
    HOST_ROOT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps
    HOST_COMPILER=CGT7X
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=8
    TARGET_OS=SYSBIOS
    TARGET_CPU=C71
    TARGET_ARCH=64
    TARGET_FAMILY=DSP
    TARGET_NUM_CORES=1
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/C71/SYSBIOS/release
    TARGET_DOC=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/C71/SYSBIOS/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_SYSBIOS_C71_1_release_CGT7X_DEFS = SYSBIOS J7 C71="C71" TARGET_NUM_CORES=1 TARGET_ARCH=64 ARCH_64 DSP TARGET_BUILD=1
    J7_SYSBIOS_C71_1_release_CGT7X_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    #######################################################################
    TARGET_COMBO=J7:LINUX:A72:1:release:GCC_LINUX_ARM
    HOST_ROOT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps
    HOST_COMPILER=GCC_LINUX_ARM
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=8
    TARGET_OS=LINUX
    TARGET_CPU=A72
    TARGET_ARCH=64
    TARGET_FAMILY=ARM
    TARGET_NUM_CORES=1
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/A72/LINUX/release
    TARGET_DOC=/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/A72/LINUX/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_LINUX_A72_1_release_GCC_LINUX_ARM_DEFS = LINUX J7 A72="A72" TARGET_NUM_CORES=1 TARGET_ARCH=64 ARCH_64 ARM TARGET_BUILD=1
    J7_LINUX_A72_1_release_GCC_LINUX_ARM_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    concerto/finale.mak:206: warning: overriding recipe for target '/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/A72/LINUX/release/vx_app_single_cam.out'
    concerto/finale.mak:206: warning: ignoring old recipe for target '/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/A72/LINUX/release/vx_app_single_cam.out'
    Build Skipped for kernels.stereo.target.bam.J7.LINUX.A72.release:vx_target_kernels_stereo_bam
    [TIARM] Compiling C vx_kernels_img_proc_target.c
    "/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/tiovx/kernels/include/tivx_kernels_target_utils.h", line 153: error: identifier "VXLIB_bufParams2D_t" is undefined
    "/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/tiovx/kernels/include/tivx_kernels_target_utils.h", line 165: error: identifier "VXLIB_bufParams2D_t" is undefined
    "/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/tiovx/kernels/include/tivx_kernels_target_utils.h", line 166: error: identifier "VXLIB_bufParams2D_t" is undefined
    3 errors detected in the compilation of "/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/kernels/img_proc/arm/vx_kernels_img_proc_target.c".

    >> Compilation failure
    concerto/finale.mak:306: recipe for target '/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/R5F/SYSBIOS/release/module/kernels.img_proc.arm/vx_kernels_img_proc_target.obj' failed
    make[1]: *** [/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/J7/R5F/SYSBIOS/release/module/kernels.img_proc.arm/vx_kernels_img_proc_target.obj] Error 1
    make[1]: Leaving directory '/home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vision_apps'
    Makefile:155: recipe for target 'vision_apps' failed
    make: *** [vision_apps] Error 2

  • Can you please make sure the following file is available ?

    /home/adasky/ti/psdk_rtos_auto_j7_07_00_00_11/vxlib_c66x_1_1_5_0/packages/ti/vxlib/src/common/VXLIB_bufParams.h

  • Yes, it is there but it is an empty file

  • Hi Neta,

    That file should not be empty. Thats why you are getting build error. There is something broken. Please download the PRSDKRA package again, extract it and check.

  • Hi,

    It took my a while but I re-installed the PSDK:

    The problem is that under the directory:

    <user>/psdk_rtos_auto_j7_07_00_00_11/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/

    there are only two items:

    9.2-2019.12-x86_64-aarch64-none-linux-gnu-manifest.txt  libexec/

    Why is that? 
    During the installation process it downloaded it successfully.

  • Hi Neta,

    Have you run the following script ? psdk_rtos_auto/scripts/setup_psdk_rtos_auto.sh . If not please run this and then give it a try

  • Hi,

    Issue solved:

    The problem is that I had a failure during the first download of the gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu file.
    When I tried to take the process again the script found that partial download and skipped to download it again.

    It looks to me that it would be perfect to add an 'rm -rf " command before the download of each file.

    Thx for the support,

    Neta