• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » DM365 IPNC build error when 'make exe'
Share
Linux
  • Forum
Options
  • Subscribe via RSS

Forums

DM365 IPNC build error when 'make exe'

This question is not answered
Samyam He
Posted by Samyam He
on May 28 2010 04:20 AM
Prodigy140 points

Hi, everyone

       When I building DM365 IPNC ( Private_IPNC_DM365_1.0.0.tgz ) the first time, met error as below:

dsp@sam:~/workdir/ipnc$ make exe
.........................................................................................
.........................................................................................
mkdir -p /home/dsp/workdir/ipnc/av_capture/build/lib/
mkdir -p /home/dsp/workdir/ipnc/av_capture/build/lib/obj/drv/
drv: Building dependancies
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc     -c -Wall -fPIC   -DBOARD_AP_IPNC  -I/home/dsp/workdir/lsp/ti-davinci/linux-2.6.18_pro500/include -I../inc -I../priv -I/home/dsp/workdir/ipnc/av_capture/build/../framework/osa/inc   -I/home/dsp/workdir/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/cmem/include  -I/home/dsp/workdir/ipnc/av_capture/build/../framework/csl/inc -I/home/dsp/workdir/ipnc/av_capture/build/../framework/image_tune/inc -I/home/dsp/workdir/ipnc/av_capture/build/../framework/drv/inc -I/home/dsp/workdir/ipnc/av_capture/build/../framework/alg/inc -I../../kermod/inc   drv_audio.c  drv.c  drv_capture.c  drv_clk.c  drv_display.c  drv_dma.c  drv_faceDetect.c  drv_frameCopy.c  drv_h3a.c  drv_i2c.c  drv_imageTune.c  drv_imgs.c  drv_ipipe.c  drv_isif.c  drv_ldc.c  drv_regrw.c  drv_resz.c  drv_vpss.c   -M > MAKEFILE.DEPEND
make[7]: Leaving directory `/home/dsp/workdir/ipnc/av_capture/framework/drv/usermod/src'
make -fMAKEFILE.MK -C/home/dsp/workdir/ipnc/av_capture/framework/drv/usermod/src/imgs_MT9P031_5MP MODULE=drv depend
make[7]: Entering directory `/home/dsp/workdir/ipnc/av_capture/framework/drv/usermod/src/imgs_MT9P031_5MP'
drv: Making Directories, if not already created
mkdir -p /home/dsp/workdir/ipnc/av_capture/build/lib/
mkdir -p /home/dsp/workdir/ipnc/av_capture/build/lib/obj/drv/
drv: Building dependancies
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc     -c -Wall -fPIC   -DBOARD_AP_IPNC  -I/home/dsp/workdir/lsp/ti-davinci/linux-2.6.18_pro500/include -I../inc -I../priv -I/home/dsp/workdir/ipnc/av_capture/build/../framework/osa/inc   -I/home/dsp/workdir/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/cmem/include  -I/home/dsp/workdir/ipnc/av_capture/build/../framework/csl/inc -I/home/dsp/workdir/ipnc/av_capture/build/../framework/image_tune/inc -I/home/dsp/workdir/ipnc/av_capture/build/../framework/drv/inc -I"./ldc_tables"   drv_imgsCalcCfg_MT9P031_5MP.c  drv_imgsH3aCfg_MT9P031_5MP.c  drv_imgsIpipeCfg_MT9P031_5MP.c  drv_imgsIsifCfg_MT9P031_5MP.c  drv_imgsLdcCfg_MT9P031_5MP.c  drv_imgs_MT9P031_5MP.c   -M > MAKEFILE.DEPEND
make[7]: Leaving directory `/home/dsp/workdir/ipnc/av_capture/framework/drv/usermod/src/imgs_MT9P031_5MP'
make[6]: Leaving directory `/home/dsp/workdir/ipnc/av_capture/framework/drv'
make[5]: Leaving directory `/home/dsp/workdir/ipnc/av_capture/framework/drv'
make -fMAKEFILE.MK -C./osa/src MODULE=osa depend
make[5]: Entering directory `/home/dsp/workdir/ipnc/av_capture/framework/osa/src'
osa: Making Directories, if not already created
mkdir -p /home/dsp/workdir/ipnc/av_capture/build/lib/
mkdir -p /home/dsp/workdir/ipnc/av_capture/build/lib/obj/osa/
osa: Building dependancies
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc     -c -Wall -fPIC   -DBOARD_AP_IPNC  -I/home/dsp/workdir/lsp/ti-davinci/linux-2.6.18_pro500/include -I../inc -I../priv -I/home/dsp/workdir/ipnc/av_capture/build/../framework/osa/inc   -I/home/dsp/workdir/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/cmem/include    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[5]: Leaving directory `/home/dsp/workdir/ipnc/av_capture/framework/osa/src'
make -fMAKEFILE.MK -C./alg/src MODULE=alg depend
cat: alg_config/compiler.opt: no file or no directory.
make[5]: Entering directory `/home/dsp/workdir/ipnc/av_capture/framework/alg/src'
alg: Making Directories, if not already created
mkdir -p /home/dsp/workdir/ipnc/av_capture/build/lib/
mkdir -p /home/dsp/workdir/ipnc/av_capture/build/lib/obj/alg/
alg: Building dependancies
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc     -c -Wall -fPIC  -DDM355 -Dti_sdo_ce_osal_Memory_USEDEPRECATEDAPIS=1   -DBOARD_AP_IPNC  -I/home/dsp/workdir/lsp/ti-davinci/linux-2.6.18_pro500/include -I../inc -I../priv -I/home/dsp/workdir/ipnc/av_capture/build/../framework/osa/inc   -I/home/dsp/workdir/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/cmem/include  -I/home/dsp/workdir/ipnc/av_capture/build/../framework/csl/inc -I/home/dsp/workdir/ipnc/av_capture/build/../framework/drv/inc -I/home/dsp/workdir/ipnc/av_capture/build/../framework/image_tune/inc -I/home/dsp/workdir/dvsdk_2_10_01_18/dm365_codecs_01_00_06/examples -I/home/dsp/workdir/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages -I/home/dsp/workdir/dvsdk_2_10_01_18/codec_engine_2_24/packages -I/home/dsp/workdir/dvsdk_2_10_01_18/xdais_6_24/packages -I/home/dsp/workdir/dvsdk_2_10_01_18/framework_components_2_24/packages -I/home/dsp/workdir/dvsdk_2_10_01_18/linuxutils_2_24_02/packages -I/home/dsp/workdir/dvsdk_2_10_01_18/edma3_lld_1_06_00_01/packages -I/home/dsp/workdir/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages -I../priv/vstab -I../priv/swosd   alg.c  alg_crypto.c  alg_g711.c  alg_jpgDec.c  alg_jpgEnc.c  alg_motionDetect.c  alg_swosd.c  alg_vidDec.c  alg_vidEnc.c  alg_vnf.c  alg_vstab.c   -M > MAKEFILE.DEPEND
alg_vnf.c:6:38: error: ti/sdo/codecs/ktnf/iktnf.h:no file or no directory.
make[5]: *** [depend] Error 1
make[5]: Leaving directory `/home/dsp/workdir/ipnc/av_capture/framework/alg/src'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/dsp/workdir/ipnc/av_capture/framework'
make[3]: *** [depend] Error 2
make[3]: Leaving directory `/home/dsp/workdir/ipnc/av_capture/framework'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/home/dsp/workdir/ipnc'
make[1]: *** [depend] Error 2
make[1]: Leaving directory `/home/dsp/workdir/ipnc'
make: *** [exe] Error 2

what's the problem? Thanks for any advice!

Just do it.

DM365 + IPNC
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • gomo
    Posted by gomo
    on May 30 2010 22:11 PM
    Genius3370 points

    Hi:

       At first, you must affirm your installing is correct. The following is my dirctory after install all package.

    gomo@gomo-desktop:/mnt/had/ipnc$ tree -d -L 3
    .
    |-- av_capture
    |   |-- application
    |   |   |-- ipnc
    |   |   `-- test
    |   |-- bin
    |   |-- build
    |   |   `-- lib
    |   |-- framework
    |   |   |-- alg
    |   |   |-- csl
    |   |   |-- drv
    |   |   |-- image_tune
    |   |   |-- mcvip
    |   |   `-- osa
    |   `-- lsp_files
    |-- ipnc_app
    |   |-- include
    |   |-- lib
    |   |-- multimedia
    |   |   `-- avi_save
    |   |-- network
    |   |   |-- ScanIP_Upnp
    |   |   |-- WebData
    |   |   |-- boa-0.94.13
    |   |   |-- dhcpcd
    |   |   |-- esmtp
    |   |   |-- esmtp-1.0
    |   |   |-- libesmtp-1.0.4
    |   |   |-- libupnp-1.6.6
    |   |   |-- live
    |   |   |-- ntpclient
    |   |   |-- quftp-1.0.7
    |   |   `-- update
    |   |-- root_filesys
    |   |   |-- etc
    |   |   |-- opt
    |   |   |-- root
    |   |   `-- usr
    |   |-- sys_adm
    |   |   `-- system_server
    |   |-- testsuite
    |   |   |-- armloading
    |   |   `-- test-streamer
    |   `-- util
    |-- target
    |   `-- filesys
    |       |-- etc
    |       |-- opt
    |       |-- root
    |       |-- usr
    |       `-- var
    |-- tftp
    `-- ti-davinci

       The Second is correct modify the file of Rules.make, You can use one command to compile all.

         $make sysall

         The following things what you can do is drink a coffee and waitting.

       And if you want compile separatly. Just like those:

      make lsp;   Compile kernel

      make dvsdk;   Compile DVSDK

      make libs;

      make exe. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Samyam He
    Posted by Samyam He
    on May 31 2010 00:14 AM
    Prodigy140 points

    Thanks gomo.

    After install the package of ipnc_app_dm365_priv_1.0.0.tgz, The following  my dirctory:

    dsp@sam:~/workdir/ipnc$ tree -d
    .
    |-- av_capture
    |   |-- application
    |   |   |-- ipnc
    |   |   |   `-- multimedia
    |   |   |       `-- av_server
    |   |   |           |-- inc
    |   |   |           `-- src
    |   |   |               |-- audio
    |   |   |               |-- common
    |   |   |               |-- fonts
    |   |   |               |-- stream
    |   |   |               `-- video
    |   |   `-- test
    |   |       |-- i2crw
    |   |       |-- mcvip
    |   |       |   |-- inc
    |   |       |   |-- priv
    |   |       |   `-- src
    |   |       |-- moduletest
    |   |       `-- regrw
    |   |-- bin
    |   |-- build
    |   |   `-- lib
    |   |       `-- obj
    |   |           |-- alg
    |   |           |-- av_server
    |   |           |-- csl
    |   |           |-- drv
    |   |           |-- i2crw
    |   |           |-- image_tune
    |   |           |-- moduletest
    |   |           |-- osa
    |   |           `-- regrw
    |   |-- framework
    |   |   |-- alg
    |   |   |   |-- inc
    |   |   |   |-- lib
    |   |   |   |-- priv
    |   |   |   |   |-- swosd
    |   |   |   |   `-- vstab
    |   |   |   `-- src
    |   |   |       `-- aewb_none
    |   |   |-- csl
    |   |   |   |-- docs
    |   |   |   |   `-- doxy_cfg
    |   |   |   |-- inc
    |   |   |   |   `-- regs
    |   |   |   |-- kermod
    |   |   |   |   |-- build
    |   |   |   |   |-- inc
    |   |   |   |   `-- src
    |   |   |   |       |-- ccdc
    |   |   |   |       |-- faceDetect
    |   |   |   |       |-- gpio
    |   |   |   |       |-- h3a
    |   |   |   |       |-- ipipe
    |   |   |   |       |-- ipipeif
    |   |   |   |       |-- ldc
    |   |   |   |       |-- rsz
    |   |   |   |       |-- system
    |   |   |   |       `-- vpss
    |   |   |   `-- usermod
    |   |   |       |-- inc
    |   |   |       `-- src
    |   |   |-- drv
    |   |   |   |-- inc
    |   |   |   |-- kermod
    |   |   |   |   |-- build
    |   |   |   |   |-- inc
    |   |   |   |   |-- priv
    |   |   |   |   `-- src
    |   |   |   `-- usermod
    |   |   |       |-- priv
    |   |   |       `-- src
    |   |   |           |-- imgs_MT9P031_5MP
    |   |   |           |   `-- ldc_tables
    |   |   |           `-- imgs_none
    |   |   |-- image_tune
    |   |   |   |-- inc
    |   |   |   |-- priv
    |   |   |   `-- src
    |   |   |-- mcvip
    |   |   |   |-- inc
    |   |   |   |-- priv
    |   |   |   `-- src
    |   |   `-- osa
    |   |       |-- inc
    |   |       `-- src
    |   `-- lsp_files
    `-- ipnc_app
        |-- include
        |-- multimedia ( no avi_save )
        |-- network       (ScanIP_Upnp dhcpcd esmtp esmtp-1.0 libesmtp-1.0.4 libupnp-1.6.6 live ntpclient quftp-1.0.7)
        |   |-- WebData
        |   |   |-- alarm_wav
        |   |   |-- etc
        |   |   `-- www
        |   `-- update
        |       |-- asm
        |       |-- linux
        |       |   `-- byteorder
        |       `-- mtd
        |-- root_filesys
        |   |-- etc
        |   |   `-- init.d
        |   |-- opt
        |   |   `-- ipnc
        |   |-- root
        |   `-- usr
        |       `-- local
        |           `-- etc
        |-- sys_adm
        |   `-- system_server
        |-- testsuite
        |   |-- armloading
        |   `-- test-streamer
        `-- util

    117 directories
    dsp@sam:~/workdir/ipnc$ ls
    av_capture    ipnc_app   Makefile   Rules.make

    Just do it.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • gomo
    Posted by gomo
    on May 31 2010 19:47 PM
    Genius3370 points

    Hi:

         You must read the Chapter 3 of  the document Users_Guide_IPNC_DM365.pdf, It introduces very detally.

      And My directory is:

    gomo@gomo-desktop:/mnt/had/IPNetCam/ipnc_1.5_0/install_dir$ tree -d -L 2
    .
    |-- dvsdk_2_10_01_18
    |   |-- bin
    |   |-- cg_xml_2_12_00
    |   |-- clips
    |   |-- codec_engine_2_24
    |   |-- dm365_codecs_01_00_06
    |   |-- dm365mm
    |   |-- dmai_1_21_00_10
    |   |-- docs
    |   |-- dvsdk_demos_2_10_00_17
    |   |-- dvtb_4_10_03
    |   |-- edma3_lld_1_06_00_01
    |   |-- examples
    |   |-- framework_components_2_25_00_04
    |   |-- kernel_binaries
    |   |-- licenses
    |   |-- linuxutils_2_24_03
    |   |-- quilt
    |   |-- u-boot_365_evm
    |   |-- xdais_6_24
    |   `-- xdctools_3_15_01_59
    |-- ipnc
        |-- av_capture
        |-- ipnc_app
        |-- target
        |-- tftp
        `-- ti-davinci

    Your second wrong is that it cannot find DVSDK's include.

    Can you show the Rules.Make?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Nick59553
    Posted by Nick59553
    on Oct 31 2010 09:44 AM
    Prodigy10 points

    I think I have the same problem.

    I can make the dvsdk by itself but when I try to make the ipnc app (make sysall or just make inside the ipnc directory) the compiler complains that is can't find the include for:

    #include <ti/sdo/codecs/ktnf/iktnf.h>

    in the file av_capture/framework/alg/src/alg_vnf.c

    If I comment out the include then it continues on until it dies when it can't find the package:

    ti.sdo.codecs.ktnf.ce

    When I look inside the dvsdk (dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ti/sdo/codecs), the only codecs I can see are mpeg4, jpeg and h264.

    Is this a misconfiguration? Am I missing the codec?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Anshuman Saxena
    Posted by Anshuman Saxena
    on Nov 02 2010 03:51 AM
    Mastermind19870 points

    Hi,

    Can you please confirm that you are using the DVSDK released with IPNC release package? Can you also confirm that you have "ktnf" folder in

    dvsdk_2_10_01_18\dm365_codecs_01_00_06\packages\ti\sdo\codecs

    I think your DVSDk does not match the one expected by IPNC application.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • LiuYu
    Posted by LiuYu
    on Apr 17 2012 04:05 AM
    Prodigy60 points

    you are right!

    but , above question is not this..

    to build ipnc at the first time,please follow the sequence

    1,make lsp

    2,make dvsdk

    then

    3,make ipnc

    or just 

    make sysall

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use