[webkit-dev] Compile Web-kit error because of libwebkit-1.0.so

thangdd thangdd at tsdv.com.vn
Thu Feb 11 14:14:54 PST 2010


Hi, everybody!
I am new in webkit-dev. I 've been downloaded source code of 
WebKit-r54277. And compiling it:

$ ./autogen.sh --with-target=directfb --prefix=/usr/
$ make
...
*When compiler comes here, it gets errors: *
./doltlibtool --tag=CC   --mode=link gcc -ansi -fno-strict-aliasing 
-Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat 
-Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute 
-Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses 
-fno-exceptions -fvisibility=hidden -D_REENTRANT -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr//include/cairo 
-I/usr///include/directfb -I/usr/include/freetype2 -I/usr//include 
-I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 
-I/usr//include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -I/usr/include/libsoup-2.4 
-I/usr/include/libxml2 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -O2 -no-fast-install -no-install  -o 
Programs/GtkLauncher WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o 
libwebkit-1.0.la -L/usr//lib -lgtk-directfb-2.0 -lgdk-directfb-2.0 
-latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo 
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -pthread -lgobject-2.0 
-lgthread-2.0 -lrt -lglib-2.0   
gcc -ansi -fno-strict-aliasing -Wall -W -Wcast-align -Wchar-subscripts 
-Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef 
-Wmissing-format-attribute -Wpointer-arith -Wwrite-strings 
-Wno-unused-parameter -Wno-parentheses -fno-exceptions 
-fvisibility=hidden -D_REENTRANT -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr//include/cairo 
-I/usr///include/directfb -I/usr/include/freetype2 -I/usr//include 
-I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 
-I/usr//include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/libsoup-2.4 
-I/usr/include/libxml2 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -O2 -o Programs/GtkLauncher 
WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o -pthread  
./.libs/libwebkit-1.0.so -L/usr//lib /usr/lib/libgtk-directfb-2.0.so 
/usr/lib/libgdk-directfb-2.0.so /usr/lib/libatk-1.0.so 
/usr/lib/libgdk_pixbuf-2.0.so /usr//lib/libpangocairo-1.0.so 
/usr//lib/libpango-1.0.so /usr//lib/libcairo.so 
/usr/lib/libgmodule-2.0.so /usr/lib/libgobject-2.0.so 
/usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so  -Wl,--rpath 
-Wl,/home/thangdd/DFB/WebKit-r54277/.libs -Wl,--rpath -Wl,/usr//lib 
-Wl,--rpath -Wl,/usr//lib
./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_new'
./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_set_position'
./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_resize'
./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_get_type'
collect2: ld returned 1 exit status

I have built libxt and xlib, gtk-directfb, gtk-x11 at all.
I search these errors in google, but there is any right answer.
Thanks for your helps.

*Best regards,*
*Thangdd.*


More information about the webkit-dev mailing list