gst-plugins-base-0.10.32: GST_DISABLE_XML=1 doesn't work in gstsubparse.c

bcxa sz bcxa.sz at gmail.com
Wed Aug 17 03:26:24 PDT 2011


On Wed, Aug 17, 2011 at 4:57 PM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
> On Wed, 2011-08-17 at 15:05 +0800, bcxa sz wrote:
>
>> But unfortunately, it will try to find the header file at host
>> /usr/include/gstreamer-0.10/gst/gstconfig.h. But it should find this
>> header file at:
>> ===============================================================================
>> [root at fedora14 gst-plugins-base-0.10.32]# ls
>> /opt/STM/STLinux-2.4/devkit/sh4/target/usr/include/gstreamer-0.10/gst/gstconfig.h
>> /opt/STM/STLinux-2.4/devkit/sh4/target/usr/include/gstreamer-0.10/gst/gstconfig.h
>> ===============================================================================
>>
>> So I think this one should be gstreamer cross compile issue. Do you
>> have some suggestion to fix?
>
> This is an issue with your dev environment setup then. Try
> adding /opt/STM/STLinux-2.4/devkit/sh4/target/usr/lib/pkgconfig to
> PKG_CONFIG_PATH (or use the --with-pkg-config-path configure option)
>
> Cheers
>  -Tim
>

Hi Tim,

My PKG_CONFIG_PATH is correct. It will correctly find
/opt/STM/STLinux-2.4/devkit/sh4/target/usr/lib/pkgconfig/gstreamer-0.10.pc.

And in this .pc, the includedir is /user/include/gstreamer-0.10. This
includedir is correct if from the target point of view.

But the issue is that, when configure gst-plugins-base-0.10.32, in
configure file:

GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir
gstreamer-0.10`"/gst/gstconfig.h"

Then GST_CONFIGPATH will be
/usr/include/gstreamer-0.10/gst/gstconfig.h. This is the host file
system path.

Not target file system path.

My solution is to add one more environment variable:
===============================
export PKG_PREFIX_BASE=/opt/STM/STLinux-2.4/devkit/sh4/target/
GST_CONFIGPATH=$PKG_PREFIX_BASE`$PKG_CONFIG --variable=includedir
gstreamer-0.10`"/gst/gstconfig.h"

Then the GST_CONFIGPATH will be
/opt/STM/STLinux-2.4/devkit/sh4/target/usr/include/gstreamer-0.10/gst/gstconfig.h

I think this is the issue of gstreamer, not adapt to cross compile.
Please let me know if I am wrong.

>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


More information about the gstreamer-devel mailing list