[webkit-help] Webkit-r52686 bulid error (Umesh Singh)
haithem rahmani
haithem.rahmani at gmail.com
Mon Jan 25 03:05:08 PST 2010
could you check that
you have a library called libgtk+-directfb-2.0
and that
pkg-config --libs gtk+-directfb-2.0
does not return any reference to X11.
On Mon, Jan 25, 2010 at 9:42 AM, Umesh Singh <sumeshfirst at gmail.com> wrote:
> 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.
>
> ------
> I am trying to build it for directfb , i have created a folder GTK_INSTALL
> in root and have installed all the packages needed to build Webkit in this
> folder and in the script to build i have given the PKG_CONFIG_PATH , my .sh
> looks like this :
>
> export LD_LIBRARY_PATH="/root/GTK_INSTALL/lib" \
> export PKG_CONFIG_PATH="/root/GTK_INSTALL/lib/pkgconfig"
> ./configure --enable-debug --enable-svg=yes --enable-svg-animation=yes
> --enable-svg-fonts=yes --enable-svg-as-image=no --enable-svg-use-element=no
> --enable-database=yes --enable-cross-document-messaging=no
> --enable-cross-document-messaging=no --enable-xpath=yes --enable-webgl=yes
> --enable-xslt=no --enable-shared --enable-static --prefix=/root/GTK_INSTALL
> --with-target=directfb --disable-icon-database
> --enable-offline-web-applications=yes --enable-dom-storage=yes
>
> Any further help is appreciated as i am stuck with this problem
>
> Regards,
> Umesh
>
> On Mon, Jan 25, 2010 at 12:35 PM, haithem rahmani <
> haithem.rahmani at gmail.com> wrote:
>
>> 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.
>>
>> _______________________________________________
>> webkit-help mailing list
>> webkit-help at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>>
>>
>
--
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/0a37fa53/attachment.html>
More information about the webkit-help
mailing list