• 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 » Building GStreamer for DM36x
Share
Linux
  • Forum
Options
  • Subscribe via RSS

Forums

Building GStreamer for DM36x

This question is answered
Kirill Brilliantov
Posted by Kirill Brilliantov
on Apr 02 2012 07:30 AM
Genius3470 points

Hello!

I have download and install dvsdk_dm365-evm_4_02_00_06_setuplinux and arm-2009q1-203-arm-none-linux-gnueabi.bin, DVSDK bulded succesfully.
Now I have to build GStreamer for DM36x processors. I have download gst-ti-plugin-full-1.02.00.tar.gz and unpack it, after this I modify Makefile.common, I set variables in:
DVSDK_INSTALL_DIR    = /opt/DM36x_DVSDK_4_02
TARGET_ROOT_DIR      = /tmp/gstreamer
GSTREAMER_DIR        = /opt/gstreamer
CROSS_COMPILER       = CS_2009Q1
GST_TI_PLATFORM      =

After run make all I see unpacking glib-2.22.2 and configure it, but configure failed:
checking for arm-linux-gcc... /opt/CodeSource//bin/arm-none-linux-gnueabi-gcc
checking for C compiler default output file name...
configure: error: in `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build/glib-2.22.2':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[4]: *** [glib.configure] Error 77
make[4]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'
make[3]: *** [base] Error 2
make[3]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'
make[2]: *** [.base] Error 2
make[2]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'
make[1]: *** [opensource_build] Error 2
make[1]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00'
make: *** [all] Error 2

How can I solve this problem?

Thank you and exuse me my bad english.

GStreamer dm36x
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Kirill Brilliantov
    Posted by Kirill Brilliantov
    on Apr 02 2012 07:45 AM
    Genius3470 points

    Ok, I solve first problem after write correct path in Makefile.common.
    But now I get next problem:
    configure: No package 'glib-2.0' found
    No package 'gobject-2.0' found
    No package 'gthread-2.0' found
    No package 'gmodule-no-export-2.0' found
    configure: error: This package requires GLib >= 2.16 to compile.
    make[4]: *** [gstreamer.configure] Error 1
    make[4]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'
    make[3]: *** [base] Error 2
    make[3]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'
    make[2]: *** [.base] Error 2
    make[2]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'
    make[1]: *** [opensource_build] Error 2
    make[1]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00'
    make: *** [all] Error 2

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kirill Brilliantov
    Posted by Kirill Brilliantov
    on Apr 02 2012 09:15 AM
    Genius3470 points

    After run make all install I get next error:
    /opt/CodeSource//bin/arm-none-linux-gnueabi-gcc -shared  .libs/version.o .libs/ucs4.o .libs/latin1.o .libs/utf16.o .libs/utf8.o .libs/parse.o .libs/render.o .libs/field.o .libs/frametype.o .libs/compat.o .libs/genre.o .libs/frame.o .libs/crc.o .libs/util.o .libs/tag.o .libs/file.o  -L/home/kirill/MegaIP/nfs//opt/gstreamer/lib -L/opt/DM36x_DVSDK_4_02/linux-devkit/arm-none-linux-gnueabi/usr/lib /usr/lib/libz.so  -march=armv5te -mtune=arm926ej-s -Wl,-soname -Wl,libid3tag.so.0 -o .libs/libid3tag.so.0.3.0
    /usr/lib/libz.so: could not read symbols: File in wrong format
    collect2: ld returned 1 exit status
    make[7]: *** [libid3tag.la] Error 1
    make[7]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build/libid3tag-0.15.1b'
    make[6]: *** [install-recursive] Error 1
    make[6]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build/libid3tag-0.15.1b'
    make[5]: *** [install] Error 2
    make[5]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build/libid3tag-0.15.1b'
    make[4]: *** [id3tag.build] Error 2
    make[4]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'
    make[3]: *** [base] Error 2
    make[3]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'
    make[2]: *** [.base] Error 2
    make[2]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'
    make[1]: *** [opensource_build] Error 2
    make[1]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00'
    make: *** [all] Error 2

    I think problem in linked with system /usr/lib/libz.so, but why?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • AnBer
    Posted by AnBer
    on Apr 16 2012 04:34 AM
    Verified Answer
    Verified by Kirill Brilliantov
    Genius9605 points

    1) A couple of E2E forum post that should help as it might be that you are not taking the right repository:
        http://e2e.ti.com/support/embedded/linux/f/354/t/100682.aspx#352910
        http://e2e.ti.com/support/embedded/linux/f/354/t/67130.aspx#242948

    2) General info on G-streamer:

    a) The TI G-streamer port is available from here:
            http://www.ti.com/tool/gstreamer

    b) There are different wiki page that you could look at:
    This are the 2 main starting links for G-streamer:
        http://processors.wiki.ti.com/index.php/GStreamer
    Numbers of other Twiki pages on Gstreamer exist. For example:
        http://processors.wiki.ti.com/index.php/DMAI_GStreamer_Plug-In_Getting_Started_Guide
        http://processors.wiki.ti.com/index.php/GStreamer_Plug-in_2.x_Design

    c) Also there are info on the RidgeRun wiki:
    https://www.ridgerun.com/developer/wiki/index.php/Main_Page
    https://www.ridgerun.com/developer/wiki/index.php/Category:DM36x

    The below link tells that when debug is enable then performances are poor:
    https://www.ridgerun.com/developer/wiki/index.php/GStreamer_Debugging


    d) Also the below page can help to understand G-streamer vs other solutions:
        http://processors.wiki.ti.com/index.php/GStreamer_positioning

    Hope it helps.
    Anthony

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kirill Brilliantov
    Posted by Kirill Brilliantov
    on Apr 16 2012 06:10 AM
    Genius3470 points

    Thank you, Anthony!

    I have read https://gstreamer.ti.com/gf/project/gstreamer_ti/scmsvn/?action=AccessInfo and after get sources from repositoty trunk I succesfully buld it.

    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