Hi Developers,
I have cross compiled gstreamer on embedded system. And I have below flags in gst-plugins-base-0.10.32/gst/subparse/Makefile: GST_DISABLE_ALLOC_TRACE = 1 GST_DISABLE_GST_DEBUG = 1 GST_DISABLE_LOADSAVE = 1 GST_DISABLE_PARSE = 1 GST_DISABLE_PLUGIN = 1 GST_DISABLE_REGISTRY = 1 GST_DISABLE_TRACE = 1 GST_DISABLE_XML = 1 And look at the gstsubparse.c: #ifndef GST_DISABLE_XML case GST_SUB_PARSE_FORMAT_SAMI: self->parse_line = parse_sami; sami_context_init (&self->state); return gst_caps_new_simple ("text/x-pango-markup", NULL); #endif This piece of code is assumed not to get compiled. But this is not true and it still get compiled. And it seemed that GST_DISABLE_XML flag is not given to compiler with -D. Anybody know this? best regards BCXA _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Tue, 2011-08-16 at 17:42 +0800, bcxa sz wrote:
Hi, > I have cross compiled gstreamer on embedded system. And I have below > flags in gst-plugins-base-0.10.32/gst/subparse/Makefile: Maybe you should try the latest release, which is 0.10.35. > GST_DISABLE_ALLOC_TRACE = 1 > GST_DISABLE_GST_DEBUG = 1 > GST_DISABLE_LOADSAVE = 1 > GST_DISABLE_PARSE = 1 > GST_DISABLE_PLUGIN = 1 > GST_DISABLE_REGISTRY = 1 > GST_DISABLE_TRACE = 1 > GST_DISABLE_XML = 1 You are setting Makefile variables here. These have nothing to do with #ifdef and #ifndef. > And look at the gstsubparse.c: > #ifndef GST_DISABLE_XML > case GST_SUB_PARSE_FORMAT_SAMI: > self->parse_line = parse_sami; > sami_context_init (&self->state); > return gst_caps_new_simple ("text/x-pango-markup", NULL); > #endif > > This piece of code is assumed not to get compiled. But this is not > true and it still get compiled. > > And it seemed that GST_DISABLE_XML flag is not given to compiler with -D. Those defines would usually be in config.h in the top-level directory (created and set by configure dependent on whether libxml2 development files + headers have been found or not). Cheers -Tim _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Tim,
I attached my config.h here and I didn't see the defination. All the Makefile and configure.h is generated automatically. And I have a/v working on my embedded system with compiled gstreamer library. Just had this problem when I try to add subtitle support. best regards BCXA On Tue, Aug 16, 2011 at 5:48 PM, Tim-Philipp Müller <[hidden email]> wrote: > On Tue, 2011-08-16 at 17:42 +0800, bcxa sz wrote: > > Hi, > >> I have cross compiled gstreamer on embedded system. And I have below >> flags in gst-plugins-base-0.10.32/gst/subparse/Makefile: > > Maybe you should try the latest release, which is 0.10.35. > >> GST_DISABLE_ALLOC_TRACE = 1 >> GST_DISABLE_GST_DEBUG = 1 >> GST_DISABLE_LOADSAVE = 1 >> GST_DISABLE_PARSE = 1 >> GST_DISABLE_PLUGIN = 1 >> GST_DISABLE_REGISTRY = 1 >> GST_DISABLE_TRACE = 1 >> GST_DISABLE_XML = 1 > > You are setting Makefile variables here. These have nothing to do with > #ifdef and #ifndef. > >> And look at the gstsubparse.c: >> #ifndef GST_DISABLE_XML >> case GST_SUB_PARSE_FORMAT_SAMI: >> self->parse_line = parse_sami; >> sami_context_init (&self->state); >> return gst_caps_new_simple ("text/x-pango-markup", NULL); >> #endif >> >> This piece of code is assumed not to get compiled. But this is not >> true and it still get compiled. >> >> And it seemed that GST_DISABLE_XML flag is not given to compiler with -D. > > Those defines would usually be in config.h in the top-level directory > (created and set by configure dependent on whether libxml2 development > files + headers have been found or not). > > Cheers > -Tim > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel config.h (14K) Download Attachment |
On Tue, 2011-08-16 at 18:12 +0800, bcxa sz wrote:
Hi, > I attached my config.h here and I didn't see the defination. > > All the Makefile and configure.h is generated automatically. And I > have a/v working on my embedded system with compiled gstreamer > library. > > Just had this problem when I try to add subtitle support. Sorry, I didn't read closely enough. The GST_DISABLE_XML define comes from the GStreamer core includes (gst/gstconfig.h). It should be set by default, unless you built GStreamer core with --disable-loadsave (and maybe other switches, don't remember exactly). Cheers -Tim _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Tim,
On Tue, Aug 16, 2011 at 6:23 PM, Tim-Philipp Müller <[hidden email]> wrote: > On Tue, 2011-08-16 at 18:12 +0800, bcxa sz wrote: > > Hi, > >> I attached my config.h here and I didn't see the defination. >> >> All the Makefile and configure.h is generated automatically. And I >> have a/v working on my embedded system with compiled gstreamer >> library. >> >> Just had this problem when I try to add subtitle support. > > Sorry, I didn't read closely enough. The GST_DISABLE_XML define comes > from the GStreamer core includes (gst/gstconfig.h). It should be set by > default, unless you built GStreamer core with --disable-loadsave (and > maybe other switches, don't remember exactly). > And in gstconfig.h, I didn't see these flags are set and all is commented like below. ==================================================================== /* trick gtk-doc into believing these symbols are defined (yes, it's ugly) */ #if 0 #define GST_DISABLE_GST_DEBUG 1 #define GST_DISABLE_LOADSAVE 1 #define GST_DISABLE_PARSE 1 #define GST_DISABLE_TRACE 1 #define GST_DISABLE_ALLOC_TRACE 1 #define GST_DISABLE_REGISTRY 1 #define GST_DISABLE_PLUGIN 1 #define GST_DISABLE_XML 1 #define GST_DISABLE_LOADSAVE_REGISTRY 1 #define GST_HAVE_GLIB_2_8 1 #endif > Cheers > -Tim > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Tue, 2011-08-16 at 18:35 +0800, bcxa sz wrote:
> And in gstconfig.h, I didn't see these flags are set and all is > commented like below. > ==================================================================== > /* trick gtk-doc into believing these symbols are defined (yes, it's ugly) */ > #if 0 > #define GST_DISABLE_GST_DEBUG 1 > #define GST_DISABLE_LOADSAVE 1 > #define GST_DISABLE_PARSE 1 > #define GST_DISABLE_TRACE 1 > #define GST_DISABLE_ALLOC_TRACE 1 > #define GST_DISABLE_REGISTRY 1 > #define GST_DISABLE_PLUGIN 1 > #define GST_DISABLE_XML 1 > #define GST_DISABLE_LOADSAVE_REGISTRY 1 > #define GST_HAVE_GLIB_2_8 1 > #endif Checked further down? there should be something like: /** * GST_DISABLE_XML: * * Configures the use libxml2. This setting is derived from the settings of * %GST_DISABLE_LOADSAVE and %GST_DISABLE_REGISTRY (in the xml registry case). */ /* #undef GST_DISABLE_XML */ -Tim _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Tim,
On Tue, Aug 16, 2011 at 6:41 PM, Tim-Philipp Müller <[hidden email]> wrote: > On Tue, 2011-08-16 at 18:35 +0800, bcxa sz wrote: > >> And in gstconfig.h, I didn't see these flags are set and all is >> commented like below. >> ==================================================================== >> /* trick gtk-doc into believing these symbols are defined (yes, it's ugly) */ >> #if 0 >> #define GST_DISABLE_GST_DEBUG 1 >> #define GST_DISABLE_LOADSAVE 1 >> #define GST_DISABLE_PARSE 1 >> #define GST_DISABLE_TRACE 1 >> #define GST_DISABLE_ALLOC_TRACE 1 >> #define GST_DISABLE_REGISTRY 1 >> #define GST_DISABLE_PLUGIN 1 >> #define GST_DISABLE_XML 1 >> #define GST_DISABLE_LOADSAVE_REGISTRY 1 >> #define GST_HAVE_GLIB_2_8 1 >> #endif > > Checked further down? there should be something like: > > /** > * GST_DISABLE_XML: > * > * Configures the use libxml2. This setting is derived from the settings > of > * %GST_DISABLE_LOADSAVE and %GST_DISABLE_REGISTRY (in the xml registry > case). > */ > /* #undef GST_DISABLE_XML */ > Yes, I saw this piece of code and it is commented. And after this, /***** Deal with XML stuff, we have to handle both loadsave and registry *****/ /* FIXME: move include to where we need it */ /*#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )*/ #ifndef GST_DISABLE_XML #ifndef GST_DISABLE_DEPRECATED # include <libxml/parser.h> #endif #else /* FIXME: 0.11 (replace by GST_DISABLE_XML) */ # define GST_DISABLE_LOADSAVE_REGISTRY #endif But I still can not see where GST_DISABLE_XML defined. And I have one question on how GST_DISABLE_XML is set, check which condition. I looked at the gstreamer on Fedor14. Fedora14 is also use libxml2 but why GST_DISABLE_XML = 0? My embedded system is also use libxml2 but GST_DISABLE_XML = 1. Sorry, I am not familiar with gstreamer auto configure. And any document on this? > > -Tim > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
With some close looking, I suspect this may be due to my build issue.
in gst-plugins-base-0.10.32/configure ========================================================================== GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h" grep >/dev/null "#undef GST_DISABLE_XML" $GST_CONFIGPATH if test $? = 0; then GST_DISABLE_XML=0 else GST_DISABLE_XML=1 fi It should search the gstreamer-0.10.32/gst/gstconfig.h to find whether have "#undef GST_DISABLE_XML". And look at the gstreamer-0.10.32/gst/gstconfig.h: ========================================================================= /** * GST_DISABLE_XML: * * Configures the use libxml2. This setting is derived from the settings of * %GST_DISABLE_LOADSAVE and %GST_DISABLE_REGISTRY (in the xml registry case). */ /* #undef GST_DISABLE_XML */ Code is there. So it means that GST_DISABLE_XML should be 0, not 1. Unless, the gstconfig.h is not found. This is what I suspected. Then I configure gst-plugins-base-0.10.32 again and found: ======================================================== grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory On Wed, Aug 17, 2011 at 10:11 AM, bcxa sz <[hidden email]> wrote: > Hi Tim, > > On Tue, Aug 16, 2011 at 6:41 PM, Tim-Philipp Müller <[hidden email]> wrote: >> On Tue, 2011-08-16 at 18:35 +0800, bcxa sz wrote: >> >>> And in gstconfig.h, I didn't see these flags are set and all is >>> commented like below. >>> ==================================================================== >>> /* trick gtk-doc into believing these symbols are defined (yes, it's ugly) */ >>> #if 0 >>> #define GST_DISABLE_GST_DEBUG 1 >>> #define GST_DISABLE_LOADSAVE 1 >>> #define GST_DISABLE_PARSE 1 >>> #define GST_DISABLE_TRACE 1 >>> #define GST_DISABLE_ALLOC_TRACE 1 >>> #define GST_DISABLE_REGISTRY 1 >>> #define GST_DISABLE_PLUGIN 1 >>> #define GST_DISABLE_XML 1 >>> #define GST_DISABLE_LOADSAVE_REGISTRY 1 >>> #define GST_HAVE_GLIB_2_8 1 >>> #endif >> >> Checked further down? there should be something like: >> >> /** >> * GST_DISABLE_XML: >> * >> * Configures the use libxml2. This setting is derived from the settings >> of >> * %GST_DISABLE_LOADSAVE and %GST_DISABLE_REGISTRY (in the xml registry >> case). >> */ >> /* #undef GST_DISABLE_XML */ >> > > Yes, I saw this piece of code and it is commented. And after this, > > /***** Deal with XML stuff, we have to handle both loadsave and registry *****/ > /* FIXME: move include to where we need it */ > /*#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )*/ > #ifndef GST_DISABLE_XML > #ifndef GST_DISABLE_DEPRECATED > # include <libxml/parser.h> > #endif > #else > /* FIXME: 0.11 (replace by GST_DISABLE_XML) */ > # define GST_DISABLE_LOADSAVE_REGISTRY > #endif > > But I still can not see where GST_DISABLE_XML defined. > > And I have one question on how GST_DISABLE_XML is set, check which condition. > > I looked at the gstreamer on Fedor14. Fedora14 is also use libxml2 but > why GST_DISABLE_XML = 0? > > My embedded system is also use libxml2 but GST_DISABLE_XML = 1. > > Sorry, I am not familiar with gstreamer auto configure. And any > document on this? >> >> -Tim >> >> >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel >> > gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I think I have found the reason:
The current command line has the parameter --prefix=/usr. It is correct if from the embedded system target point of view. But when configure gst-plugins-base-0.10.32, in gst-plugins-base-0.10.32/configure ========================================================================== GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h" It will try to find the includedir with pk-config [root@fedora14 gst-plugins-base-0.10.32]# cat /opt/STM/STLinux-2.4/devkit/sh4/target/usr/lib/pkgconfig/gstreamer-0.10.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include/gstreamer-0.10 toolsdir=${exec_prefix}/bin pluginsdir=${libdir}/gstreamer-0.10 datarootdir=${prefix}/share datadir=${datarootdir} girdir=${datadir}/gir-1.0 typelibdir=${libdir}/girepository-1.0 Name: GStreamer Description: Streaming media framework Requires: glib-2.0, gobject-2.0, gmodule-no-export-2.0, gthread-2.0, libxml-2.0 Version: 0.10.34 Libs: -L${libdir} -lgstreamer-0.10 Cflags: -I${includedir} ============================================================================== 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@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? On Wed, Aug 17, 2011 at 12:06 PM, bcxa sz <[hidden email]> wrote: > With some close looking, I suspect this may be due to my build issue. > > in gst-plugins-base-0.10.32/configure > ========================================================================== > GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir > gstreamer-0.10`"/gst/gstconfig.h" > > grep >/dev/null "#undef GST_DISABLE_XML" $GST_CONFIGPATH > if test $? = 0; then > GST_DISABLE_XML=0 > else > GST_DISABLE_XML=1 > fi > > It should search the gstreamer-0.10.32/gst/gstconfig.h to find > whether have "#undef GST_DISABLE_XML". And look at the > gstreamer-0.10.32/gst/gstconfig.h: > ========================================================================= > /** > * GST_DISABLE_XML: > * > * Configures the use libxml2. This setting is derived from the settings of > * %GST_DISABLE_LOADSAVE and %GST_DISABLE_REGISTRY (in the xml registry case). > */ > /* #undef GST_DISABLE_XML */ > > Code is there. So it means that GST_DISABLE_XML should be 0, not 1. > Unless, the gstconfig.h is not found. This is what I suspected. > > Then I configure gst-plugins-base-0.10.32 again and found: > ======================================================== > grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory > grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory > grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory > grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory > grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory > grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory > grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory > grep: /usr/include/gstreamer-0.10/gst/gstconfig.h: No such file or directory > > > On Wed, Aug 17, 2011 at 10:11 AM, bcxa sz <[hidden email]> wrote: >> Hi Tim, >> >> On Tue, Aug 16, 2011 at 6:41 PM, Tim-Philipp Müller <[hidden email]> wrote: >>> On Tue, 2011-08-16 at 18:35 +0800, bcxa sz wrote: >>> >>>> And in gstconfig.h, I didn't see these flags are set and all is >>>> commented like below. >>>> ==================================================================== >>>> /* trick gtk-doc into believing these symbols are defined (yes, it's ugly) */ >>>> #if 0 >>>> #define GST_DISABLE_GST_DEBUG 1 >>>> #define GST_DISABLE_LOADSAVE 1 >>>> #define GST_DISABLE_PARSE 1 >>>> #define GST_DISABLE_TRACE 1 >>>> #define GST_DISABLE_ALLOC_TRACE 1 >>>> #define GST_DISABLE_REGISTRY 1 >>>> #define GST_DISABLE_PLUGIN 1 >>>> #define GST_DISABLE_XML 1 >>>> #define GST_DISABLE_LOADSAVE_REGISTRY 1 >>>> #define GST_HAVE_GLIB_2_8 1 >>>> #endif >>> >>> Checked further down? there should be something like: >>> >>> /** >>> * GST_DISABLE_XML: >>> * >>> * Configures the use libxml2. This setting is derived from the settings >>> of >>> * %GST_DISABLE_LOADSAVE and %GST_DISABLE_REGISTRY (in the xml registry >>> case). >>> */ >>> /* #undef GST_DISABLE_XML */ >>> >> >> Yes, I saw this piece of code and it is commented. And after this, >> >> /***** Deal with XML stuff, we have to handle both loadsave and registry *****/ >> /* FIXME: move include to where we need it */ >> /*#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )*/ >> #ifndef GST_DISABLE_XML >> #ifndef GST_DISABLE_DEPRECATED >> # include <libxml/parser.h> >> #endif >> #else >> /* FIXME: 0.11 (replace by GST_DISABLE_XML) */ >> # define GST_DISABLE_LOADSAVE_REGISTRY >> #endif >> >> But I still can not see where GST_DISABLE_XML defined. >> >> And I have one question on how GST_DISABLE_XML is set, check which condition. >> >> I looked at the gstreamer on Fedor14. Fedora14 is also use libxml2 but >> why GST_DISABLE_XML = 0? >> >> My embedded system is also use libxml2 but GST_DISABLE_XML = 1. >> >> Sorry, I am not familiar with gstreamer auto configure. And any >> document on this? >>> >>> -Tim >>> >>> >>> _______________________________________________ >>> gstreamer-devel mailing list >>> [hidden email] >>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel >>> >> > gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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@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 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Wed, Aug 17, 2011 at 4:57 PM, Tim-Philipp Müller <[hidden email]> 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@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 > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |