[webkit-dev] Gstreamer libraries not linking?

Philippe Normand philn at igalia.com
Tue Jan 31 13:26:40 PST 2012


> 
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_app_src_push_buffer'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_app_src_get_type'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_missing_element_message_new'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_video_parse_caps_pixel_aspect_ratio'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_app_src_set_stream_type'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_app_src_set_emit_signals'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_video_sink_get_type'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_video_format_parse_caps'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_app_src_end_of_stream'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_app_src_set_caps'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_app_src_set_max_bytes'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_app_src_set_callbacks'
> ./.libs/libwebkitgtk-1.0.so: undefined reference to
> `gst_app_src_set_size'
> collect2: ld returned 1 exit status
> make[1]: *** [Programs/GtkLauncher] Error 1
> make[1]: Leaving directory
> `/home/akg2136/JSH/WebKit-HashTab/WebKitBuild/Release'
> make: *** [all] Error 2
> 
> 

> 
> Looking these libraries up, I found that they are located in
> libgstinterfaces, but I can't seem to get the -l command into the
> build. My env is: 
> 
> 
> GSTREAMER_LIBS=-pthread -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0
> -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0
>  -lgstinterfaces-0.10

> Am I missing something?
> 

Looks like something is wrong with your gstreamer installation.
You miss -lgstapp-0.10 -lgstpbutils-0.10 -lgstvideo-0.10 at least.

./configure checks for the following packages:

   PKG_CHECK_MODULES([GSTREAMER],
                     [gstreamer-$GST_API_VERSION >=
$GSTREAMER_REQUIRED_VERSION
                     gstreamer-app-$GST_API_VERSION
                     gstreamer-audio-$GST_API_VERSION
                     gstreamer-base-$GST_API_VERSION
                     gstreamer-interfaces-$GST_API_VERSION
                     gstreamer-pbutils-$GST_API_VERSION
                     gstreamer-plugins-base-$GST_API_VERSION >=
$GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION
                     gstreamer-video-$GST_API_VERSION],
                     [have_gstreamer=yes])

Philippe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120131/9331785c/attachment.bin>


More information about the webkit-dev mailing list