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.
Hi ,
I want to count the runtime of the code using the clock_gettime function in pdk directory and from the QNX website - clock_gettime() (qnx.com) I know it need to include the time.h header.
But it didn't work.
The patch is
diff --git a/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/drv/ipc/src/ipc_api.c b/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/drv/ipc/src/ipc_api.c index ead5918c2..555272d52 100755 --- a/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/drv/ipc/src/ipc_api.c +++ b/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/drv/ipc/src/ipc_api.c @@ -54,6 +54,10 @@ #include "ipc_osal.h" #include "ipc_utils.h" #include "ipc_mailbox.h" +#include <stdio.h> +//#include <unistd.h> +#include <stdlib.h> +#include <time.h> /* ========================================================================== */ /* Macros & Typedefs */ @@ -1377,6 +1381,7 @@ int32_t RPMessage_recv(RPMessage_Handle handle, void* data, uint16_t *len, uint8_t skiplist = FALSE; RPMessage_MsgElem *payload; uint32_t key; + struct timespec now; /* Fix ME TBD, skipping the null tests, as this function check's/error handling would require an overhaul */ Ipc_OsalPrms *pOsalPrms = &gIpcObject.initPrms.osalPrms; @@ -1402,6 +1407,8 @@ int32_t RPMessage_recv(RPMessage_Handle handle, void* data, uint16_t *len, /* Block until notified. */ semStatus = IPC_SOK; semStatus = pOsalPrms->lockMutex(obj->semHandle, timeout); + clock_gettime(CLOCK_REALTIME , &now); + printf("Ruifeng %s %d Got the Mutex lock. %06lds.%09ldns \n", __func__, __LINE__, now.tv_sec, now.tv_nsec); if (semStatus == IPC_ETIMEOUT) { @@ -1450,6 +1457,8 @@ int32_t RPMessage_recv(RPMessage_Handle handle, void* data, uint16_t *len, pOsalPrms->unLockHIsrGate(module.gateSwi, key); } + clock_gettime(CLOCK_REALTIME , &now); + printf("Ruifeng %s %d Memcpy done %06lds.%09ldns \n", __func__, __LINE__, now.tv_sec, now.tv_nsec); } return (status); #else
And the error log of compilcation is
tda4@ubuntu:~/code/sdk8_2_qnx_2/PSDKRA/vision_apps$ make pdk -j1 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_csitx/concerto.mak apps/basic_demos/app_dof/concerto.mak apps/basic_demos/app_fd_exchange/concerto.mak apps/basic_demos/app_heap_stats/concerto.mak apps/basic_demos/app_hsm/concerto.mak apps/basic_demos/app_ipc/concerto.mak apps/basic_demos/app_ipc_share_mem/concerto.mak apps/basic_demos/app_linux_arm_opengl_mosaic/concerto.mak apps/basic_demos/app_load_test/concerto.mak apps/basic_demos/app_mcan/concerto.mak apps/basic_demos/app_mcan_fr_dbc/concerto.mak apps/basic_demos/app_mem/concerto.mak apps/basic_demos/app_multi_cam/concerto.mak apps/basic_demos/app_multi_cam_isp_x3c/concerto.mak apps/basic_demos/app_multi_cam_isp_x8b/concerto.mak apps/basic_demos/app_remote_log/concerto.mak apps/basic_demos/app_rtos_fileio/common/concerto.mak apps/basic_demos/app_rtos_fileio/mpu1/concerto.mak apps/basic_demos/app_sgmii_status/concerto.mak apps/basic_demos/app_single_cam/concerto.mak apps/basic_demos/app_stereo/concerto.mak apps/basic_demos/app_task_print/concerto.mak apps/basic_demos/app_test_framework/concerto.mak apps/basic_demos/app_viss/concerto.mak apps/basic_demos/app_vx_conformance/concerto.mak apps/basic_demos/app_vx_tutorial/concerto.mak apps/concerto.mak apps/cv_demos/app_sfm/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_avp4/concerto.mak apps/dl_demos/app_tidl_cam/concerto.mak apps/dl_demos/app_tidl_od/concerto.mak apps/dl_demos/app_tidl_od_cam/concerto.mak apps/dl_demos/app_tidl_seg/concerto.mak apps/dl_demos/app_tidl_seg_cam/concerto.mak apps/dl_demos/app_tidl_vl/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_sde/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/applib_common/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_ldc_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/sde_triangulate_applib/concerto.mak apps/ptk_demos/applibs/semseg_cnn_applib/concerto.mak apps/ptk_demos/applibs/ss_sde_detection_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/hsmspi/host/concerto.mak kernels/hsmspi/r5f/concerto.mak kernels/hsmspi/test/concerto.mak kernels/img_proc/a72/concerto.mak kernels/img_proc/c66/concerto.mak kernels/img_proc/c71/concerto.mak kernels/img_proc/host/concerto.mak kernels/img_proc/r5f/concerto.mak kernels/lidar/arm/concerto.mak kernels/lidar/host/concerto.mak kernels/mcan/host/concerto.mak kernels/mcan/r5f/concerto.mak kernels/mcan/test/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 modules/src/concerto.mak platform/j721e/linux/concerto.mak platform/j721e/qnx/concerto.mak platform/j721e/rtos/c66x_1/concerto.mak platform/j721e/rtos/c66x_2/concerto.mak platform/j721e/rtos/c7x_1/concerto.mak platform/j721e/rtos/common/concerto.mak platform/j721e/rtos/common_linux/concerto.mak platform/j721e/rtos/common_qnx/concerto.mak platform/j721e/rtos/concerto.mak platform/j721e/rtos/mcu1_0/concerto.mak platform/j721e/rtos/mcu1_1/concerto.mak platform/j721e/rtos/mcu2_0/concerto.mak platform/j721e/rtos/mcu2_1/concerto.mak platform/j721e/rtos/mcu3_0/concerto.mak platform/j721e/rtos/mcu3_1/concerto.mak utils/app_init/src/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/sciserver/src/concerto.mak utils/sensors/src/concerto.mak utils/udma/src/concerto.mak undefined TIARMCGT_ROOT= file TIARMCGT_LLVM_ROOT=$(PSDK_PATH)/ti-cgt-armllvm_1.3.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.7 file CGT7X_ROOT=$(PSDK_PATH)/ti-cgt-c7000_2.1.1.LTS undefined GCC_WINDOWS_ROOT= file GCC_LINUX_ROOT=/usr/ file GCC_QNX_ROOT=$(QNX_HOST)/usr/bin ####################################################################### TARGET_COMBO=J7:FREERTOS:R5F:3:release:TIARMCGT_LLVM HOST_ROOT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps HOST_COMPILER=TIARMCGT_LLVM HOST_PLATFORM=PC HOST_OS=LINUX HOST_CPU=x86_64 HOST_ARCH=64 HOST_FAMILY=x86_64 HOST_NUM_CORES=16 TARGET_OS=FREERTOS TARGET_CPU=R5F TARGET_ARCH=32 TARGET_FAMILY=ARM TARGET_NUM_CORES=3 TARGET_PLATFORM=J7 TARGET_BUILD=release TARGET_OUT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/R5F/FREERTOS/release TARGET_DOC=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/R5F/FREERTOS/release/docs BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST SOC_J721E J7_FREERTOS_R5F_3_release_TIARMCGT_LLVM_DEFS = FREERTOS J7 R5F="R5F" TARGET_NUM_CORES=3 TARGET_ARCH=32 ARCH_32 ARM TARGET_BUILD=1 J7_FREERTOS_R5F_3_release_TIARMCGT_LLVM_LDIRS = SCM_ROOT= SCM_VERSION= ####################################################################### TARGET_COMBO=J7:FREERTOS:C66:2:release:CGT6X HOST_ROOT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/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=16 TARGET_OS=FREERTOS TARGET_CPU=C66 TARGET_ARCH=32 TARGET_FAMILY=DSP TARGET_NUM_CORES=2 TARGET_PLATFORM=J7 TARGET_BUILD=release TARGET_OUT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/C66/FREERTOS/release TARGET_DOC=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/C66/FREERTOS/release/docs BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST SOC_J721E J7_FREERTOS_C66_2_release_CGT6X_DEFS = FREERTOS J7 C66="C66" TARGET_NUM_CORES=2 TARGET_ARCH=32 ARCH_32 DSP TARGET_BUILD=1 J7_FREERTOS_C66_2_release_CGT6X_LDIRS = SCM_ROOT= SCM_VERSION= Build Skipped for kernels.stereo.target.bam.J7.FREERTOS.C66.release:vx_target_kernels_stereo_bam ####################################################################### TARGET_COMBO=J7:FREERTOS:C71:1:release:CGT7X HOST_ROOT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/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=16 TARGET_OS=FREERTOS TARGET_CPU=C71 TARGET_ARCH=64 TARGET_FAMILY=DSP TARGET_NUM_CORES=1 TARGET_PLATFORM=J7 TARGET_BUILD=release TARGET_OUT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/C71/FREERTOS/release TARGET_DOC=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/C71/FREERTOS/release/docs BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST SOC_J721E J7_FREERTOS_C71_1_release_CGT7X_DEFS = FREERTOS J7 C71="C71" TARGET_NUM_CORES=1 TARGET_ARCH=64 ARCH_64 DSP TARGET_BUILD=1 J7_FREERTOS_C71_1_release_CGT7X_LDIRS = SCM_ROOT= SCM_VERSION= ####################################################################### TARGET_COMBO=J7:QNX:A72:1:release:GCC_QNX_ARM HOST_ROOT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps HOST_COMPILER=GCC_QNX_ARM HOST_PLATFORM=PC HOST_OS=LINUX HOST_CPU=x86_64 HOST_ARCH=64 HOST_FAMILY=x86_64 HOST_NUM_CORES=16 TARGET_OS=QNX TARGET_CPU=A72 TARGET_ARCH=64 TARGET_FAMILY=ARM TARGET_NUM_CORES=1 TARGET_PLATFORM=J7 TARGET_BUILD=release TARGET_OUT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/A72/QNX/release TARGET_DOC=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/A72/QNX/release/docs BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST SOC_J721E J7_QNX_A72_1_release_GCC_QNX_ARM_DEFS = QNX J7 A72="A72" TARGET_NUM_CORES=1 TARGET_ARCH=64 ARCH_64 ARM TARGET_BUILD=1 J7_QNX_A72_1_release_GCC_QNX_ARM_LDIRS = SCM_ROOT= SCM_VERSION= Build Skipped for kernels.stereo.target.bam.J7.QNX.A72.release:vx_target_kernels_stereo_bam make pdk_build -s PDK_BUILD_TARGET_LIST_ALL="pdk_libs" 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_csitx/concerto.mak apps/basic_demos/app_dof/concerto.mak apps/basic_demos/app_fd_exchange/concerto.mak apps/basic_demos/app_heap_stats/concerto.mak apps/basic_demos/app_hsm/concerto.mak apps/basic_demos/app_ipc/concerto.mak apps/basic_demos/app_ipc_share_mem/concerto.mak apps/basic_demos/app_linux_arm_opengl_mosaic/concerto.mak apps/basic_demos/app_load_test/concerto.mak apps/basic_demos/app_mcan/concerto.mak apps/basic_demos/app_mcan_fr_dbc/concerto.mak apps/basic_demos/app_mem/concerto.mak apps/basic_demos/app_multi_cam/concerto.mak apps/basic_demos/app_multi_cam_isp_x3c/concerto.mak apps/basic_demos/app_multi_cam_isp_x8b/concerto.mak apps/basic_demos/app_remote_log/concerto.mak apps/basic_demos/app_rtos_fileio/common/concerto.mak apps/basic_demos/app_rtos_fileio/mpu1/concerto.mak apps/basic_demos/app_sgmii_status/concerto.mak apps/basic_demos/app_single_cam/concerto.mak apps/basic_demos/app_stereo/concerto.mak apps/basic_demos/app_task_print/concerto.mak apps/basic_demos/app_test_framework/concerto.mak apps/basic_demos/app_viss/concerto.mak apps/basic_demos/app_vx_conformance/concerto.mak apps/basic_demos/app_vx_tutorial/concerto.mak apps/concerto.mak apps/cv_demos/app_sfm/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_avp4/concerto.mak apps/dl_demos/app_tidl_cam/concerto.mak apps/dl_demos/app_tidl_od/concerto.mak apps/dl_demos/app_tidl_od_cam/concerto.mak apps/dl_demos/app_tidl_seg/concerto.mak apps/dl_demos/app_tidl_seg_cam/concerto.mak apps/dl_demos/app_tidl_vl/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_sde/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/applib_common/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_ldc_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/sde_triangulate_applib/concerto.mak apps/ptk_demos/applibs/semseg_cnn_applib/concerto.mak apps/ptk_demos/applibs/ss_sde_detection_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/hsmspi/host/concerto.mak kernels/hsmspi/r5f/concerto.mak kernels/hsmspi/test/concerto.mak kernels/img_proc/a72/concerto.mak kernels/img_proc/c66/concerto.mak kernels/img_proc/c71/concerto.mak kernels/img_proc/host/concerto.mak kernels/img_proc/r5f/concerto.mak kernels/lidar/arm/concerto.mak kernels/lidar/host/concerto.mak kernels/mcan/host/concerto.mak kernels/mcan/r5f/concerto.mak kernels/mcan/test/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 modules/src/concerto.mak platform/j721e/linux/concerto.mak platform/j721e/qnx/concerto.mak platform/j721e/rtos/c66x_1/concerto.mak platform/j721e/rtos/c66x_2/concerto.mak platform/j721e/rtos/c7x_1/concerto.mak platform/j721e/rtos/common/concerto.mak platform/j721e/rtos/common_linux/concerto.mak platform/j721e/rtos/common_qnx/concerto.mak platform/j721e/rtos/concerto.mak platform/j721e/rtos/mcu1_0/concerto.mak platform/j721e/rtos/mcu1_1/concerto.mak platform/j721e/rtos/mcu2_0/concerto.mak platform/j721e/rtos/mcu2_1/concerto.mak platform/j721e/rtos/mcu3_0/concerto.mak platform/j721e/rtos/mcu3_1/concerto.mak utils/app_init/src/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/sciserver/src/concerto.mak utils/sensors/src/concerto.mak utils/udma/src/concerto.mak undefined TIARMCGT_ROOT= file TIARMCGT_LLVM_ROOT=$(PSDK_PATH)/ti-cgt-armllvm_1.3.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.7 file CGT7X_ROOT=$(PSDK_PATH)/ti-cgt-c7000_2.1.1.LTS undefined GCC_WINDOWS_ROOT= file GCC_LINUX_ROOT=/usr/ environment GCC_QNX_ROOT=/home/tda4/qnx710/host/linux/x86_64/usr/bin ####################################################################### TARGET_COMBO=J7:FREERTOS:R5F:3:release:TIARMCGT_LLVM HOST_ROOT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps HOST_COMPILER=TIARMCGT_LLVM HOST_PLATFORM=PC HOST_OS=LINUX HOST_CPU=x86_64 HOST_ARCH=64 HOST_FAMILY=x86_64 HOST_NUM_CORES=16 TARGET_OS=FREERTOS TARGET_CPU=R5F TARGET_ARCH=32 TARGET_FAMILY=ARM TARGET_NUM_CORES=3 TARGET_PLATFORM=J7 TARGET_BUILD=release TARGET_OUT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/R5F/FREERTOS/release TARGET_DOC=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/R5F/FREERTOS/release/docs BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST SOC_J721E J7_FREERTOS_R5F_3_release_TIARMCGT_LLVM_DEFS = FREERTOS J7 R5F="R5F" TARGET_NUM_CORES=3 TARGET_ARCH=32 ARCH_32 ARM TARGET_BUILD=1 J7_FREERTOS_R5F_3_release_TIARMCGT_LLVM_LDIRS = SCM_ROOT= SCM_VERSION= ####################################################################### TARGET_COMBO=J7:FREERTOS:C66:2:release:CGT6X HOST_ROOT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/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=16 TARGET_OS=FREERTOS TARGET_CPU=C66 TARGET_ARCH=32 TARGET_FAMILY=DSP TARGET_NUM_CORES=2 TARGET_PLATFORM=J7 TARGET_BUILD=release TARGET_OUT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/C66/FREERTOS/release TARGET_DOC=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/C66/FREERTOS/release/docs BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST SOC_J721E J7_FREERTOS_C66_2_release_CGT6X_DEFS = FREERTOS J7 C66="C66" TARGET_NUM_CORES=2 TARGET_ARCH=32 ARCH_32 DSP TARGET_BUILD=1 J7_FREERTOS_C66_2_release_CGT6X_LDIRS = SCM_ROOT= SCM_VERSION= Build Skipped for kernels.stereo.target.bam.J7.FREERTOS.C66.release:vx_target_kernels_stereo_bam ####################################################################### TARGET_COMBO=J7:FREERTOS:C71:1:release:CGT7X HOST_ROOT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/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=16 TARGET_OS=FREERTOS TARGET_CPU=C71 TARGET_ARCH=64 TARGET_FAMILY=DSP TARGET_NUM_CORES=1 TARGET_PLATFORM=J7 TARGET_BUILD=release TARGET_OUT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/C71/FREERTOS/release TARGET_DOC=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/C71/FREERTOS/release/docs BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST SOC_J721E J7_FREERTOS_C71_1_release_CGT7X_DEFS = FREERTOS J7 C71="C71" TARGET_NUM_CORES=1 TARGET_ARCH=64 ARCH_64 DSP TARGET_BUILD=1 J7_FREERTOS_C71_1_release_CGT7X_LDIRS = SCM_ROOT= SCM_VERSION= ####################################################################### TARGET_COMBO=J7:QNX:A72:1:release:GCC_QNX_ARM HOST_ROOT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps HOST_COMPILER=GCC_QNX_ARM HOST_PLATFORM=PC HOST_OS=LINUX HOST_CPU=x86_64 HOST_ARCH=64 HOST_FAMILY=x86_64 HOST_NUM_CORES=16 TARGET_OS=QNX TARGET_CPU=A72 TARGET_ARCH=64 TARGET_FAMILY=ARM TARGET_NUM_CORES=1 TARGET_PLATFORM=J7 TARGET_BUILD=release TARGET_OUT=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/A72/QNX/release TARGET_DOC=/home/tda4/code/sdk8_2_qnx_2/PSDKRA/vision_apps/out/J7/A72/QNX/release/docs BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST SOC_J721E J7_QNX_A72_1_release_GCC_QNX_ARM_DEFS = QNX J7 A72="A72" TARGET_NUM_CORES=1 TARGET_ARCH=64 ARCH_64 ARM TARGET_BUILD=1 J7_QNX_A72_1_release_GCC_QNX_ARM_LDIRS = SCM_ROOT= SCM_VERSION= Build Skipped for kernels.stereo.target.bam.J7.QNX.A72.release:vx_target_kernels_stereo_bam Nothing to be done for j721e mcu2_0 csl_intc Nothing to be done for j721e pm_hal Nothing to be done for j721e pm_hal_optimized Nothing to be done for j721e mcu2_0 sbl_lib_mmcsd Nothing to be done for j721e mcu2_0 sbl_lib_ospi Nothing to be done for j721e mcu2_0 sbl_lib_uart Nothing to be done for j721e mcu2_0 sbl_lib_hyperflash Nothing to be done for j721e mcu2_0 sbl_lib_cust Nothing to be done for j721e mcu2_0 sbl_lib_mmcsd_hlos Nothing to be done for j721e mcu2_0 sbl_lib_ospi_hlos Nothing to be done for j721e mcu2_0 sbl_lib_hyperflash_hlos Nothing to be done for j721e mcu2_0 sbl_lib_ospi_nondma Nothing to be done for j721e mcu2_0 sbl_lib_ospi_nondma_hlos Nothing to be done for j721e mcu2_0 sbl_lib_mmcsd_hs Nothing to be done for j721e mcu2_0 sbl_lib_ospi_hs Nothing to be done for j721e mcu2_0 sbl_lib_uart_hs Nothing to be done for j721e mcu2_0 sbl_lib_hyperflash_hs Nothing to be done for j721e mcu2_0 sbl_lib_cust_hs Nothing to be done for j721e mcu2_0 sbl_lib_mmcsd_hlos_hs Nothing to be done for j721e mcu2_0 sbl_lib_ospi_hlos_hs Nothing to be done for j721e mcu2_0 sbl_lib_hyperflash_hlos_hs Nothing to be done for j721e mcu2_0 sbl_lib_ospi_nondma_hs Nothing to be done for j721e mcu2_0 sbl_lib_ospi_nondma_hlos_hs Nothing to be done for j721e mcu2_0 dmautils Nothing to be done for j721e mcu2_0 lpm Nothing to be done for j721e mcu2_0 rm_pm_hal Nothing to be done for j721e mcu2_0 sciserver_tirtos Nothing to be done for j721e sciserver_freertos Nothing to be done for j721e mcu2_0 sciserver_baremetal Nothing to be done for j721e mcu2_0 sciclient_direct Nothing to be done for j721e mcu2_0 sciclient_direct_hs Nothing to be done for j721e mcu2_0 sdr # Compiling j721e:mcu2_0:release:ipc:src/ipc_api.c src/ipc_api.c:1410:2: error: implicit declaration of function 'clock_gettime' is invalid in C99 [-Werror,-Wimplicit-function-declaration] clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1410:16: error: use of undeclared identifier 'CLOCK_REALTIME' clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1411:84: error: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] printf("Ruifeng %s %d Got the Mutex lock. %06lds.%09ldns \n", __func__, __LINE__, now.tv_sec, now.tv_nsec); ~~~~~ ^~~~~~~~~~ %06lld src/ipc_api.c:1460:16: error: use of undeclared identifier 'CLOCK_REALTIME' clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1461:76: error: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] printf("Ruifeng %s %d Memcpy done %06lds.%09ldns \n", __func__, __LINE__, now.tv_sec, now.tv_nsec); ~~~~~ ^~~~~~~~~~ %06lld 5 errors generated. /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makerules/rules_ti_cgt_arm.mk:233: recipe for target '/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/mcu2_0/release/ipc_api.oer5f' failed make[5]: *** [/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/mcu2_0/release/ipc_api.oer5f] Error 1 /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makefile:360: recipe for target 'ipc' failed make[4]: *** [ipc] Error 2 makefile:123: recipe for target 'ipc_has_dep' failed make[3]: *** [ipc_has_dep] Error 2 Nothing to be done for j721e mcu2_1 csl_intc Nothing to be done for j721e pm_hal Nothing to be done for j721e pm_hal_optimized Nothing to be done for j721e mcu2_1 sbl_lib_mmcsd Nothing to be done for j721e mcu2_1 sbl_lib_ospi Nothing to be done for j721e mcu2_1 sbl_lib_uart Nothing to be done for j721e mcu2_1 sbl_lib_hyperflash Nothing to be done for j721e mcu2_1 sbl_lib_cust Nothing to be done for j721e mcu2_1 sbl_lib_mmcsd_hlos Nothing to be done for j721e mcu2_1 sbl_lib_ospi_hlos Nothing to be done for j721e mcu2_1 sbl_lib_hyperflash_hlos Nothing to be done for j721e mcu2_1 sbl_lib_ospi_nondma Nothing to be done for j721e mcu2_1 sbl_lib_ospi_nondma_hlos Nothing to be done for j721e mcu2_1 sbl_lib_mmcsd_hs Nothing to be done for j721e mcu2_1 sbl_lib_ospi_hs Nothing to be done for j721e mcu2_1 sbl_lib_uart_hs Nothing to be done for j721e mcu2_1 sbl_lib_hyperflash_hs Nothing to be done for j721e mcu2_1 sbl_lib_cust_hs Nothing to be done for j721e mcu2_1 sbl_lib_mmcsd_hlos_hs Nothing to be done for j721e mcu2_1 sbl_lib_ospi_hlos_hs Nothing to be done for j721e mcu2_1 sbl_lib_hyperflash_hlos_hs Nothing to be done for j721e mcu2_1 sbl_lib_ospi_nondma_hs Nothing to be done for j721e mcu2_1 sbl_lib_ospi_nondma_hlos_hs Nothing to be done for j721e mcu2_1 dmautils Nothing to be done for j721e mcu2_1 lpm Nothing to be done for j721e mcu2_1 dss Nothing to be done for j721e mcu2_1 rm_pm_hal Nothing to be done for j721e mcu2_1 sciserver_tirtos Nothing to be done for j721e sciserver_freertos Nothing to be done for j721e mcu2_1 sciserver_baremetal Nothing to be done for j721e mcu2_1 sciclient_direct Nothing to be done for j721e mcu2_1 sciclient_direct_hs Nothing to be done for j721e mcu2_1 sdr # Compiling j721e:mcu2_1:release:ipc:src/ipc_api.c src/ipc_api.c:1410:2: error: implicit declaration of function 'clock_gettime' is invalid in C99 [-Werror,-Wimplicit-function-declaration] clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1410:16: error: use of undeclared identifier 'CLOCK_REALTIME' clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1411:84: error: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] printf("Ruifeng %s %d Got the Mutex lock. %06lds.%09ldns \n", __func__, __LINE__, now.tv_sec, now.tv_nsec); ~~~~~ ^~~~~~~~~~ %06lld src/ipc_api.c:1460:16: error: use of undeclared identifier 'CLOCK_REALTIME' clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1461:76: error: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] printf("Ruifeng %s %d Memcpy done %06lds.%09ldns \n", __func__, __LINE__, now.tv_sec, now.tv_nsec); ~~~~~ ^~~~~~~~~~ %06lld 5 errors generated. /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makerules/rules_ti_cgt_arm.mk:233: recipe for target '/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/mcu2_1/release/ipc_api.oer5f' failed make[5]: *** [/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/mcu2_1/release/ipc_api.oer5f] Error 1 /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makefile:360: recipe for target 'ipc' failed make[4]: *** [ipc] Error 2 makefile:123: recipe for target 'ipc_has_dep' failed make[3]: *** [ipc_has_dep] Error 2 Nothing to be done for j721e mcu3_0 csl_intc Nothing to be done for j721e pm_hal Nothing to be done for j721e pm_hal_optimized Nothing to be done for j721e mcu3_0 sbl_lib_mmcsd Nothing to be done for j721e mcu3_0 sbl_lib_ospi Nothing to be done for j721e mcu3_0 sbl_lib_uart Nothing to be done for j721e mcu3_0 sbl_lib_hyperflash Nothing to be done for j721e mcu3_0 sbl_lib_cust Nothing to be done for j721e mcu3_0 sbl_lib_mmcsd_hlos Nothing to be done for j721e mcu3_0 sbl_lib_ospi_hlos Nothing to be done for j721e mcu3_0 sbl_lib_hyperflash_hlos Nothing to be done for j721e mcu3_0 sbl_lib_ospi_nondma Nothing to be done for j721e mcu3_0 sbl_lib_ospi_nondma_hlos Nothing to be done for j721e mcu3_0 sbl_lib_mmcsd_hs Nothing to be done for j721e mcu3_0 sbl_lib_ospi_hs Nothing to be done for j721e mcu3_0 sbl_lib_uart_hs Nothing to be done for j721e mcu3_0 sbl_lib_hyperflash_hs Nothing to be done for j721e mcu3_0 sbl_lib_cust_hs Nothing to be done for j721e mcu3_0 sbl_lib_mmcsd_hlos_hs Nothing to be done for j721e mcu3_0 sbl_lib_ospi_hlos_hs Nothing to be done for j721e mcu3_0 sbl_lib_hyperflash_hlos_hs Nothing to be done for j721e mcu3_0 sbl_lib_ospi_nondma_hs Nothing to be done for j721e mcu3_0 sbl_lib_ospi_nondma_hlos_hs Nothing to be done for j721e mcu3_0 dmautils Nothing to be done for j721e mcu3_0 lpm Nothing to be done for j721e mcu3_0 enet Nothing to be done for j721e mcu3_0 enetsoc Nothing to be done for j721e mcu3_0 enetphy Nothing to be done for j721e mcu3_0 lwipif_freertos Nothing to be done for j721e mcu3_0 lwipific_freertos Nothing to be done for j721e mcu3_0 enet_intercore Nothing to be done for j721e mcu3_0 enet_cfgserver Nothing to be done for j721e mcu3_0 enet_example_utils_freertos Nothing to be done for j721e mcu3_0 enet_example_utils_full_freertos Nothing to be done for j721e mcu3_0 enet_example_utils_baremetal Nothing to be done for j721e mcu3_0 lwipcontrib_freertos Nothing to be done for j721e mcu3_0 lwipstack_freertos Nothing to be done for j721e mcu3_0 lwipport_freertos Nothing to be done for j721e mcu3_0 csirx Nothing to be done for j721e mcu3_0 csitx Nothing to be done for j721e mcu3_0 dss Nothing to be done for j721e mcu3_0 rm_pm_hal Nothing to be done for j721e mcu3_0 sciserver_tirtos Nothing to be done for j721e sciserver_freertos Nothing to be done for j721e mcu3_0 sciserver_baremetal Nothing to be done for j721e mcu3_0 sciclient_direct Nothing to be done for j721e mcu3_0 sciclient_direct_hs Nothing to be done for j721e mcu3_0 vhwa Nothing to be done for j721e mcu3_0 sdr # Compiling j721e:mcu3_0:release:ipc:src/ipc_api.c src/ipc_api.c:1410:2: error: implicit declaration of function 'clock_gettime' is invalid in C99 [-Werror,-Wimplicit-function-declaration] clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1410:16: error: use of undeclared identifier 'CLOCK_REALTIME' clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1411:84: error: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] printf("Ruifeng %s %d Got the Mutex lock. %06lds.%09ldns \n", __func__, __LINE__, now.tv_sec, now.tv_nsec); ~~~~~ ^~~~~~~~~~ %06lld src/ipc_api.c:1460:16: error: use of undeclared identifier 'CLOCK_REALTIME' clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1461:76: error: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] printf("Ruifeng %s %d Memcpy done %06lds.%09ldns \n", __func__, __LINE__, now.tv_sec, now.tv_nsec); ~~~~~ ^~~~~~~~~~ %06lld 5 errors generated. /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makerules/rules_ti_cgt_arm.mk:233: recipe for target '/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/mcu3_0/release/ipc_api.oer5f' failed make[5]: *** [/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/mcu3_0/release/ipc_api.oer5f] Error 1 /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makefile:360: recipe for target 'ipc' failed make[4]: *** [ipc] Error 2 makefile:123: recipe for target 'ipc_has_dep' failed make[3]: *** [ipc_has_dep] Error 2 Nothing to be done for j721e mcu3_1 csl_init Nothing to be done for j721e mcu3_1 csl_intc Nothing to be done for j721e pm_hal Nothing to be done for j721e pm_hal_optimized Nothing to be done for j721e mcu3_1 sbl_lib_mmcsd Nothing to be done for j721e mcu3_1 sbl_lib_ospi Nothing to be done for j721e mcu3_1 sbl_lib_uart Nothing to be done for j721e mcu3_1 sbl_lib_hyperflash Nothing to be done for j721e mcu3_1 sbl_lib_cust Nothing to be done for j721e mcu3_1 sbl_lib_mmcsd_hlos Nothing to be done for j721e mcu3_1 sbl_lib_ospi_hlos Nothing to be done for j721e mcu3_1 sbl_lib_hyperflash_hlos Nothing to be done for j721e mcu3_1 sbl_lib_ospi_nondma Nothing to be done for j721e mcu3_1 sbl_lib_ospi_nondma_hlos Nothing to be done for j721e mcu3_1 sbl_lib_mmcsd_hs Nothing to be done for j721e mcu3_1 sbl_lib_ospi_hs Nothing to be done for j721e mcu3_1 sbl_lib_uart_hs Nothing to be done for j721e mcu3_1 sbl_lib_hyperflash_hs Nothing to be done for j721e mcu3_1 sbl_lib_cust_hs Nothing to be done for j721e mcu3_1 sbl_lib_mmcsd_hlos_hs Nothing to be done for j721e mcu3_1 sbl_lib_ospi_hlos_hs Nothing to be done for j721e mcu3_1 sbl_lib_hyperflash_hlos_hs Nothing to be done for j721e mcu3_1 sbl_lib_ospi_nondma_hs Nothing to be done for j721e mcu3_1 sbl_lib_ospi_nondma_hlos_hs Nothing to be done for j721e mcu3_1 dmautils Nothing to be done for j721e mcu3_1 lpm Nothing to be done for j721e mcu3_1 enet Nothing to be done for j721e mcu3_1 enetsoc Nothing to be done for j721e mcu3_1 enetphy Nothing to be done for j721e mcu3_1 lwipif_freertos Nothing to be done for j721e mcu3_1 lwipific_freertos Nothing to be done for j721e mcu3_1 enet_intercore Nothing to be done for j721e mcu3_1 enet_cfgserver Nothing to be done for j721e mcu3_1 enet_example_utils_freertos Nothing to be done for j721e mcu3_1 enet_example_utils_full_freertos Nothing to be done for j721e mcu3_1 enet_example_utils_baremetal Nothing to be done for j721e mcu3_1 lwipcontrib_freertos Nothing to be done for j721e mcu3_1 lwipstack_freertos Nothing to be done for j721e mcu3_1 lwipport_freertos Nothing to be done for j721e mcu3_1 csirx Nothing to be done for j721e mcu3_1 csitx Nothing to be done for j721e mcu3_1 dss Nothing to be done for j721e mcu3_1 rm_pm_hal Nothing to be done for j721e mcu3_1 sciserver_tirtos Nothing to be done for j721e sciserver_freertos Nothing to be done for j721e mcu3_1 sciserver_baremetal Nothing to be done for j721e mcu3_1 sciclient_direct Nothing to be done for j721e mcu3_1 sciclient_direct_hs Nothing to be done for j721e mcu3_1 vhwa Nothing to be done for j721e mcu3_1 sdr # Compiling j721e:mcu3_1:release:ipc:src/ipc_api.c src/ipc_api.c:1410:2: error: implicit declaration of function 'clock_gettime' is invalid in C99 [-Werror,-Wimplicit-function-declaration] clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1410:16: error: use of undeclared identifier 'CLOCK_REALTIME' clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1411:84: error: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] printf("Ruifeng %s %d Got the Mutex lock. %06lds.%09ldns \n", __func__, __LINE__, now.tv_sec, now.tv_nsec); ~~~~~ ^~~~~~~~~~ %06lld src/ipc_api.c:1460:16: error: use of undeclared identifier 'CLOCK_REALTIME' clock_gettime(CLOCK_REALTIME , &now); ^ src/ipc_api.c:1461:76: error: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] printf("Ruifeng %s %d Memcpy done %06lds.%09ldns \n", __func__, __LINE__, now.tv_sec, now.tv_nsec); ~~~~~ ^~~~~~~~~~ %06lld 5 errors generated. /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makerules/rules_ti_cgt_arm.mk:233: recipe for target '/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/mcu3_1/release/ipc_api.oer5f' failed make[5]: *** [/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/mcu3_1/release/ipc_api.oer5f] Error 1 /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makefile:360: recipe for target 'ipc' failed make[4]: *** [ipc] Error 2 makefile:123: recipe for target 'ipc_has_dep' failed make[3]: *** [ipc_has_dep] Error 2 Nothing to be done for j721e pm_hal Nothing to be done for j721e pm_hal_optimized Nothing to be done for j721e c66xdsp_1 sbl_lib_mmcsd Nothing to be done for j721e c66xdsp_1 sbl_lib_ospi Nothing to be done for j721e c66xdsp_1 sbl_lib_uart Nothing to be done for j721e c66xdsp_1 sbl_lib_hyperflash Nothing to be done for j721e c66xdsp_1 sbl_lib_cust Nothing to be done for j721e c66xdsp_1 sbl_lib_mmcsd_hlos Nothing to be done for j721e c66xdsp_1 sbl_lib_ospi_hlos Nothing to be done for j721e c66xdsp_1 sbl_lib_hyperflash_hlos Nothing to be done for j721e c66xdsp_1 sbl_lib_ospi_nondma Nothing to be done for j721e c66xdsp_1 sbl_lib_ospi_nondma_hlos Nothing to be done for j721e c66xdsp_1 sbl_lib_mmcsd_hs Nothing to be done for j721e c66xdsp_1 sbl_lib_ospi_hs Nothing to be done for j721e c66xdsp_1 sbl_lib_uart_hs Nothing to be done for j721e c66xdsp_1 sbl_lib_hyperflash_hs Nothing to be done for j721e c66xdsp_1 sbl_lib_cust_hs Nothing to be done for j721e c66xdsp_1 sbl_lib_mmcsd_hlos_hs Nothing to be done for j721e c66xdsp_1 sbl_lib_ospi_hlos_hs Nothing to be done for j721e c66xdsp_1 sbl_lib_hyperflash_hlos_hs Nothing to be done for j721e c66xdsp_1 sbl_lib_ospi_nondma_hs Nothing to be done for j721e c66xdsp_1 sbl_lib_ospi_nondma_hlos_hs Nothing to be done for j721e c66xdsp_1 dmautils Nothing to be done for j721e c66xdsp_1 lpm Nothing to be done for j721e c66xdsp_1 enet Nothing to be done for j721e c66xdsp_1 enetsoc Nothing to be done for j721e c66xdsp_1 enetphy Nothing to be done for j721e c66xdsp_1 lwipif_freertos Nothing to be done for j721e c66xdsp_1 lwipific_freertos Nothing to be done for j721e c66xdsp_1 enet_intercore Nothing to be done for j721e c66xdsp_1 enet_cfgserver Nothing to be done for j721e c66xdsp_1 enet_example_utils_freertos Nothing to be done for j721e c66xdsp_1 enet_example_utils_full_freertos Nothing to be done for j721e c66xdsp_1 enet_example_utils_baremetal Nothing to be done for j721e c66xdsp_1 lwipcontrib_freertos Nothing to be done for j721e c66xdsp_1 lwipstack_freertos Nothing to be done for j721e c66xdsp_1 lwipport_freertos Nothing to be done for j721e c66xdsp_1 csirx Nothing to be done for j721e c66xdsp_1 csitx Nothing to be done for j721e c66xdsp_1 dss Nothing to be done for j721e c66xdsp_1 rm_pm_hal Nothing to be done for j721e c66xdsp_1 sciserver_tirtos Nothing to be done for j721e sciserver_freertos Nothing to be done for j721e c66xdsp_1 sciserver_baremetal Nothing to be done for j721e c66xdsp_1 sciclient_direct Nothing to be done for j721e c66xdsp_1 sciclient_direct_hs Nothing to be done for j721e c66xdsp_1 vhwa Nothing to be done for j721e c66xdsp_1 sdr # Compiling j721e:c66xdsp_1:release:ipc: src/ipc_api.c "src/ipc_api.c", line 1384: error #71: incomplete type is not allowed "src/ipc_api.c", line 1410: error #225-D: function "clock_gettime" declared implicitly "src/ipc_api.c", line 1410: error #20: identifier "CLOCK_REALTIME" is undefined 3 errors detected in the compilation of "src/ipc_api.c". >> Compilation failure /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makerules/rules_66.mk:182: recipe for target '/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/c66xdsp_1/release/ipc_api.oe66' failed make[5]: *** [/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/c66xdsp_1/release/ipc_api.oe66] Error 1 /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makefile:360: recipe for target 'ipc' failed make[4]: *** [ipc] Error 2 makefile:123: recipe for target 'ipc_has_dep' failed make[3]: *** [ipc_has_dep] Error 2 Nothing to be done for j721e c66xdsp_2 csl_init Nothing to be done for j721e pm_hal Nothing to be done for j721e pm_hal_optimized Nothing to be done for j721e c66xdsp_2 sbl_lib_mmcsd Nothing to be done for j721e c66xdsp_2 sbl_lib_ospi Nothing to be done for j721e c66xdsp_2 sbl_lib_uart Nothing to be done for j721e c66xdsp_2 sbl_lib_hyperflash Nothing to be done for j721e c66xdsp_2 sbl_lib_cust Nothing to be done for j721e c66xdsp_2 sbl_lib_mmcsd_hlos Nothing to be done for j721e c66xdsp_2 sbl_lib_ospi_hlos Nothing to be done for j721e c66xdsp_2 sbl_lib_hyperflash_hlos Nothing to be done for j721e c66xdsp_2 sbl_lib_ospi_nondma Nothing to be done for j721e c66xdsp_2 sbl_lib_ospi_nondma_hlos Nothing to be done for j721e c66xdsp_2 sbl_lib_mmcsd_hs Nothing to be done for j721e c66xdsp_2 sbl_lib_ospi_hs Nothing to be done for j721e c66xdsp_2 sbl_lib_uart_hs Nothing to be done for j721e c66xdsp_2 sbl_lib_hyperflash_hs Nothing to be done for j721e c66xdsp_2 sbl_lib_cust_hs Nothing to be done for j721e c66xdsp_2 sbl_lib_mmcsd_hlos_hs Nothing to be done for j721e c66xdsp_2 sbl_lib_ospi_hlos_hs Nothing to be done for j721e c66xdsp_2 sbl_lib_hyperflash_hlos_hs Nothing to be done for j721e c66xdsp_2 sbl_lib_ospi_nondma_hs Nothing to be done for j721e c66xdsp_2 sbl_lib_ospi_nondma_hlos_hs Nothing to be done for j721e c66xdsp_2 dmautils Nothing to be done for j721e c66xdsp_2 lpm Nothing to be done for j721e c66xdsp_2 enet Nothing to be done for j721e c66xdsp_2 enetsoc Nothing to be done for j721e c66xdsp_2 enetphy Nothing to be done for j721e c66xdsp_2 lwipif_freertos Nothing to be done for j721e c66xdsp_2 lwipific_freertos Nothing to be done for j721e c66xdsp_2 enet_intercore Nothing to be done for j721e c66xdsp_2 enet_cfgserver Nothing to be done for j721e c66xdsp_2 enet_example_utils_freertos Nothing to be done for j721e c66xdsp_2 enet_example_utils_full_freertos Nothing to be done for j721e c66xdsp_2 enet_example_utils_baremetal Nothing to be done for j721e c66xdsp_2 lwipcontrib_freertos Nothing to be done for j721e c66xdsp_2 lwipstack_freertos Nothing to be done for j721e c66xdsp_2 lwipport_freertos Nothing to be done for j721e c66xdsp_2 csirx Nothing to be done for j721e c66xdsp_2 csitx Nothing to be done for j721e c66xdsp_2 dss Nothing to be done for j721e c66xdsp_2 rm_pm_hal Nothing to be done for j721e c66xdsp_2 sciserver_tirtos Nothing to be done for j721e sciserver_freertos Nothing to be done for j721e c66xdsp_2 sciserver_baremetal Nothing to be done for j721e c66xdsp_2 sciclient_direct Nothing to be done for j721e c66xdsp_2 sciclient_direct_hs Nothing to be done for j721e c66xdsp_2 vhwa Nothing to be done for j721e c66xdsp_2 sdr # Compiling j721e:c66xdsp_2:release:ipc: src/ipc_api.c "src/ipc_api.c", line 1384: error #71: incomplete type is not allowed "src/ipc_api.c", line 1410: error #225-D: function "clock_gettime" declared implicitly "src/ipc_api.c", line 1410: error #20: identifier "CLOCK_REALTIME" is undefined 3 errors detected in the compilation of "src/ipc_api.c". >> Compilation failure /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makerules/rules_66.mk:182: recipe for target '/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/c66xdsp_2/release/ipc_api.oe66' failed make[5]: *** [/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/c66xdsp_2/release/ipc_api.oe66] Error 1 /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makefile:360: recipe for target 'ipc' failed make[4]: *** [ipc] Error 2 makefile:123: recipe for target 'ipc_has_dep' failed make[3]: *** [ipc_has_dep] Error 2 Nothing to be done for j721e c7x_1 csl_intc Nothing to be done for j721e pm_hal Nothing to be done for j721e pm_hal_optimized Nothing to be done for j721e c7x_1 sbl_lib_mmcsd Nothing to be done for j721e c7x_1 sbl_lib_ospi Nothing to be done for j721e c7x_1 sbl_lib_uart Nothing to be done for j721e c7x_1 sbl_lib_hyperflash Nothing to be done for j721e c7x_1 sbl_lib_cust Nothing to be done for j721e c7x_1 sbl_lib_mmcsd_hlos Nothing to be done for j721e c7x_1 sbl_lib_ospi_hlos Nothing to be done for j721e c7x_1 sbl_lib_hyperflash_hlos Nothing to be done for j721e c7x_1 sbl_lib_ospi_nondma Nothing to be done for j721e c7x_1 sbl_lib_ospi_nondma_hlos Nothing to be done for j721e c7x_1 sbl_lib_mmcsd_hs Nothing to be done for j721e c7x_1 sbl_lib_ospi_hs Nothing to be done for j721e c7x_1 sbl_lib_uart_hs Nothing to be done for j721e c7x_1 sbl_lib_hyperflash_hs Nothing to be done for j721e c7x_1 sbl_lib_cust_hs Nothing to be done for j721e c7x_1 sbl_lib_mmcsd_hlos_hs Nothing to be done for j721e c7x_1 sbl_lib_ospi_hlos_hs Nothing to be done for j721e c7x_1 sbl_lib_hyperflash_hlos_hs Nothing to be done for j721e c7x_1 sbl_lib_ospi_nondma_hs Nothing to be done for j721e c7x_1 sbl_lib_ospi_nondma_hlos_hs Nothing to be done for j721e c7x_1 lpm Nothing to be done for j721e c7x_1 enet Nothing to be done for j721e c7x_1 enetsoc Nothing to be done for j721e c7x_1 enetphy Nothing to be done for j721e c7x_1 lwipif_freertos Nothing to be done for j721e c7x_1 lwipific_freertos Nothing to be done for j721e c7x_1 enet_intercore Nothing to be done for j721e c7x_1 enet_cfgserver Nothing to be done for j721e c7x_1 enet_example_utils_freertos Nothing to be done for j721e c7x_1 enet_example_utils_full_freertos Nothing to be done for j721e c7x_1 enet_example_utils_baremetal Nothing to be done for j721e c7x_1 lwipcontrib_freertos Nothing to be done for j721e c7x_1 lwipstack_freertos Nothing to be done for j721e c7x_1 lwipport_freertos Nothing to be done for j721e c7x_1 csirx Nothing to be done for j721e c7x_1 csitx Nothing to be done for j721e c7x_1 dss Nothing to be done for j721e c7x_1 rm_pm_hal Nothing to be done for j721e c7x_1 sciserver_tirtos Nothing to be done for j721e sciserver_freertos Nothing to be done for j721e c7x_1 sciserver_baremetal Nothing to be done for j721e c7x_1 sciclient_direct Nothing to be done for j721e c7x_1 sciclient_direct_hs Nothing to be done for j721e c7x_1 vhwa Nothing to be done for j721e c7x_1 sdr # Compiling j721e:c7x_1:release:ipc: src/ipc_api.c "src/ipc_api.c", line 1410: error #225-D: function "clock_gettime" declared implicitly "src/ipc_api.c", line 1410: error #20: identifier "CLOCK_REALTIME" is undefined 2 errors detected in the compilation of "src/ipc_api.c". >> Compilation failure /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makerules/rules_71.mk:197: recipe for target '/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/c7x_1/release/ipc_api.oe71' failed make[5]: *** [/home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/binary/ti/drv/ipc/obj/j721e/c7x_1/release/ipc_api.oe71] Error 1 /home/tda4/code/sdk8_2_qnx_2/PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/build/makefile:360: recipe for target 'ipc' failed make[4]: *** [ipc] Error 2 makefile:123: recipe for target 'ipc_has_dep' failed make[3]: *** [ipc_has_dep] Error 2 makefile:301: recipe for target 'custom_target' failed make[2]: *** [custom_target] Error 2 makerules/makefile_pdk.mak:56: recipe for target 'pdk_build' failed make[1]: *** [pdk_build] Error 2 makerules/makefile_pdk.mak:60: recipe for target 'pdk' failed make: *** [pdk] Error 2
Please help analyze and provide how to code to solve this problem?
Best Regard.
The modification made is causing issues with the building of the MCU / DSP cores, which do not run QNX. Please try the following:
1) Back the change out
2) Build to ensure everything is back to normal, and can be successfully built
3) Make the same change to PSDKRA/psdkqa/pdk/packages/ti/drv/ipc/src/ipc_api.c. This is the file that will be built for the A72 QNX.
4) Try to build. Note that you will also need to include <stdio.h> for the printf to work.
If any issues occur, please post similar details to above post.
Regards,
kb
Hi KB,
I have already make same change to psdkqa/pdk directory. The problem seems that non-A72 cpu could not find the definication in the headers.
Hi,
There are two instances of the ipc_api.c file,
QNX specific changes should be made in (1).
The diff command provided above, indicates that code change is/was being made in (2) /PSDKRA/pdk_jacinto_08_02_00_21/packages/ti/drv/ipc/src/ipc_api.c..
Regards,
kb
Hi KB,
I'm sure that the change has already sync to the psdkqa/pdk directory.
Our git repository don't trace the psdkqa/pdk directory so it don't show in the git diff command, it will be copy from the pdk_xx_xx_xx_xx after each change.
If a repository process as described above is being used, then any QNX specific changes that are put into the pdk_xx_xx_xx_xx directory, must be enclosed with the QNX_OS build flag.
For example:
#ifdef QNX_OS
#include <time.h>
#endif
Regards,
kb