Compiling gstreamer plugin?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling gstreamer plugin?

vijayp
Hi,
  I am writng mp3 decoder plugin,I have mp3decore library ("mp3lib.a" i dont have source code for the library) i have to call those decoder funcions from my plugin ,so i integarted those function calls in my plugin ,i can able to compile and register ,but while
 
gst-inspect mp3_dec
 
I am getting erros as below,

(gst-plugin-scanner:19241): GStreamer-WARNING **: Failed to load plugin /usr/local/gstreamer/lib/gstreamer-0.10/libgstmp3decoder.so': /usr/local/gstreamer/lib/gstreamer-0.10/libgstmp3decoder.so: undefined symbol: MP3Dec_GetInstanceSize
 
 
MP3Dec_GetInstanceSize is defined in the library(mp3lib.a)

I want to know how to link the library(mp3lib.a) with my decoder plugin.(how to give the path of my library)
 
Regards,
Vijay P

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling gstreamer plugin?

Kapil Agrawal
that error is since you arent linking, or if you linking the linker isnt able to locate your mp3lib.a

On Mon, Jul 18, 2011 at 2:43 PM, vijay <[hidden email]> wrote:
Hi,
  I am writng mp3 decoder plugin,I have mp3decore library ("mp3lib.a" i dont have source code for the library) i have to call those decoder funcions from my plugin ,so i integarted those function calls in my plugin ,i can able to compile and register ,but while
 
gst-inspect mp3_dec
 
I am getting erros as below,

(gst-plugin-scanner:19241): GStreamer-WARNING **: Failed to load plugin /usr/local/gstreamer/lib/gstreamer-0.10/libgstmp3decoder.so': /usr/local/gstreamer/lib/gstreamer-0.10/libgstmp3decoder.so: undefined symbol: MP3Dec_GetInstanceSize
 
 
MP3Dec_GetInstanceSize is defined in the library(mp3lib.a)

I want to know how to link the library(mp3lib.a) with my decoder plugin.(how to give the path of my library)
 
Regards,
Vijay P

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling gstreamer plugin?

vijayp
Hi kapil,

           How can i link my decoder library with the plugin?
How to give the path of library?

Regards,
Vijay P
        

On Tue, Jul 19, 2011 at 2:01 PM, Kapil Agrawal <[hidden email]> wrote:
that error is since you arent linking, or if you linking the linker isnt able to locate your mp3lib.a

On Mon, Jul 18, 2011 at 2:43 PM, vijay <[hidden email]> wrote:
Hi,
  I am writng mp3 decoder plugin,I have mp3decore library ("mp3lib.a" i dont have source code for the library) i have to call those decoder funcions from my plugin ,so i integarted those function calls in my plugin ,i can able to compile and register ,but while
 
gst-inspect mp3_dec
 
I am getting erros as below,

(gst-plugin-scanner:19241): GStreamer-WARNING **: Failed to load plugin /usr/local/gstreamer/lib/gstreamer-0.10/libgstmp3decoder.so': /usr/local/gstreamer/lib/gstreamer-0.10/libgstmp3decoder.so: undefined symbol: MP3Dec_GetInstanceSize
 
 
MP3Dec_GetInstanceSize is defined in the library(mp3lib.a)

I want to know how to link the library(mp3lib.a) with my decoder plugin.(how to give the path of my library)
 
Regards,
Vijay P

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal

_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Compiling gstreamer plugin?

Stefan Sauer
On 07/19/11 17:39, vijay wrote:
> Hi kapil,
>
>            How can i link my decoder library with the plugin?
> How to give the path of library?

this has nothing to do with gstreamer. You need to leave how to use your
build toolchain.

Stefan

>
> Regards,
> Vijay P
>        
>
> On Tue, Jul 19, 2011 at 2:01 PM, Kapil Agrawal <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     that error is since you arent linking, or if you linking the
>     linker isnt able to locate your mp3lib.a
>
>     On Mon, Jul 18, 2011 at 2:43 PM, vijay <[hidden email]
>     <mailto:[hidden email]>> wrote:
>
>         Hi,
>           I am writng mp3 decoder plugin,I have mp3decore library
>         ("mp3lib.a" i dont have source code for the library) i have to
>         call those decoder funcions from my plugin ,so i integarted
>         those function calls in my plugin ,i can able to compile and
>         register ,but while
>          
>         gst-inspect mp3_dec
>          
>         I am getting erros as below,
>
>         (gst-plugin-scanner:19241): GStreamer-WARNING **: Failed to
>         load plugin
>         /usr/local/gstreamer/lib/gstreamer-0.10/libgstmp3decoder.so':
>         /usr/local/gstreamer/lib/gstreamer-0.10/libgstmp3decoder.so:
>         undefined symbol: MP3Dec_GetInstanceSize
>          
>          
>         MP3Dec_GetInstanceSize is defined in the library(mp3lib.a)
>
>         I want to know how to link the library(mp3lib.a) with my
>         decoder plugin.(how to give the path of my library)
>          
>         Regards,
>         Vijay P
>
>         _______________________________________________
>         gstreamer-devel mailing list
>         [hidden email]
>         <mailto:[hidden email]>
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
>
>     --
>     www.mediamagictechnologies.com
>     <http://www.mediamagictechnologies.com> (Gstreamer, ffmpeg, Red5,
>     Streaming)
>     twitter handle: @gst_kaps
>     http://www.linkedin.com/in/kapilagrawal
>
>     _______________________________________________
>     gstreamer-devel mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> 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