[webkit-help] Webkit-r52686 bulid error (Umesh Singh)
haithem rahmani
haithem.rahmani at gmail.com
Sun Jan 24 23:05:34 PST 2010
>
> Hello All,
> I am trying to build Webkit-r52686 , but i am getting error :
>
> /root/GTK_INSTALL/lib/libgthread-2.0.so -lpthread -lrt
> /root/GTK_INSTALL/lib/libglib-2.0.so -Wl,--rpath
> -Wl,/root/Desktop/WebKit-r52686/.libs -Wl,--rpath -Wl,/root/GTK_INSTALL/lib
> -Wl,--rpath -Wl,/root/GTK_INSTALL/lib
> /usr/bin/ld: skipping incompatible /root/GTK_INSTALL/lib/libjpeg.so when
> searching for -ljpeg
> ./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_new'
> ./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_resize'
> ./.libs/libwebkit-1.0.so: undefined reference to
> `XtDisplayToApplicationContext'
> ./.libs/libwebkit-1.0.so: undefined reference to
> `gdk_x11_window_get_drawable_impl'
> ./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_set_position'
> ./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_get_type'
> collect2: ld returned 1 exit status
> make[1]: *** [Programs/GtkLauncher] Error 1
> make[1]: Leaving directory `/root/Desktop/WebKit-r52686'
> make: *** [install] Error 2
>
you are tying to cross-compile WebKit aren't you ?
if yes then you have to check your PKG_CONFIG_PATH envirement
varible and set it to point to your target "pkgconfig" directory
which contains the correct "*.pc" files.
also don't forget to set correctly the "pkg-config" to point to your
target "pkg-config" not to the host one.
if you are not cross-compiling webkit, than why the libs are under "/root"
why not using the "usr/lib" ones?
regards.
--
Say: He is God, the One and Only;
God, the Eternal, Absolute;
He begetteth not, nor is He begotten;
And there is none like unto Him.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100125/1a1ccd66/attachment.html>
More information about the webkit-help
mailing list