[webkit-dev] Gstreamer libraries not linking?
Alexander Golec
alexgolecmailinglists at gmail.com
Tue Jan 31 13:05:03 PST 2012
Hey all, I'm trying to compile webkit as follows:
./Tools/Scripts/build-webkit --gtk --with-gtk=2.0 --enable-webkit2=falsemake all-am
Which yields:
make[1]: Entering directory `/home/akg2136/JSH/WebKit-HashTab/WebKitBuild/Release'
test ! -f ./Source/WebKit/gtk/po/webkit-2.0.pot || \
test -z "Source/WebKit/gtk/po/ar.mo Source/WebKit/gtk/po/bg.mo Source/WebKit/gtk/po/cs.mo Source/WebKit/gtk/po/de.mo Source/WebKit/gtk/po/el.mo Source/WebKit/gtk/po/en_CA.mo Source/WebKit/gtk/po/en_GB.mo Source/WebKit/gtk/po/es.mo Source/WebKit/gtk/po/et.mo Source/WebKit/gtk/po/eu.mo Source/WebKit/gtk/po/fr.mo Source/WebKit/gtk/po/gl.mo Source/WebKit/gtk/po/gu.mo Source/WebKit/gtk/po/he.mo Source/WebKit/gtk/po/hu.mo Source/WebKit/gtk/po/id.mo Source/WebKit/gtk/po/it.mo Source/WebKit/gtk/po/ko.mo Source/WebKit/gtk/po/lt.mo Source/WebKit/gtk/po/lv.mo Source/WebKit/gtk/po/nb.mo Source/WebKit/gtk/po/nl.mo Source/WebKit/gtk/po/pa.mo Source/WebKit/gtk/po/pl.mo Source/WebKit/gtk/po/pt_BR.mo Source/WebKit/gtk/po/pt.mo Source/WebKit/gtk/po/ru.mo Source/WebKit/gtk/po/sl.mo Source/WebKit/gtk/po/sr at latin.mo Source/WebKit/gtk/po/sr.mo Source/WebKit/gtk/po/sv.mo Source/WebKit/gtk/po/uk.mo Source/WebKit/gtk/po/vi.mo Source/WebKit/gtk/po/zh_CN.mo" || make Source/WebKit/gtk/po/ar.mo Source/WebKit/gtk/po/bg.mo Source/WebKit/gtk/po/cs.mo Source/WebKit/gtk/po/de.mo Source/WebKit/gtk/po/el.mo Source/WebKit/gtk/po/en_CA.mo Source/WebKit/gtk/po/en_GB.mo Source/WebKit/gtk/po/es.mo Source/WebKit/gtk/po/et.mo Source/WebKit/gtk/po/eu.mo Source/WebKit/gtk/po/fr.mo Source/WebKit/gtk/po/gl.mo Source/WebKit/gtk/po/gu.mo Source/WebKit/gtk/po/he.mo Source/WebKit/gtk/po/hu.mo Source/WebKit/gtk/po/id.mo Source/WebKit/gtk/po/it.mo Source/WebKit/gtk/po/ko.mo Source/WebKit/gtk/po/lt.mo Source/WebKit/gtk/po/lv.mo Source/WebKit/gtk/po/nb.mo Source/WebKit/gtk/po/nl.mo Source/WebKit/gtk/po/pa.mo Source/WebKit/gtk/po/pl.mo Source/WebKit/gtk/po/pt_BR.mo Source/WebKit/gtk/po/pt.mo Source/WebKit/gtk/po/ru.mo Source/WebKit/gtk/po/sl.mo Source/WebKit/gtk/po/sr at latin.mo Source/WebKit/gtk/po/sr.mo Source/WebKit/gtk/po/sv.mo Source/WebKit/gtk/po/uk.mo Source/WebKit/gtk/po/vi.mo Source/WebKit/gtk/po/zh_CN.mo
/bin/mkdir -p ./.deps/DerivedSources
CCLD Programs/GtkLauncher
./.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
Failed to build WebKit using 'make'!
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
TERM=xterm-256color
SHELL=/bin/bash
XDG_SESSION_COOKIE=edf14187a769d59dd0d247214e7d1809-1328040392.161320-1039322001
SSH_CLIENT=####
GSTREAMER_CFLAGS=-pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
PIN_KIT=/usr/local/pin-2.10-43611-gcc.3.4.6-ia32_intel64-linux
OLDPWD=####
SSH_TTY=/dev/pts/0
USER=####
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
JSH_ROOT=####
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local
GTK_LIBS=-pthread -L/usr/local/cairo/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
PWD=####
LANG=en_US.UTF-8
SPEECHD_PORT=7562
SHLVL=1
HOME=####
GAIL_CFLAGS=-pthread -I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/local/cairo/include/cairo -I/usr/local/pixman/include/pixman-1
GAIL_LIBS=-pthread -L/usr/local/cairo/lib -lgailutil -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
LOGNAME=####
SSH_CONNECTION=####
LESSOPEN=| /usr/bin/lesspipe %s
DISPLAY=localhost:10.0
GTK_API_VERSION=2.0
LESSCLOSE=/usr/bin/lesspipe %s %s
GTK_CFLAGS=-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/local/cairo/include/cairo -I/usr/local/pixman/include/pixman-1
_=/usr/bin/env
Am I missing something?
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120131/4ae508bf/attachment.html>
More information about the webkit-dev
mailing list