List Info

Thread: Please help--generate DLL of plugin




Please help--generate DLL of plugin
country flaguser name
India
2007-03-29 13:27:47
Hi,

I am trying to use the fluendo-mpegts-mux plugin.But when I make the source ,
it gives the static library.I am compiling under MSys/MinGw.When I make install the plugin,it copies the
gstflumpegmux.a to the ./gstreamer-0.10 directory but the gstreamer is not registering the plugin.

If I am not wrong, it seems gstreamer detects the .dll only (in windows).
Can you please help me convert the static to .dll. I have tried the a2dll,

a2dll gstflumpegmux.a -lglib-2.0 -lgmodule-2.0 -lgstreamer-0.10 -lgstbase-0.10

but it produces the error file having contents:

Info: resolving ___gst_debug_min by linking to __imp____gst_debug_min (auto-import)
libgstflump3dec_la-flump3dec.o: In function `flump3dec_get_type':
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:80: undefined reference to `g_type_register_static'
libgstflump3dec_la-flump3dec.o: In function `flump3dec_class_init':
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:95: undefined reference to `g_type_class_ref'
libgstflump3dec_la-flump3dec.o: In function `flump3dec_base_init':
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:113: undefined reference to `g_type_check_class_cast'
libgstflump3dec_la-flump3dec.o: In function `flump3dec_init':
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:131: undefined reference to `g_type_check_instance_cast'
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:139: undefined reference to `g_type_check_instance_cast'
libgstflump3dec_la-flump3dec.o: In function `flump3dec_dispose':
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:163: undefined reference to `g_type_check_instance_cast'
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:173: undefined reference to `g_type_check_class_cast'
libgstflump3dec_la-flump3dec.o: In function `flump3dec_drain_avail':
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:312: undefined reference to `g_type_check_instance_cast'
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:512: undefined reference to `g_type_check_instance_cast'
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:515: undefined reference to `g_type_check_instance_cast'
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:499: undefined reference to `g_type_check_instance_cast'
C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:375: undefined reference to `g_type_check_instance_cast'
libgstflump3dec_la-flump3dec.o:C:/msys/1.0/home/gst-fluendo-mp3-0.10.5/decoder/flump3dec.c:191: more undefined references to `g_type_check_instance_cast' follow
collect2: ld returned 1 exit status
C:msys1.0bindllwrap.exe: no export definition file provided.
Creating one, but that may not be what you want
C:msys1.0bindllwrap.exe: C:msys1.0bingcc exited with status 1

Can you please help.Thanks a lot

Anuj Mittal




Check out some new online services at Windows Live Ideas—so new they haven’t even been officially released yet. Try it!
Re: Please help--generate DLL of plugin
country flaguser name
Czech Republic
2007-03-30 01:54:05
Hi,

> I am trying to use the fluendo-mpegts-mux plugin.But
when I make the
> source, it gives the static library.

	it seems that the makefiles do not specify all library
dependencies
needed. Try to pass -no-undefined to libtool script when
compiling. It
is a good idea to always do this when compiling using
MinGW.
Alternatively find line allow_undefined=yes in libtool
script and change
it to allow_undefined=no

> If I am not wrong, it seems gstreamer detects the .dll
only (in
> windows).

	Yes this is correct. You need to explicitly link against
the missing
dependencies.

		Michal



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )