DM355 RR-SDK compile error

DM355 RR-SDK compile error

  • Hi all,

     

    I tried to compile the RR-SDK for my DM355-leopard board but I have these errors below.

    does anyone can help me to solve  ?

    All packages are installed from home directory, I am on ubuntu 10.04 32bits.

     

    Thanks

    Verbose option enable :

     

    *****

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Cpu.h
    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Sound.h
    Révision 499 extraite.
    quilt push -a
    Application de dmai_1_20_display_delete_munmap_fix_git.patch
    patching file dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Display_v4l2.c
    Hunk #1 FAILED at 77.
    Hunk #2 FAILED at 91.
    2 out of 2 hunks FAILED -- rejects in file dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Display_v4l2.c
    Le patch dmai_1_20_display_delete_munmap_fix_git.patch ne s'applique pas proprement (forcez l'application avec -f)
    make[3]: *** [patched] Erreur 1
    make[3]: quittant le répertoire « /home/guilig/DM355SDK840402/proprietary/dvsdk_2_00_00 »
    Error building dvsdk_2_00_00
    make[2]: *** [dependency_build] Erreur 1
    make[2]: quittant le répertoire « /home/guilig/DM355SDK840402/proprietary »
    make[1]: *** [proprietary_src_build] Erreur 1
    make[1]: quittant le répertoire « /home/guilig/DM355SDK840402/fs »
    make: *** [fs_build] Erreur 2

  • dmai-revision.patch

    Hi guilig,

     

    Doing some research about the error you posted, I found out that the SDK patches don't apply because recent changes have been made to the dmai_1_20_00_06. Since we would need to modify the patches, and that can take some time, you can use a dmai revision where the patches apply. You can follow the next steps:

    1. Go to:  /DM355SDK840402/proprietary/dvsdk_2_00_00$

    2. Run make clean

    3. Copy the attached patch in that directory

    4. Apply the patch:  patch Makefile -i dmai-revision.patch

    5. Compile the dvsdk: make VERBOSE=1

     

     

     

     

     

    Cristina Murillo

    Embedded Software Engineer, RidgeRun

  • Hi,

    Thanks it works now.

  • Hi, I am getting the same error what guilig was getting. I applied the patch but still i am not able to compile successfully. I am still getting the same error:

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/ColorSpace.c

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Cpu.h

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Sound.h

    Checked out revision 427.

    File series fully applied, ends at patch update-cmem.patch

    make[3]: *** [patched] Error 2

    Error building dvsdk_2_00_00

    make[2]: *** [dependency_build] Error 1

    make[1]: *** [proprietary_src_build] Error 1

    make: *** [fs_build] Error 2

    Can you please help me out with this..........

  • Hi, I am getting the same error what guilig was getting. I applied the patch but still i am not able to compile successfully. I am still getting the same error:

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/ColorSpace.c

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Cpu.h

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Sound.h

    Checked out revision 427.

    File series fully applied, ends at patch update-cmem.patch

    make[3]: *** [patched] Error 2

    Error building dvsdk_2_00_00

    make[2]: *** [dependency_build] Error 1

    make[1]: *** [proprietary_src_build] Error 1

    make: *** [fs_build] Error 2

    Can you please help me out with this..........

  • HI,

    I am getting the same error what guilig was getting. I have applied the patch attached and followed the instruction in your post. But still I am not able to compile it successfully. Following is the error:



    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/ColorSpace.c
    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Cpu.h
    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Sound.h
    Checked out revision 427.
    quilt push -a
    File series fully applied, ends at patch update-cmem.patch
    make[3]: *** [patched] Error 2
    make[3]: Leaving directory `/opt/DM355SDK840402/proprietary/dvsdk_2_00_00'
    Error building dvsdk_2_00_00
    make[2]: *** [dependency_build] Error 1
    make[2]: Leaving directory `/opt/DM355SDK840402/proprietary'
    make[1]: *** [proprietary_src_build] Error 1
    make[1]: Leaving directory `/opt/DM355SDK840402/fs'
    make: *** [fs_build] Error 2

    Can you please help me out with this.....

  • dude..... for sure u didnt install autoconf and i think automake too

    sudo apt-get install autoconf shud do the trick and then

    make it all over again..................

  • You can try checking out version 434 of dmai by changing the makefile in dvsdk folder under proprietary...

  • To be specific

    cd $DEVDIR/cd proprietary/gst-dmai-plugins/

    make clean

    rm -rf src

    vi Makefile # add -r 434

    # change from

    ifeq ($(CONFIG_PROPRIETARY_TI_GST_CODECS_TRUNK),y)

           $(V) echo | svn co --username anonymous --password "" gstreamer.ti.com/.../ticodecplugin src

    else

           $(V) echo | svn co --username anonymous --password "" gstreamer.ti.com/.../ticodecplugin src

    endif

    # change to

    ifeq ($(CONFIG_PROPRIETARY_TI_GST_CODECS_TRUNK),y)

           $(V) svn co -r 434 --username anonymous --password "" gstreamer.ti.com/.../ticodecplugin src

    else

           $(V) svn co --username anonymous --password "" gstreamer.ti.com/.../ticodecplugin src

    endif

    # exit your editor

    make src VERBOSE=1

    make

  • hi,

    i m still getting error, please help me

    Entering proprietary_src...

         Checking dependencies for dvsdk_2_00_00

           Checking dependencies for xdctools_3_10_05

           Compiling and installing xdctools_3_10_05...

         Compiling and installing dvsdk_2_00_00...

    make[3]: *** [built] Error 2

    Error building dvsdk_2_00_00

    make[2]: *** [dependency_build] Error 1

    make[1]: *** [proprietary_src_build] Error 1

    make: *** [fs_build] Error 2

  • actually when i try to apply that patch "dmai.revision.patch", just before that, for the command "make clean"  i am getting the following error

    mohit@mohit-desktop:~/DM355SDK840402/proprietary/dvsdk_2_00_00$ make clean

    Makefile:7: *** ====== DEVDIR variable is empty, invoke this Makefile from the BSP root, or provide the path to it =====.  Stop.

  • hi, when i apply the patch i get the following error

    http://pastebin.com/jE1VCzpJ

  • tried many time to make version 789311, got this error.

    ====

         Checking dependencies for dvsdk_2_00_00

           Checking dependencies for xdctools_3_10_05

           Compiling and installing xdctools_3_10_05...

         Compiling and installing dvsdk_2_00_00...

         Checking dependencies for gst-dmai-plugins

         Compiling and installing gst-dmai-plugins...

    cc1: warnings being treated as errors

    ../../src/src/gstticodecplugin.c:1: warning: switch -mcpu=arm926ej-s conflicts with -march= switch

    make[7]: *** [libgstticodecplugin_la-gstticodecplugin.lo] Error 1

    make[6]: *** [all] Error 2

    make[5]: *** [all-recursive] Error 1

    make[4]: *** [all] Error 2

    make[3]: *** [build] Error 2

    Error building gst-dmai-plugins

    make[2]: *** [dependency_build] Error 1

    make[1]: *** [proprietary_src_build] Error 1

    make: *** [fs_build] Error 2

    [root@optasia-desktop DM355SDK789311]#

  • Please try again with

     

    make VERBOSE=1

     

    so we can see what is going on.

  • Version 840404 gives this error, earlier version cant run

    need to install "mono-common" , anyone know where to find the archive for  "mono-common"

    for Karmic? Linux optasia-desktop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux

    first experience with Leopardboard not going well.

    Was hoping to port LPR software... :(

    ======

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Ir.h

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Dmai.h

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/BufferGfx.h

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Framecopy.c

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Blend.h

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/obj

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Framecopy.h

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/ColorSpace.c

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Cpu.h

    A    dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/Sound.h

    Checked out revision 645.

    make[3]: *** [patched] Error 1

    Error building dvsdk_2_00_00

    make[2]: *** [dependency_build] Error 1

    make[1]: *** [proprietary_src_build] Error 1

    make: *** [fs_build] Error 2

    [root@optasia-desktop DM355SDK840402]#