<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 01/25/2012 09:56 AM, Patrick Ale wrote:
    <blockquote
cite="mid:CAERJoXUQRxoRuvRHgryDdCFg_VwT7vO_K09fBRsX4iuMKrzWCA@mail.gmail.com"
      type="cite">Hi,<br>
      <br>
      Mja, the information I gave you guys is less than minimal I
      realized, sorry for that.<br>
      <br>
      I am trying to compile gst-ffmpeg-0.10.13 on Solaris 11, which
      ships with 0.10.32.<br>
      GCC I use is 3.4.3<br>
      pale@solaris:~$ /usr/sfw/bin/gcc -v<br>
      Reading specs from
      /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs<br>
      Configured with:
      /builds/hudson/workspace/nightly/build/i386/components/gcc3/gcc-3.4.3/configure
      --prefix=/usr/sfw --mandir=/usr/sfw/share/man
      --infodir=/usr/sfw/share/info --without-gnu-ld
      --with-ld=/usr/bin/ld --enable-languages=c,c++,f77,objc
      --enable-shared --with-gnu-as --with-as=/usr/gnu/bin/as<br>
      Thread model: posix<br>
      gcc version 3.4.3 (csl-sol210-3_4-20050802)<br>
      <br>
      I see here that the 'ld' used is /usr/bin/ld which is not the GNU
      ld but the Solaris one. GNU ld is installed on my system in
      /usr/gnu/bin. Could this be the issue? If yes, how do I tell
      ./configure to use the GNU ld?<br>
    </blockquote>
    <br>
    two options:<br>
    LD=/usr/gnu/bin/ld ./configure<br>
    ./configure --with-ld=/usr/gnu/bin/ld<br>
    <br>
    Stefan<br>
    <blockquote
cite="mid:CAERJoXUQRxoRuvRHgryDdCFg_VwT7vO_K09fBRsX4iuMKrzWCA@mail.gmail.com"
      type="cite">
      <br>
      My binutils version is 2.19.0<br>
      <br>
      Some extra info after me playing around after sending my initial
      email:<br>
      <br>
      When I go to the gst-libs/ext/libav directory and run:<br>
      /configure --prefix=/usr --disable-ffserver --disable-ffplay
      --disable-ffmpeg --disable-ffprobe --enable-static --enable-pic
      --disable-encoder=flac --disable-decoder=cavs --disable-protocols
      --disable-devices --disable-network --disable-hwaccels
      --disable-filters --disable-doc --enable-optimizations
      --enable-postproc --enable-gpl --enable-shared --enable-pic<br>
      <br>
      ## --enable-shared and --enable-pic are added by me, the rest of
      the configure statements are a result of running ./configure
      --prefix=/usr from $HOME/SOURCES/gstreamer/gst-ffmpeg-0.10.32/<br>
      gmake &amp;&amp; gmake install<br>
      <br>
      ; then gst-ffmpeg compiles and installs when I issue a
      './configure --prefix=/usr --with-system-ffmpeg' from
      $HOME/SOURCES/gstreamer/gst-ffmpeg-0.10.32. However, trying to
      play a matroska file with ATSC A/52 sound and h264 video core
      dumps totem then.<br>
      <br>
      <br>
      Please let me know if you require extra information.<br>
      <br>
      <br>
      <br>
      Patrick<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <div class="gmail_quote">On Tue, Jan 24, 2012 at 4:04 PM, Stefan
        Sauer <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div bgcolor="#ffffff" text="#000000">
            <div>
              <div class="h5"> On 01/22/2012 01:58 PM, Patrick Ale
                wrote:
                <blockquote type="cite">Hi all,<br>
                  <br>
                  First of all, sorry if I ask a question that has been
                  asked many times before. Yes I googled and all I found
                  is people reporting the problem but no fix was offered
                  (for what I could see).<br>
                  <br>
                  My problem is related to compiling the gst-ffmpeg
                  0.10.13 source. All seems to go fine untill the
                  linking phase.<br>
                  <br>
                  Making all in ffmpeg<br>
                  gmake[3]: Entering directory
                  `/home/pale/SOURCE/gstreamer/gst-ffmpeg-0.10.13/ext/ffmpeg'<br>
                  &nbsp; CCLD&nbsp;&nbsp; <a moz-do-not-send="true"
                    href="http://libgstffmpeg.la" target="_blank">libgstffmpeg.la</a><br>
                  <br>
                  *** Warning: Linking the shared library <a
                    moz-do-not-send="true" href="http://libgstffmpeg.la"
                    target="_blank">libgstffmpeg.la</a> against the<br>
                  *** static library
                  ../../gst-libs/ext/libav/libavformat/libavformat.a is
                  not portable!<br>
                  <br>
                  *** Warning: Linking the shared library <a
                    moz-do-not-send="true" href="http://libgstffmpeg.la"
                    target="_blank">libgstffmpeg.la</a> against the<br>
                  *** static library
                  ../../gst-libs/ext/libav/libavcodec/libavcodec.a is
                  not portable!<br>
                  <br>
                  *** Warning: Linking the shared library <a
                    moz-do-not-send="true" href="http://libgstffmpeg.la"
                    target="_blank">libgstffmpeg.la</a> against the<br>
                  *** static library
                  ../../gst-libs/ext/libav/libavutil/libavutil.a is not
                  portable!<br>
                  <br>
                  After this it ends with:<br>
                  ld: fatal: relocations remain against allocatable but
                  non-writable sections<br>
                  collect2: ld returned 1 exit status<br>
                  gmake[3]: *** [<a moz-do-not-send="true"
                    href="http://libgstffmpeg.la" target="_blank">libgstffmpeg.la</a>]
                  Error 1<br>
                  gmake[3]: Leaving directory
                  `/home/pale/SOURCE/gstreamer/gst-ffmpeg-0.10.13/ext/ffmpeg'<br>
                </blockquote>
                <br>
              </div>
            </div>
            on what platform and using what toolchain version are you
            doing the build? What are the configure flags you are using?<br>
            <br>
            Stefan<br>
            <br>
            <blockquote type="cite">
              <div class="im"> <br>
                <br>
                Any idea what I am doing wrong and preferable, how do I
                fix this?<br>
                <br>
                <br>
                Thanks :)<br>
                <br>
                <br>
                Patrick<br>
                <br>
                <br>
                <br>
              </div>
              <pre><fieldset></fieldset>
_______________________________________________
gstreamer-devel mailing list
<a moz-do-not-send="true" href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a moz-do-not-send="true" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
            </blockquote>
            <br>
          </div>
          <br>
          _______________________________________________<br>
          gstreamer-devel mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
            target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>