[gst-devel] GStreamer on Win, Was: ARG!

Gorshkov listsubscriptions at oghma.on.ca
Mon Oct 30 19:40:08 CET 2006


Joni Valtanen wrote:

>
> I have compiled GStreamer 0.10 CVS version about three weeks ago with 
> both native mingw/msys environment in Windows and cross-compiler with 
> Linux ( have to tell what plugins to use or try to use ).
>
> I used precompiled GLib(v2.10) and its dependencies. Compiled myself 
> libxml2 and liboil.
>
> If CVS version is used it have to remove all -Werror:s after autogen 
> from configure. Releases does not use -Werror:s. There might be some 
> easier way to do this.
>
> Also disable gst debugging at least with "./configure 
> --disable-gst-debug". GST_DEBUG is broken with GStreamer and mingw.
>
>> Hi, please use more descriptive subject in the mailing list. We have 
>> spend some time compiling GStreamer using mingw in ITonis (formerly 
>> Xeris). We have documented what we could at 
>> http://gstreamer.xeris.cz/ We have also a ready-to-use environment 
>> http://gstreamer.xeris.cz/winport/root.zip with all the 
>> prerequisities installed (though you might need newer versions 
>> nowadays).
>
>
> http://gstreamer.xeris.cz was my starting point to compiling gstreamer 
> with mingw. Thanks guys.
>
>> We were able to compile and run all basic plugins and directX sinks but
>> the beast was unstable and kept crashing somewhere inside Microsoft
>> libraries.
>
>
> All basic plugins works great. And even ffmeg-plugins work quite well. 
> It depends how ffmpeg had compiled. Motion detections didn't work. Now 
> udp sources/sinks should work also. I had to hack ffmpeg to do this.
>
> gst-plugins-bad have directx-plugins without Makefile.am/configure.ac 
> support. bugzillas bug 344129 covers directsoundsrc and I put there 
> some patchs to create Makefiles
> http://bugzilla.gnome.org/show_bug.cgi?id=344129
>
> To windows there is two ways to tell how to find gst-plugins. First is 
> environment variable GST_PLUGIN_PATH (system, msys, dos-prompt or 
> similar) and second is to tell to gst_init() where are they.
>
>> Unfortunately, we do not work on this anymore, but I would still be
>> interested to know if it is possible to compile GStreamer using mingw.
>>
>>     Best regards,
>>
>>         Michal
>
>
> I try to write some guide to compiling gstreamer with mingw. And then 
> informing here where to find it.
>
>
> - Joni
>
>

OK - I'm sorry, guys - I *know* better than to post such an 
uninformative piece of dribble like that - I guess we all have our 
moments :-)


Initially, before I posted the "Argh!", I was using a copy of 
mingw/msys/GTK that I had installed and had been using as a development 
environment for about a year and a half. I've since installed the latest 
versions of everything, from their respective websites.

I had to compile libxml2 and liboil myself, and install them.

Unfortunatly .......... I'm still getting the same error. It seems to 
occur in the dll generation phase, when it's trying to build a list of 
exported symbols. I don't know if gstreamer does things different from 
other packages, but I have a few of them here (iconv, gettext, etc) that 
also generate shared libraries/dlls, and they don't seem to trigger the 
same problem, so I don't know that there's anything seriously wrong with 
my setup.

configureation is pretty simple and basic ......... as per another 
poster here, I configured with

./configure --prefix=/usr --disable-gst-debug  --disable-valgrind

compilation was a simple make.

the error was as follows:
I've tried editing libtool to remove the "| |", which gives me *other* 
errors - it still fails in the same statement. In any case, I think 
editing that statement is half-assed - based on what I've seen in OTHER 
packages that also build and link against dll files, I don't think it 
should be invoked at all.

I've included both the complete configure & compile output as attachments.


/bin/sh ../libtool --mode=link gcc  -g -O2   -o libgstreamer-0.10.la 
-rpath /usr/lib -export-symbols-regex _*\(gst_\|Gst\|GST_\).* 
-no-undefined -version-info 9:0:9 libgstreamer_0.10_la-gst.lo 
libgstreamer_0.10_la-gstobject.lo libgstreamer_0.10_la-gstbin.lo 
libgstreamer_0.10_la-gstbuffer.lo libgstreamer_0.10_la-gstbus.lo 
libgstreamer_0.10_la-gstcaps.lo libgstreamer_0.10_la-gstchildproxy.lo 
libgstreamer_0.10_la-gstclock.lo libgstreamer_0.10_la-gstelement.lo 
libgstreamer_0.10_la-gstelementfactory.lo 
libgstreamer_0.10_la-gsterror.lo libgstreamer_0.10_la-gstevent.lo 
libgstreamer_0.10_la-gstfilter.lo libgstreamer_0.10_la-gstformat.lo 
libgstreamer_0.10_la-gstghostpad.lo libgstreamer_0.10_la-gstindex.lo 
libgstreamer_0.10_la-gstindexfactory.lo libgstreamer_0.10_la-gstinfo.lo 
libgstreamer_0.10_la-gstinterface.lo libgstreamer_0.10_la-gstiterator.lo 
libgstreamer_0.10_la-gstmessage.lo libgstreamer_0.10_la-gstminiobject.lo 
libgstreamer_0.10_la-gstpad.lo libgstreamer_0.10_la-gstpadtemplate.lo 
libgstreamer_0.10_la-gstpipeline.lo libgstreamer_0.10_la-gstplugin.lo 
libgstreamer_0.10_la-gstpluginfeature.lo 
libgstreamer_0.10_la-gstquark.lo libgstreamer_0.10_la-gstquery.lo 
libgstreamer_0.10_la-gstregistry.lo libgstreamer_0.10_la-gstsegment.lo 
libgstreamer_0.10_la-gststructure.lo 
libgstreamer_0.10_la-gstsystemclock.lo 
libgstreamer_0.10_la-gsttaglist.lo libgstreamer_0.10_la-gsttagsetter.lo 
libgstreamer_0.10_la-gsttask.lo libgstreamer_0.10_la-gsttrace.lo 
libgstreamer_0.10_la-gsttypefind.lo 
libgstreamer_0.10_la-gsttypefindfactory.lo 
libgstreamer_0.10_la-gsturi.lo libgstreamer_0.10_la-gstutils.lo 
libgstreamer_0.10_la-gstvalue.lo libgstreamer_0.10_la-gstparse.lo 
libgstreamer_0.10_la-gstregistryxml.lo libgstreamer_0.10_la-gstxml.lo 
libgstreamer_0.10_la-gstenumtypes.lo libgstreamer_0.10_la-gstmarshal.lo 
parse/libgstparse.la  -L/GTK/lib -lgobject-2.0 -lgthread-2.0 
-lgmodule-2.0 -lglib-2.0 -lintl -liconv     -lxml2 -lz -liconv  
generating symbol list for `libgstreamer-0.10.la'
/MinGW/bin/nm  .libs/libgstreamer_0.10_la-gst.o 
.libs/libgstreamer_0.10_la-gstobject.o 
.libs/libgstreamer_0.10_la-gstbin.o 
.libs/libgstreamer_0.10_la-gstbuffer.o 
.libs/libgstreamer_0.10_la-gstbus.o .libs/libgstreamer_0.10_la-gstcaps.o 
.libs/libgstreamer_0.10_la-gstchildproxy.o 
.libs/libgstreamer_0.10_la-gstclock.o 
.libs/libgstreamer_0.10_la-gstelement.o 
.libs/libgstreamer_0.10_la-gstelementfactory.o 
.libs/libgstreamer_0.10_la-gsterror.o 
.libs/libgstreamer_0.10_la-gstevent.o 
.libs/libgstreamer_0.10_la-gstfilter.o 
.libs/libgstreamer_0.10_la-gstformat.o 
.libs/libgstreamer_0.10_la-gstghostpad.o 
.libs/libgstreamer_0.10_la-gstindex.o 
.libs/libgstreamer_0.10_la-gstindexfactory.o 
.libs/libgstreamer_0.10_la-gstinfo.o 
.libs/libgstreamer_0.10_la-gstinterface.o 
.libs/libgstreamer_0.10_la-gstiterator.o 
.libs/libgstreamer_0.10_la-gstmessage.o 
.libs/libgstreamer_0.10_la-gstminiobject.o 
.libs/libgstreamer_0.10_la-gstpad.o 
.libs/libgstreamer_0.10_la-gstpadtemplate.o 
.libs/libgstreamer_0.10_la-gstpipeline.o 
.libs/libgstreamer_0.10_la-gstplugin.o 
.libs/libgstreamer_0.10_la-gstpluginfeature.o 
.libs/libgstreamer_0.10_la-gstquark.o 
.libs/libgstreamer_0.10_la-gstquery.o 
.libs/libgstreamer_0.10_la-gstregistry.o 
.libs/libgstreamer_0.10_la-gstsegment.o 
.libs/libgstreamer_0.10_la-gststructure.o 
.libs/libgstreamer_0.10_la-gstsystemclock.o 
.libs/libgstreamer_0.10_la-gsttaglist.o 
.libs/libgstreamer_0.10_la-gsttagsetter.o 
.libs/libgstreamer_0.10_la-gsttask.o 
.libs/libgstreamer_0.10_la-gsttrace.o 
.libs/libgstreamer_0.10_la-gsttypefind.o 
.libs/libgstreamer_0.10_la-gsttypefindfactory.o 
.libs/libgstreamer_0.10_la-gsturi.o 
.libs/libgstreamer_0.10_la-gstutils.o 
.libs/libgstreamer_0.10_la-gstvalue.o 
.libs/libgstreamer_0.10_la-gstparse.o 
.libs/libgstreamer_0.10_la-gstregistryxml.o 
.libs/libgstreamer_0.10_la-gstxml.o 
.libs/libgstreamer_0.10_la-gstenumtypes.o 
.libs/libgstreamer_0.10_la-gstmarshal.o  parse/.libs/libgstparse.a |  | 
/bin/sed -e '/^[BCDGS] /s/. /s/.. \([^ ]*\)/\1 DATA/' | /bin/sed -e 
'/^[AITW] /s/. /s/.. //' | sort | uniq > .libs/libgstreamer-0.10.exp
../libtool: eval: line 1: syntax error near unexpected token `|'
../libtool: eval: line 1: `/MinGW/bin/nm  
.libs/libgstreamer_0.10_la-gst.o .libs/libgstreamer_0.10_la-gstobject.o 
.libs/libgstreamer_0.10_la-gstbin.o 
.libs/libgstreamer_0.10_la-gstbuffer.o 
.libs/libgstreamer_0.10_la-gstbus.o .libs/libgstreamer_0.10_la-gstcaps.o 
.libs/libgstreamer_0.10_la-gstchildproxy.o 
.libs/libgstreamer_0.10_la-gstclock.o 
.libs/libgstreamer_0.10_la-gstelement.o 
.libs/libgstreamer_0.10_la-gstelementfactory.o 
.libs/libgstreamer_0.10_la-gsterror.o 
.libs/libgstreamer_0.10_la-gstevent.o 
.libs/libgstreamer_0.10_la-gstfilter.o 
.libs/libgstreamer_0.10_la-gstformat.o 
.libs/libgstreamer_0.10_la-gstghostpad.o 
.libs/libgstreamer_0.10_la-gstindex.o 
.libs/libgstreamer_0.10_la-gstindexfactory.o 
.libs/libgstreamer_0.10_la-gstinfo.o 
.libs/libgstreamer_0.10_la-gstinterface.o 
.libs/libgstreamer_0.10_la-gstiterator.o 
.libs/libgstreamer_0.10_la-gstmessage.o 
.libs/libgstreamer_0.10_la-gstminiobject.o 
.libs/libgstreamer_0.10_la-gstpad.o 
.libs/libgstreamer_0.10_la-gstpadtemplate.o 
.libs/libgstreamer_0.10_la-gstpipeline.o 
.libs/libgstreamer_0.10_la-gstplugin.o 
.libs/libgstreamer_0.10_la-gstpluginfeature.o 
.libs/libgstreamer_0.10_la-gstquark.o 
.libs/libgstreamer_0.10_la-gstquery.o 
.libs/libgstreamer_0.10_la-gstregistry.o 
.libs/libgstreamer_0.10_la-gstsegment.o 
.libs/libgstreamer_0.10_la-gststructure.o 
.libs/libgstreamer_0.10_la-gstsystemclock.o 
.libs/libgstreamer_0.10_la-gsttaglist.o 
.libs/libgstreamer_0.10_la-gsttagsetter.o 
.libs/libgstreamer_0.10_la-gsttask.o 
.libs/libgstreamer_0.10_la-gsttrace.o 
.libs/libgstreamer_0.10_la-gsttypefind.o 
.libs/libgstreamer_0.10_la-gsttypefindfactory.o 
.libs/libgstreamer_0.10_la-gsturi.o 
.libs/libgstreamer_0.10_la-gstutils.o 
.libs/libgstreamer_0.10_la-gstvalue.o 
.libs/libgstreamer_0.10_la-gstparse.o 
.libs/libgstreamer_0.10_la-gstregistryxml.o 
.libs/libgstreamer_0.10_la-gstxml.o 
.libs/libgstreamer_0.10_la-gstenumtypes.o 
.libs/libgstreamer_0.10_la-gstmarshal.o  parse/.libs/libgstparse.a |  | 
/bin/sed -e '/^[BCDGS] /s/. /s/.. \([^ ]*\)/\1 DATA/' | /bin/sed -e 
'/^[AITW] /s/. /s/.. //' | sort | uniq > .libs/libgstreamer-0.10.exp'
make[4]: *** [libgstreamer-0.10.la] Error 1
make[4]: Leaving directory `/d/sources/gstreamer/000.gstreamer-0.10.10/gst'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/d/sources/gstreamer/000.gstreamer-0.10.10/gst'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/d/sources/gstreamer/000.gstreamer-0.10.10/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/sources/gstreamer/000.gstreamer-0.10.10'
make: *** [all] Error 2

Compilation exited abnormally with code 2 at Mon Oct 30 13:18:34




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compileoutput.txt
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061030/4e602241/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configoutput.txt
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061030/4e602241/attachment-0001.txt>


More information about the gstreamer-devel mailing list