Linking libgstffmpet.la against static library

Stefan Sauer ensonic at hora-obscura.de
Tue Jan 24 07:04:04 PST 2012


On 01/22/2012 01:58 PM, Patrick Ale wrote:
> Hi all,
>
> 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).
>
> My problem is related to compiling the gst-ffmpeg 0.10.13 source. All
> seems to go fine untill the linking phase.
>
> Making all in ffmpeg
> gmake[3]: Entering directory
> `/home/pale/SOURCE/gstreamer/gst-ffmpeg-0.10.13/ext/ffmpeg'
>   CCLD   libgstffmpeg.la <http://libgstffmpeg.la>
>
> *** Warning: Linking the shared library libgstffmpeg.la
> <http://libgstffmpeg.la> against the
> *** static library ../../gst-libs/ext/libav/libavformat/libavformat.a
> is not portable!
>
> *** Warning: Linking the shared library libgstffmpeg.la
> <http://libgstffmpeg.la> against the
> *** static library ../../gst-libs/ext/libav/libavcodec/libavcodec.a is
> not portable!
>
> *** Warning: Linking the shared library libgstffmpeg.la
> <http://libgstffmpeg.la> against the
> *** static library ../../gst-libs/ext/libav/libavutil/libavutil.a is
> not portable!
>
> After this it ends with:
> ld: fatal: relocations remain against allocatable but non-writable
> sections
> collect2: ld returned 1 exit status
> gmake[3]: *** [libgstffmpeg.la <http://libgstffmpeg.la>] Error 1
> gmake[3]: Leaving directory
> `/home/pale/SOURCE/gstreamer/gst-ffmpeg-0.10.13/ext/ffmpeg'

on what platform and using what toolchain version are you doing the
build? What are the configure flags you are using?

Stefan

>
>
> Any idea what I am doing wrong and preferable, how do I fix this?
>
>
> Thanks :)
>
>
> Patrick
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120124/bcaadd9c/attachment-0001.htm>


More information about the gstreamer-devel mailing list