Problem of "undefined symbol"
Sebastian Dröge
sebastian at centricular.com
Fri Mar 11 06:49:58 UTC 2016
On Do, 2016-03-10 at 01:17 -0800, little boy wrote:
> Hi,I am trying to write my own plugin,when I was installed my
> plugin,I find a problem:
>
> (gst-plugin-scanner:17505): GStreamer-WARNING **: Failed to load
> plugin
> '/usr/local/lib/gstreamer-1.0/libgstjpgsrc.so':
> /usr/local/lib/gstreamer-1.0/libgstjpgsrc.so: undefined symbol:
> gst_jpgsrc_smpte
This is a linking problem on your side. For whatever reason something
in your code uses a symbol "gst_jpgsrc_smpte" but it's not available in
the plugin. That's something you have to fix on your side.
> undefined symbol: gst_video_frame_map
> (/usr/local/lib/gstreamer-1.0/libgstjpgsrc.so)
> undefined symbol: gst_video_chroma_resample_get_info
> (/usr/local/lib/gstreamer-1.0/libgstjpgsrc.so)
> undefined symbol: gst_video_colorimetry_from_string
> (/usr/local/lib/gstreamer-1.0/libgstjpgsrc.so)
> undefined symbol: gst_video_frame_unmap
> (/usr/local/lib/gstreamer-1.0/libgstjpgsrc.so)
> undefined symbol: gst_video_format_get_info
> (/usr/local/lib/gstreamer-1.0/libgstjpgsrc.so)
> undefined symbol: gst_video_chroma_resample_new
> (/usr/local/lib/gstreamer-1.0/libgstjpgsrc.so)
> undefined symbol: gst_video_chroma_resample_free
> (/usr/local/lib/gstreamer-1.0/libgstjpgsrc.so)
> undefined symbol: gst_video_info_from_caps
> (/usr/local/lib/gstreamer-1.0/libgstjpgsrc.so)
> undefined symbol: gst_video_format_get_palette
> (/usr/local/lib/gstreamer-1.0/libgstjpgsrc.so)
> undefined symbol: gst_video_info_init
> (/usr/local/lib/gstreamer-1.0/libgstjpgsrc.so)
For all these, you're not linking your plugin to libgstvideo-1.0.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160311/e7bb3d99/attachment.sig>
More information about the gstreamer-devel
mailing list