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.

Compiler/TMS320DM365: I am getting Error while compiling IPNC for DM365.

Part Number: TMS320DM365
Other Parts Discussed in Thread: TVP5150

Tool/software: TI C/C++ Compiler

Hi,


We have changed below parameters in /yourapp/Source/ipnc_rdk/Rules.mk .

SYSTEM_PLATFORM := EVM

IPNC_DEVICE := DM365

FILESYS_MODE := NFS

 

Commented all sensors and IMGS_ID , as we are using TVP5150 on Reference design . 

 

I made AEWB_BUILD_MODE := no , then also while compiling it gives undefined reference to  appro library.

 

ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/lib/dmvastub.a /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/dm365mm-module_01_00_03/lib/libdm365mm.a

/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/lib/debug/alg.a(alg_aewb.o): In function `ALG_aewbCreate':

/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/alg/src/alg_aewb.c:345: undefined reference to `TI_2A_init_tables'

/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/alg/src/alg_aewb.c:351: undefined reference to 

 

Could you please let me know whether DM365 EVM works with IPNC ? Or It only supported on APPRO and Leopard boards ?

 

Our requirement is to take the D1(NTSC) and Audio from DM365 and stream to Mobile using RTSP or HTTP . Please help us to achieve this with IPNC.

  • Hi,
    Can you share your Rules.make.
    What is the IPNC RDK version you use?

    Sriharsha Desai said:
    Commented all sensors and IMGS_ID , as we are using TVP5150 on Reference design . 

    You should specify atleast one sensor here.

  • Hi,
    SYSTEM_PLATFORM := EVM
    IPNC_DEVICE := DM365
    FILESYS_MODE := NFS
    IMGS_ID := IMGS_TVP514X
    AEWB_BUILD_MODE := yes

    the above settings works fine for me. I am able to compile. If you specify the IMGS_ID then it should build.
  • Hi, Prashanth

    below i have copied our Rules.make file contents. Pls check.

    IPNC version we are using is 5.1.0

    # Default build environment, set to linux
    ifeq ($(OS), )
      OS := Linux
    endif

    #####################################################################################
    #CONFIGURATION
    #####################################################################################

    # Select Hardware Platform: EVM or IPNC
    SYSTEM_PLATFORM := EVM
    #SYSTEM_PLATFORM := IPNC

    # IPNC Platform Device needs to selected
    IPNC_DEVICE := DM365
    #IPNC_DEVICE := DM368
    #IPNC_DEVICE := DM369
    #IPNC_DEVICE := DMVA1
    #IPNC_DEVICE := DMVA2

    # Filesystem mode to selected: NAND or NFS
    FILESYS_MODE := NFS
    #FILESYS_MODE := UBIFS

    # Build configuration : debug or release
    APP_BUILD_CFG    := debug
    #APP_BUILD_CFG   := release

    # UBIFS mtd-utils mode
    MTD_UTILS_MODE := 64bit
    #MTD_UTILS_MODE := 32bit

    # Sensor Selected for the build, based on SYSTEM_PLATFORM
    # IPNC and EVM platform have different set of Sensor supported
    ifeq ($(SYSTEM_PLATFORM), IPNC)
    #IMGS_ID := IMGS_MICRON_MT9P031_5MP
    #IMGS_ID := IMGS_MICRON_MT9D131_2MP
    #IMGS_ID := IMGS_OV10630_1MP
    #IMGS_ID := IMGS_MICRON_MT9M031_1.2MP
    #IMGS_ID := IMGS_MICRON_MT9M034_1.2MP
    #IMGS_ID := IMGS_OV2715_2MP
    #IMGS_ID := IMGS_SONY_IMX035_1_3MP
    #IMGS_ID := IMGS_SONY_IMX036_3MP
    #IMGS_ID := IMGS_SONY_IMX104_1_3MP
    #IMGS_ID := IMGS_SONY_IMX136_2_3MP
    #IMGS_ID := IMGS_SONY_IMX122_2_3MP
    #IMGS_ID := IMGS_AR0130_1.2MP
    #IMGS_ID := IMGS_AR0330_3.1MP
    #IMGS_ID := IMGS_AR0331_3.1MP
    #IMGS_ID := IMGS_AR0331_3.1MP_WDR
    #IMGS_ID := IMGS_PANASONIC_MN34041_2.1MP
    endif
    ifeq ($(SYSTEM_PLATFORM), EVM)
    #IMGS_ID := IMGS_TVP514X
    #IMGS_ID := IMGS_MICRON_MT9P031_5MP
    endif

    # This flag will determine whether any 2A modules is required in build or not
    AEWB_BUILD_MODE := no
    #AEWB_BUILD_MODE := yes

    # WiFi hardware mode flag: ON or OFF
    # ON:if WiFi Hardware module is present else this needs to be set to OFF
    #WIFI_MODULE_MODE := ON
    WIFI_MODULE_MODE := OFF

    # AES Encyrption mode flag: ON or OFF
    # ON:if AES Encyprtion module is present else this needs to be set to OFF
    #AES_MODULE_MODE := ON
    AES_MODULE_MODE := OFF

    # Face Recognition flag: ON or OFF
    # ON:if Face Recognitio module is present else this needs to be set to OFF
    #FACE_RECOG_MODE := ON
    FACE_RECOG_MODE := OFF

    # Sensor Board Vendor: Appro or Leopard Imaging
    # APPRO:if Appro Sensor Board is used or LIMG: if Leopard Imaging Board are used
    SENSOR_BOARD_VENDOR := APPRO
    #SENSOR_BOARD_VENDOR := LIMG

    # Build warnings will be treated as errors for av_capture folder
    TREAT_WARNINGS_AS_ERROR := no
    #TREAT_WARNINGS_AS_ERROR := yes

    ################################################################################
    # Combinations checks for the options set above are done here
    ################################################################################

    ifeq ($(IPNC_DEVICE), DM368)
    HARDWARE_CFG := dm368
    else ifeq ($(IPNC_DEVICE), DM369)
    HARDWARE_CFG := dm368
    else ifeq ($(IPNC_DEVICE), DMVA2)
    HARDWARE_CFG := dm368
    else ifeq ($(IPNC_DEVICE), DMVA1)
    HARDWARE_CFG := dm365
    else
    HARDWARE_CFG := dm365
    endif

    ifeq ($(FILESYS_MODE), UBIFS)
    BUILD_CFG := ubifs
    else
    BUILD_CFG := nfs
    endif

    ifeq ($(SYSTEM_PLATFORM), EVM)
    SYSTEM_CFG := evm
    else
    SYSTEM_CFG := ipnc
    endif

    ifeq ($(AEWB_BUILD_MODE), yes)
    AEWB_ID := AEWB_ENABLE
    else
    AEWB_ID := AEWB_NONE
    endif

    ifeq ($(SYSTEM_PLATFORM), IPNC)
    BOARD_ID := BOARD_AP_IPNC
    else
    BOARD_ID := BOARD_TI_EVM
    endif

    DVSDK_ARGS=
    ifeq ($(SYSTEM_CFG), ipnc)
    ifeq ($(HARDWARE_CFG), dm368)
    DVSDK_ARGS=USE_UDEV=1
    endif
    endif

    ################################################################################
    # All build tools paths are set in this section
    ################################################################################

    BASE_INSTALL_DIR      := $(shell pwd)/..

    # Defining the install base directory for IPNC RDK
    IPNC_INSTALL_DIR       := $(BASE_INSTALL_DIR)/ipnc_rdk
    DVSDK_BASE_DIR           := $(BASE_INSTALL_DIR)/dvsdk_ipnctools

    # Defining the build tools directory for IPNC RDK
    BUILD_TOOL_DIR           := $(DVSDK_BASE_DIR)/linux-devkit
    BUILD_TOOL_PREFIX       := $(BUILD_TOOL_DIR)/bin/arm-arago-linux-gnueabi-

    # The directory that points to the Linux Support Package
    PSP_BASE_DIR           := $(DVSDK_BASE_DIR)/ipnc_psp_03_21_00_04
    KERNELDIR         := $(PSP_BASE_DIR)/kernel
    UBOOTDIR         := $(PSP_BASE_DIR)/u-boot

    # The directory that points to the AVCAPTURE module folder
    AVCAPTURE_BASE_DIR    := $(IPNC_INSTALL_DIR)/av_capture
    AVCAPTURE_BUILD_DIR    := $(AVCAPTURE_BASE_DIR)/build
                
    # The directory that points to where filesystem is mounted
    FILESYS_BASE_DIR      := $(IPNC_INSTALL_DIR)/target
    TARGET_FS         := $(FILESYS_BASE_DIR)/filesys_$(HARDWARE_CFG)
    UBIFS_PATH          := $(FILESYS_BASE_DIR)/mtd-utils/$(MTD_UTILS_MODE)

    # The directory that points to the tftp directory
    # This will have generated binaries likeu-boot, uImage, ubifs etc
    # And also other binary files can be kept here
    # This will all files needed that are needed for burning to NAND
    TFTP_HOME         := $(IPNC_INSTALL_DIR)/tftp/$(IPNC_DEVICE)

    # Where to copy the resulting executables and data to (when executing 'make
    # install') in a proper file structure. This IPNC_EXEC_DIR should either be visible
    # from the target, or you will have to copy this (whole) directory onto the
    # target filesystem.
    IPNC_EXEC_DIR        := $(TARGET_FS)/opt/ipnc

    # The directory that points to the IPNC Application package
    IPNC_DIR        := $(IPNC_INSTALL_DIR)/ipnc_app

    # The directory to IPNC application interface modules to AVCAPTURE
    IPNC_INTERFACE_DIR    := $(IPNC_DIR)/interface
    PUBLIC_INCLUDE_DIR    := $(IPNC_INTERFACE_DIR)/inc
    APP_LIB_DIR        := $(IPNC_INTERFACE_DIR)/lib

    include $(DVSDK_BASE_DIR)/Rules.make

    ################################################################################
    # All EXPORT symbols are defined here
    ################################################################################
    export BUILD_TOOL_DIR
    export IPNC_DIR
    export PUBLIC_INCLUDE_DIR
    export APP_LIB_DIR
    export TARGET_FS
    export SYSTEM_PLATFORM
    export HARDWARE_CFG
    export IPNC_DEVICE
    export LINUXKERNEL_INSTALL_DIR
    export IPNC_EXEC_DIR
    export SQUASHFS_PATH
    export KERNELDIR
    export UBOOTDIR
    export AVCAPTURE_BUILD_DIR
    export APP_BUILD_CFG
    export DVSDK_BASE_DIR
    export CMEM_INSTALL_DIR
    export BUILD_TOOL_PREFIX
    export BOARD_ID
    export IMGS_ID
    export SENSOR_BOARD_VENDOR
    export AEWB_ID
    export FILESYS_MODE
    export TFTP_HOME
    export WIFI_MODULE_MODE
    export AES_MODULE_MODE
    export FACE_RECOG_MODE
    export TREAT_WARNINGS_AS_ERROR
    export DVSDK_ARGS

  • Hi Prashanth,


    We changed as per you suggestion, but we are getting following error.

    IPNC RDK version is 5.1.0

    ifeq ($(SYSifeq ($(SYSTEM_PLATFORM), EVM)
    IMGS_ID := IMGS_TVP514X
    #IMGS_ID := IMGS_MICRON_MT9P031_5MP
    endif
    AEWB_BUILD_MODE := yes

    Then I am getting below error. 


    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linux-devkit/bin/arm-arago-linux-gnueabi-gcc    -c -Wall -fPIC -g -w -DDEBUG -DBOARD_TI_EVM -DIMGS_TVP514X -DYUV_MODE -DYUV_MODE_INTERLACED  -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/arch/arm/mach-davinci/include -I../inc -I../priv  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/osa/inc   -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/include  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/priv   -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/vstab -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/facetrack -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/saldre -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ap/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ti/include -I"./ldc_tables"   drv_imgsCalcCfg_TVP514X.c  drv_imgsH3aCfg_TVP514X.c  drv_imgsIpipeCfg_TVP514X.c  drv_imgsIsifCfg_TVP514X.c  drv_imgsLdcCfg_TVP514X.c  drv_imgs_TVP514X.c   -M > MAKEFILE.DEPEND
    make[8]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/drv/usermod/src/imgs_TVP514X'
    make[7]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/drv'
    make[6]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/drv'
    make -fMAKEFILE.MK -C./osa/src MODULE=osa depend
    make[6]: Entering directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/osa/src'
    osa: Making Directories, if not already created
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/lib/debug    
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/obj/osa/debug
    osa: Building dependancies
    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linux-devkit/bin/arm-arago-linux-gnueabi-gcc    -c -Wall -fPIC -g -w -DDEBUG -DBOARD_TI_EVM -DIMGS_TVP514X -DYUV_MODE -DYUV_MODE_INTERLACED  -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/arch/arm/mach-davinci/include -I../inc -I../priv  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/osa/inc   -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/include  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/priv     osa_buf.c  osa.c  osa_cmem.c  osa_file.c  osa_flg.c  osa_ipc.c  osa_mbx.c  osa_msgq.c  osa_mutex.c  osa_prf.c  osa_que.c  osa_sem.c  osa_test.c  osa_test_ipc.c  osa_thr.c  osa_tsk.c   -M > MAKEFILE.DEPEND
    make[6]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/osa/src'
    make -fMAKEFILE.MK -C./alg/src MODULE=alg depend    
    cat: alg_config/compiler.opt: No such file or directory
    make[6]: Entering directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/alg/src'
    alg: Making Directories, if not already created
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/lib/debug    
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/obj/alg/debug
    alg: Building dependancies
    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linux-devkit/bin/arm-arago-linux-gnueabi-gcc    -c -Wall -fPIC -g -w -DDM355 -Dti_sdo_ce_osal_Memory_USEDEPRECATEDAPIS=1  -Dxdc_target_name__=GCArmv5T -Dxdc_target_types__=gnu/targets/arm/std.h -DDEBUG -DBOARD_TI_EVM -DIMGS_TVP514X -DYUV_MODE -DYUV_MODE_INTERLACED  -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/arch/arm/mach-davinci/include -I../inc -I../priv  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/osa/inc   -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/include  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/priv   -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/priv  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/vstab -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/facetrack -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/saldre -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ap/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ti/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/codecs-dm365/examples -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/codecs-dm365/packages -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/codec-engine_2_26_02_11/packages -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdais_6_26_01_03/packages -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/framework-components_2_26_00_01/packages -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/framework-components_2_26_00_01/fctools/packages -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linuxutils_2_26_02_05/packages -I/packages -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdctools_3_16_03_36/packages -I../priv/aewb -I../priv/vstab -I../priv/swosd -I../priv/gbce -I../priv/facetrack -I./aewb_ap/include -I./aewb_ti/include   alg_aes.c  alg_aewb.c  alg_aewb_control.c  alg_afocus.c  alg_audEnc.c  alg.c  alg_crypto.c  alg_dei.c  alg_dmval.c  alg_face.c  alg_jpgDec.c  alg_jpgEnc.c  alg_motionDetect.c  alg_swosd.c  alg_util.c  alg_vidDec.c  alg_vidEnc.c  alg_vnf.c  alg_vstab.c   -M > MAKEFILE.DEPEND
    make[6]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/alg/src'
    make -fMAKEFILE.MK -C./image_tune/src MODULE=image_tune depend    
    make[6]: Entering directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/image_tune/src'
    image_tune: Making Directories, if not already created
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/lib/debug    
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/obj/image_tune/debug
    image_tune: Building dependancies
    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linux-devkit/bin/arm-arago-linux-gnueabi-gcc    -c -Wall -fPIC -g -w -DDEBUG -DBOARD_TI_EVM -DIMGS_TVP514X -DYUV_MODE -DYUV_MODE_INTERLACED  -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/arch/arm/mach-davinci/include -I../inc -I../priv  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/osa/inc   -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/include  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/priv   -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/vstab -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/facetrack -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/saldre -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ap/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ti/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/priv   imageTune.c  imageTuneClient.c  imageTuneCmdHandlerAwb.c  imageTuneCmdHandler.c  imageTuneCmdHandlerCcdc.c  imageTuneCmdHandlerIpipe.c  imageTuneCmdHandlerIpipeif.c  imageTuneCmdHandlerLdc.c  imageTuneCmdHandlerSys.c  imageTuneCmdHandlerVnf.c  imageTuneCommunication.c  imageTuneMultiParams.c  imageTunePacket.c  imageTuneServer.c  imageTuneTestMain.c   -M > MAKEFILE.DEPEND
    make[6]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/image_tune/src'
    make -fMAKEFILE.MK -C./alg/src/aewb_ap MODULE=alg depend    
    cat: ../alg_config/compiler.opt: No such file or directory
    make[6]: Entering directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/alg/src/aewb_ap'
    alg: Making Directories, if not already created
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/lib/debug    
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/obj/alg/debug
    alg: Building dependancies
    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linux-devkit/bin/arm-arago-linux-gnueabi-gcc    -c -Wall -fPIC -g -w -DDM355 -Dti_sdo_ce_osal_Memory_USEDEPRECATEDAPIS=1  -Dxdc_target_name__=GCArmv5T -Dxdc_target_types__=gnu/targets/arm/std.h -DDEBUG -DBOARD_TI_EVM -DIMGS_TVP514X -DYUV_MODE -DYUV_MODE_INTERLACED  -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/arch/arm/mach-davinci/include -I../inc -I../priv  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/osa/inc   -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/include  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/priv   -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/vstab -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/facetrack -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/saldre -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ap/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ti/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdais_6_26_01_03/packages -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdctools_3_16_03_36/packages -I./include -I../../priv/aewb   Appro_aewb_tables.c   -M > MAKEFILE.DEPEND
    make[6]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/alg/src/aewb_ap'
    make -fMAKEFILE.MK -C./alg/src/aewb_ti MODULE=alg depend
    cat: ../alg_config/compiler.opt: No such file or directory
    make[6]: Entering directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/alg/src/aewb_ti'
    alg: Making Directories, if not already created
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/lib/debug    
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/obj/alg/debug
    alg: Building dependancies
    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linux-devkit/bin/arm-arago-linux-gnueabi-gcc    -c -Wall -fPIC -g -w -DDM355 -Dti_sdo_ce_osal_Memory_USEDEPRECATEDAPIS=1  -Dxdc_target_name__=GCArmv5T -Dxdc_target_types__=gnu/targets/arm/std.h -DDEBUG -DBOARD_TI_EVM -DIMGS_TVP514X -DYUV_MODE -DYUV_MODE_INTERLACED  -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/arch/arm/mach-davinci/include -I../inc -I../priv  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/osa/inc   -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/include  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/priv   -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/vstab -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/facetrack -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/saldre -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ap/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ti/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdais_6_26_01_03/packages -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdctools_3_16_03_36/packages -I./include -I../../priv/aewb   ae_ti.c  TI_fd.c   -M > MAKEFILE.DEPEND
    make[6]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/alg/src/aewb_ti'
    make -fMAKEFILE.MK -C./alg/src/aewb_ti/imgs_MT9P031_5MP MODULE=alg depend
    cat: ../../alg_config/compiler.opt: No such file or directory
    make[6]: Entering directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/framework/alg/src/aewb_ti/imgs_MT9P031_5MP'
    alg: Making Directories, if not already created
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/lib/debug    
    mkdir -p /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/obj/alg/debug
    alg: Building dependancies
    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linux-devkit/bin/arm-arago-linux-gnueabi-gcc    -c -Wall -fPIC -g -w -DDM355 -Dti_sdo_ce_osal_Memory_USEDEPRECATEDAPIS=1  -DDEBUG -DBOARD_TI_EVM -DIMGS_TVP514X -DYUV_MODE -DYUV_MODE_INTERLACED  -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/arch/arm/mach-davinci/include -I../inc -I../priv  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/osa/inc   -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/include  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc  -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/dmval/priv   -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/csl/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/drv/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/image_tune/priv -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/inc -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/swosd -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/vstab -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/facetrack -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/saldre -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ap/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/src/aewb_ti/include -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdais_6_26_01_03/packages -I/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdctools_3_16_03_36/packages -I../include -I../../../priv/aewb   alg_aewb_control2.c  awb_calc_data.c  TI_aewb_config.c  TI_aewb_ISP.c  TI_aewb_tables.c  TI_fd_config.c   -M > MAKEFILE.DEPEND
    In file included from /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb/iae.h:26,
                     from /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb/alg_aewb_priv.h:5,
                     from alg_aewb_control2.c:2:
    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdctools_3_16_03_36/packages/xdc/std.h:85:2: error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
    In file included from /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb/iae.h:26,
                     from /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb/alg_aewb_priv.h:5,
                     from TI_aewb_config.c:1:
    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdctools_3_16_03_36/packages/xdc/std.h:85:2: error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
    In file included from /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb/iae.h:26,
                     from /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb/alg_aewb_priv.h:5,
                     from TI_aewb_ISP.c:2:
    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdctools_3_16_03_36/packages/xdc/std.h:85:2: error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
    In file included from /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb/iae.h:26,
                     from /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb/alg_aewb_priv.h:5,
                     from TI_aewb_tables.c:2:
    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdctools_3_16_03_36/packages/xdc/std.h:85:2: error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
    In file included from /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb/iae.h:26,
                     from /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/av_capture/build/../framework/alg/priv/aewb/alg_aewb_priv.h:5,
                     from TI_fd_config.c:1:
    /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/xdctools_3_16_03_36/packages/xdc/std.h:85:2: error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
    make[6]: *** [depend] Error 1
  • Hi Sriharsha,
    Thanks for sharing your Rules.make and the error. Can you try with
    APP_BUILD_CFG := release, along with the earlier settings said by me?

    And then make sysclean & make sysall.

  • Thanks Prashanth,

    I tried as you told , now xdc related error not there , but again it stuck @ install . I hope there is some issue with filesys , there is not usr/share/info folder created. Please help us.

    make[9]: Entering directory `/home/nimesh/yourapp/Source/ipnc_rdk/ipnc_app/sys_server/src'
    install -d /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/target/filesys_dm365/opt/ipnc
    install release/system_server /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/target/filesys_dm365/opt/ipnc
    ln -sf /tmp/localtime /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/target/filesys_dm365/usr/share/info/localtime
    ln: failed to create symbolic link ‘/home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/target/filesys_dm365/usr/share/info/localtime’: No such file or directory
    make[9]: *** [install] Error 1
    make[9]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/ipnc_app/sys_server/src'
    make[8]: *** [src.install] Error 2
    make[8]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/ipnc_app/sys_server'
    make[7]: *** [sys_server.install] Error 2
    make[7]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/ipnc_app'
    make[6]: *** [libs] Error 2
    make[6]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/application/ipnc'
    make[5]: *** [install] Error 2
    make[5]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk/av_capture/application/ipnc'
    make[4]: *** [libs] Error 2
    make[4]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk'
    make[3]: *** [install] Error 2
    make[3]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk'
    make[2]: *** [app] Error 2
    make[2]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk'
  • Hi Sriharsha,

    Sriharsha Desai said:
    I hope there is some issue with filesys , there is not usr/share/info folder created.

     

    goto ../Source/ipnc_rdk/target. extract the filesystem. [tar -zxvf filesys_ipnc_dm36x.tar.gz] and then give full permission to the extracted directory. 

  • Thanks Prashanth,

    I did the same and it compile till Kernel and now uImage is not getting generated. What could be issue for this compilation errors ? Is this due to host machine ? I am using ubuntu 14.04 .

    CC net/ipv6/sit.mod.o
    LD [M] net/ipv6/sit.ko
    CC net/ipv6/xfrm6_mode_beet.mod.o
    LD [M] net/ipv6/xfrm6_mode_beet.ko
    CC net/ipv6/xfrm6_mode_transport.mod.o
    LD [M] net/ipv6/xfrm6_mode_transport.ko
    CC net/ipv6/xfrm6_mode_tunnel.mod.o
    LD [M] net/ipv6/xfrm6_mode_tunnel.ko
    make[4]: Leaving directory `/home/nimesh/yourapp/Source/dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel'
    make[3]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk'
    cp /home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/arch/arm/boot/uImage /home/nimesh/yourapp/Source/ipnc_rdk/../ipnc_rdk/tftp/DM365/uImage_evm_dm365
    cp: cannot stat ‘/home/nimesh/yourapp/Source/ipnc_rdk/../dvsdk_ipnctools/ipnc_psp_03_21_00_04/kernel/arch/arm/boot/uImage’: No such file or directory
    make[2]: *** [lsp] Error 1
    make[2]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk'
    make[1]: *** [lspall] Error 2
    make[1]: Leaving directory `/home/nimesh/yourapp/Source/ipnc_rdk'
    make: *** [sysall] Error
  • Hi Sriharsha,

    Mine is  Ubuntu 12.04. It works fine here. I don't have a ready Ubuntu 14.04. Did you try building it for IPNC? I mean to say did it build with default Rules.make? If not can you try it once. If it builds for IPNC it should build for EVM too.

  • Hi Sriharsha Desai,

    I tried to build IPNC RDK v5.1.0 from the very start on ubuntu 14.04 and it builds successfully.

    Below are the steps which i followed :

    sudo chmod 777 IPNC_RDK_DM36x_V5.1.0-Linux-x86-Install.bin

    sudo ./IPNC_RDK_DM36x_V5.1.0-Linux-x86-Install.bin

    tar -xvf IPNC_RDK_DM36x_V5.1.0.tar.gz

    cd Source/ipnc_rdk/

    sudo tar -xvzf target/filesys_ipnc_dm36x.tar.gz -C target/

    sudo chown $USER -R /home/anuj.gupta/project/RDK_TI/IPNC_RDK_DM36x_Release_5.1.0/Source/ipnc_rdk/target/filesys_dm365/

    make sysall

    Please check the Rules.make below

    # ============================================================================
    # Copyright (c) Texas Instruments Inc 2013
    #
    # Use of this software is controlled by the terms and conditions found in the
    # license agreement under which this software has been supplied or provided.
    # ============================================================================

    # Default build environment, set to linux
    ifeq ($(OS), )
      OS := Linux
    endif

    #####################################################################################
    #CONFIGURATION
    #####################################################################################

    # Select Hardware Platform: EVM or IPNC
    SYSTEM_PLATFORM := EVM
    #SYSTEM_PLATFORM := IPNC

    # IPNC Platform Device needs to selected
    IPNC_DEVICE := DM365
    #IPNC_DEVICE := DM368
    #IPNC_DEVICE := DM369
    #IPNC_DEVICE := DMVA1
    #IPNC_DEVICE := DMVA2

    # Filesystem mode to selected: NAND or NFS
    FILESYS_MODE := NFS
    #FILESYS_MODE := UBIFS

    # Build configuration : debug or release
    #APP_BUILD_CFG    := debug
    APP_BUILD_CFG   := release

    # UBIFS mtd-utils mode
    MTD_UTILS_MODE := 64bit
    #MTD_UTILS_MODE := 32bit

    # Sensor Selected for the build, based on SYSTEM_PLATFORM
    # IPNC and EVM platform have different set of Sensor supported
    ifeq ($(SYSTEM_PLATFORM), IPNC)
    IMGS_ID := IMGS_MICRON_MT9P031_5MP
    #IMGS_ID := IMGS_MICRON_MT9D131_2MP
    #IMGS_ID := IMGS_OV10630_1MP
    #IMGS_ID := IMGS_MICRON_MT9M031_1.2MP
    #IMGS_ID := IMGS_MICRON_MT9M034_1.2MP
    #IMGS_ID := IMGS_OV2715_2MP
    #IMGS_ID := IMGS_SONY_IMX035_1_3MP
    #IMGS_ID := IMGS_SONY_IMX036_3MP
    #IMGS_ID := IMGS_SONY_IMX104_1_3MP
    #IMGS_ID := IMGS_SONY_IMX136_2_3MP
    #IMGS_ID := IMGS_SONY_IMX122_2_3MP
    #IMGS_ID := IMGS_AR0130_1.2MP
    #IMGS_ID := IMGS_AR0330_3.1MP
    #IMGS_ID := IMGS_AR0331_3.1MP
    #IMGS_ID := IMGS_AR0331_3.1MP_WDR
    #IMGS_ID := IMGS_PANASONIC_MN34041_2.1MP
    endif
    ifeq ($(SYSTEM_PLATFORM), EVM)
    IMGS_ID := IMGS_TVP514X
    #IMGS_ID := IMGS_MICRON_MT9P031_5MP
    endif

    # This flag will determine whether any 2A modules is required in build or not
    #AEWB_BUILD_MODE := no
    AEWB_BUILD_MODE := yes

    # WiFi hardware mode flag: ON or OFF
    # ON:if WiFi Hardware module is present else this needs to be set to OFF
    #WIFI_MODULE_MODE := ON
    WIFI_MODULE_MODE := OFF

    # AES Encyrption mode flag: ON or OFF
    # ON:if AES Encyprtion module is present else this needs to be set to OFF
    #AES_MODULE_MODE := ON
    AES_MODULE_MODE := OFF

    # Face Recognition flag: ON or OFF
    # ON:if Face Recognitio module is present else this needs to be set to OFF
    #FACE_RECOG_MODE := ON
    FACE_RECOG_MODE := OFF

    # Sensor Board Vendor: Appro or Leopard Imaging
    # APPRO:if Appro Sensor Board is used or LIMG: if Leopard Imaging Board are used
    SENSOR_BOARD_VENDOR := APPRO
    #SENSOR_BOARD_VENDOR := LIMG

    # Build warnings will be treated as errors for av_capture folder
    TREAT_WARNINGS_AS_ERROR := no
    #TREAT_WARNINGS_AS_ERROR := yes

    ################################################################################
    # Combinations checks for the options set above are done here
    ################################################################################

    ifeq ($(IPNC_DEVICE), DM368)
    HARDWARE_CFG := dm368
    else ifeq ($(IPNC_DEVICE), DM369)
    HARDWARE_CFG := dm368
    else ifeq ($(IPNC_DEVICE), DMVA2)
    HARDWARE_CFG := dm368
    else ifeq ($(IPNC_DEVICE), DMVA1)
    HARDWARE_CFG := dm365
    else
    HARDWARE_CFG := dm365
    endif

    ifeq ($(FILESYS_MODE), UBIFS)
    BUILD_CFG := ubifs
    else
    BUILD_CFG := nfs
    endif

    ifeq ($(SYSTEM_PLATFORM), EVM)
    SYSTEM_CFG := evm
    else
    SYSTEM_CFG := ipnc
    endif

    ifeq ($(AEWB_BUILD_MODE), yes)
    AEWB_ID := AEWB_ENABLE
    else
    AEWB_ID := AEWB_NONE
    endif

    ifeq ($(SYSTEM_PLATFORM), IPNC)
    BOARD_ID := BOARD_AP_IPNC
    else
    BOARD_ID := BOARD_TI_EVM
    endif

    DVSDK_ARGS=
    ifeq ($(SYSTEM_CFG), ipnc)
    ifeq ($(HARDWARE_CFG), dm368)
    DVSDK_ARGS=USE_UDEV=1
    endif
    endif

    ################################################################################
    # All build tools paths are set in this section
    ################################################################################

    BASE_INSTALL_DIR      := $(shell pwd)/..

    # Defining the install base directory for IPNC RDK
    IPNC_INSTALL_DIR       := $(BASE_INSTALL_DIR)/ipnc_rdk
    DVSDK_BASE_DIR           := $(BASE_INSTALL_DIR)/dvsdk_ipnctools

    # Defining the build tools directory for IPNC RDK
    BUILD_TOOL_DIR           := $(DVSDK_BASE_DIR)/linux-devkit
    BUILD_TOOL_PREFIX       := $(BUILD_TOOL_DIR)/bin/arm-arago-linux-gnueabi-

    # The directory that points to the Linux Support Package
    PSP_BASE_DIR           := $(DVSDK_BASE_DIR)/ipnc_psp_03_21_00_04
    KERNELDIR         := $(PSP_BASE_DIR)/kernel
    UBOOTDIR         := $(PSP_BASE_DIR)/u-boot

    # The directory that points to the AVCAPTURE module folder
    AVCAPTURE_BASE_DIR    := $(IPNC_INSTALL_DIR)/av_capture
    AVCAPTURE_BUILD_DIR    := $(AVCAPTURE_BASE_DIR)/build
                
    # The directory that points to where filesystem is mounted
    FILESYS_BASE_DIR      := $(IPNC_INSTALL_DIR)/target
    TARGET_FS         := $(FILESYS_BASE_DIR)/filesys_$(HARDWARE_CFG)
    UBIFS_PATH          := $(FILESYS_BASE_DIR)/mtd-utils/$(MTD_UTILS_MODE)

    # The directory that points to the tftp directory
    # This will have generated binaries likeu-boot, uImage, ubifs etc
    # And also other binary files can be kept here
    # This will all files needed that are needed for burning to NAND
    TFTP_HOME         := $(IPNC_INSTALL_DIR)/tftp/$(IPNC_DEVICE)

    # Where to copy the resulting executables and data to (when executing 'make
    # install') in a proper file structure. This IPNC_EXEC_DIR should either be visible
    # from the target, or you will have to copy this (whole) directory onto the
    # target filesystem.
    IPNC_EXEC_DIR        := $(TARGET_FS)/opt/ipnc

    # The directory that points to the IPNC Application package
    IPNC_DIR        := $(IPNC_INSTALL_DIR)/ipnc_app

    # The directory to IPNC application interface modules to AVCAPTURE
    IPNC_INTERFACE_DIR    := $(IPNC_DIR)/interface
    PUBLIC_INCLUDE_DIR    := $(IPNC_INTERFACE_DIR)/inc
    APP_LIB_DIR        := $(IPNC_INTERFACE_DIR)/lib

    include $(DVSDK_BASE_DIR)/Rules.make

    ################################################################################
    # All EXPORT symbols are defined here
    ################################################################################
    export BUILD_TOOL_DIR
    export IPNC_DIR
    export PUBLIC_INCLUDE_DIR
    export APP_LIB_DIR
    export TARGET_FS
    export SYSTEM_PLATFORM
    export HARDWARE_CFG
    export IPNC_DEVICE
    export LINUXKERNEL_INSTALL_DIR
    export IPNC_EXEC_DIR
    export SQUASHFS_PATH
    export KERNELDIR
    export UBOOTDIR
    export AVCAPTURE_BUILD_DIR
    export APP_BUILD_CFG
    export DVSDK_BASE_DIR
    export CMEM_INSTALL_DIR
    export BUILD_TOOL_PREFIX
    export BOARD_ID
    export IMGS_ID
    export SENSOR_BOARD_VENDOR
    export AEWB_ID
    export FILESYS_MODE
    export TFTP_HOME
    export WIFI_MODULE_MODE
    export AES_MODULE_MODE
    export FACE_RECOG_MODE
    export TREAT_WARNINGS_AS_ERROR
    export DVSDK_ARGS

    Regards,

    Anuj

    Pathpartner Technology Pvt. Ltd.

  • Hi,

    I hope above inputs were helpful in solving your issue.
    If the issue is resolved then please close the thread by verifying answer.

    Regards,
    Anuj
    Pathpartner Technology Pvt Ltd
  • Hi,

    You need to install u-boot-tools into the Linux machine. If it is ubuntu/debian based then, "sudo apt-get install u-boot-tools"

  • Hi all,
    Thank you for the suggestions, there was a problem with the mkfs tool for creating the images. We manually created the images and it is working now.

    BR,
    Sriharsha Desai