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.

Linux/GSTREAMER: Error While compiling the gst- plugin 1.02.0

Part Number: GSTREAMER

Tool/software: Linux

Hi ,

I am working on Leopard DM365 board. And using the gst-plugin 1.02.00

 While compiling the same by following the steps from

http://processors.wiki.ti.com/index.php/DMAI_GStreamer_Plug-In_Getting_Started_Guide

for DM365 board. I am getting below error for gst-plugin. And I am not able to find solution for it.

grammar.tab.c: In function '_gst_parse_yyparse':
grammar.tab.c:1762: error: too few arguments to function '_gst_parse_yylex'
make[8]: *** [libgstparse_la-grammar.tab.lo] Error 1
make[8]: Leaving directory `/home/aquilon/gst-ti-plugin-full-1.02.00/opensource_build/gstreamer-0.10.25/gst/parse'
make[7]: *** [install-recursive] Error 1
make[7]: Leaving directory `/home/aquilon/gst-ti-plugin-full-1.02.00/opensource_build/gstreamer-0.10.25/gst'
make[6]: *** [install] Error 2
make[6]: Leaving directory `/home/aquilon/gst-ti-plugin-full-1.02.00/opensource_build/gstreamer-0.10.25/gst'
make[5]: *** [install-recursive] Error 1
make[5]: Leaving directory `/home/aquilon/gst-ti-plugin-full-1.02.00/opensource_build/gstreamer-0.10.25'
make[4]: *** [gstreamer.build] Error 2
make[4]: Leaving directory `/home/aquilon/gst-ti-plugin-full-1.02.00/opensource_build'
make[3]: *** [base] Error 2
make[3]: Leaving directory `/home/aquilon/gst-ti-plugin-full-1.02.00/opensource_build'
make[2]: *** [.base] Error 2
make[2]: Leaving directory `/home/aquilon/gst-ti-plugin-full-1.02.00/opensource_build'
make[1]: *** [opensource_build] Error 2
make[1]: Leaving directory `/home/aquilon/gst-ti-plugin-full-1.02.00'
make: *** [all] Error 2

thanks for your help in advance.

  • Hello,

    Could you provide the steps that you are executing?

    BR
    Margarita
  • Hi Thank you for Replay


    I have  provided the link above in the question from which I am following the steps for my Leopard DM365 board.

    Steps are as follows..:-


    DM365 software installation (DVSDK 3.10.00.19)

    Downloaded and copied to /tmp folders

    /tmp/arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
    /tmp/dvsdk_3_10_00_19_Setup.bin
    /tmp/linux-davinci-staging.tar.gz
    /tmp/linuxlibs-2009.11-armv5te.tar.gz
    /tmp/arago-demo-image-dm365-evm.tar.gz
    /tmp/gst-ti-plugin-full-1.02.00.tar.gz

    ---
    after that

    DOWNLOAD_DIR=/tmp

    # toolchain
    cd /opt
    sudo tar -xjf $DOWNLOAD_DIR/arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

    # DVSDK
    chmod ugo+x $DOWNLOAD_DIR/dvsdk_3_10_00_19_Setup.bin
    echo -e 'y\n qy' | $DOWNLOAD_DIR/dvsdk_3_10_00_19_Setup.bin --mode console

    # Linux kernel
    cd $HOME/dvsdk
    tar -xzf $DOWNLOAD_DIR/linux-davinci-staging.tar.gz

    # linuxlibs
    cd $HOME/dvsdk
    tar -xzf $DOWNLOAD_DIR/linuxlibs-2009.11-armv5te.tar.gz

    # GStreamer DMAI plug-in
    cd $HOME
    tar -xzf $DOWNLOAD_DIR/gst-ti-plugin-full-1.02.00.tar.gz

    # target file system
    mkdir -p $HOME/install/dm365_fs
    cd $HOME/install/dm365_fs
    sudo tar -xzf $DOWNLOAD_DIR/arago-demo-image-dm365-evm.tar.gz
    sudo chown -R --reference=$HOME $HOME/install/dm365_fs

    for gst-dmai plugin I am doing the following

    build gst-dmai plug-in
    cd $HOME/gst-ti-plugin-full-1.02.00
    make DVSDK_INSTALL_DIR=$HOME/dvsdk/dvsdk_3_10_00_19 TARGET_ROOT_DIR=$HOME/install/dm365_fs PLATFORM=dm365 all install

    -- I have also tried the unreleased source from SVN but it also throws same error. I have searched on net it's says the error could be because bison 3 version.

    Can you tell me how do I correct it.

    Thanking You in advance..

  • HI

    Can you please help in this matter.?

    Thanks,
    Hinesh
  • Hello,

    I am sorry I was out of office.
    I haven't seen such error before but bison could be a reason.
    You could check the bison version by this command $bison --version.

    BR
    Margarita