[webkit-dev] Compiled libwebkit-1.0.a on win32 (with gtk+), but...

Marco Rocco mr85mr at gmail.com
Wed Aug 27 02:53:05 PDT 2008


I have compiled libwebkit-1.0.a on win32, but if i try to cross-compile
with mingw GtkLauncher for example linking against this libwebkit-1.0.a
i get this error:

$ i486-mingw32-gcc -g -o webkit_testing.exe webkit_testing.c
-mms-bitfields -Idevel/include/webkit-1.0 -Idevel/include/gtk-2.0
-Idevel/lib/gtk-2.0/include -Idevel/include/atk-1.0
-Idevel/include/cairo -Idevel/include/pango-1.0 -Idevel/include/glib-2.0
-Idevel/lib/glib-2.0/include -Idevel/include/freetype2
-Idevel/include/libpng12 -Idevel/include/pixman-1 -Ldevel/lib
-lwebkit-1.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0


/tmp/cc3gxvuT.o: In function `activate_uri_entry_cb':
/home/marco/Desktop/cross-compiling_my_webkit_app/webkit_testing.c:21:
undefined reference to `__imp__webkit_web_view_open'
/tmp/cc3gxvuT.o: In function `load_commit_cb':
/home/marco/Desktop/cross-compiling_my_webkit_app/webkit_testing.c:64:
undefined reference to `__imp__webkit_web_frame_get_uri'
/tmp/cc3gxvuT.o: In function `go_back_cb':
/home/marco/Desktop/cross-compiling_my_webkit_app/webkit_testing.c:78:
undefined reference to `__imp__webkit_web_view_go_back'
/tmp/cc3gxvuT.o: In function `go_forward_cb':
/home/marco/Desktop/cross-compiling_my_webkit_app/webkit_testing.c:84:
undefined reference to `__imp__webkit_web_view_go_forward'
/tmp/cc3gxvuT.o: In function `create_browser':
/home/marco/Desktop/cross-compiling_my_webkit_app/webkit_testing.c:93:
undefined reference to `__imp__webkit_web_view_get_type'
/home/marco/Desktop/cross-compiling_my_webkit_app/webkit_testing.c:93:
undefined reference to `__imp__webkit_web_view_new'
/tmp/cc3gxvuT.o: In function `print_cb':
/home/marco/Desktop/cross-compiling_my_webkit_app/webkit_testing.c:117:
undefined reference to `__imp__webkit_web_view_get_type'
/home/marco/Desktop/cross-compiling_my_webkit_app/webkit_testing.c:117:
undefined reference to `__imp__webkit_web_view_execute_script'
/tmp/cc3gxvuT.o: In function `main':
/home/marco/Desktop/cross-compiling_my_webkit_app/webkit_testing.c:187:
undefined reference to `__imp__webkit_web_view_open'
collect2: ld returned 1 exit status

You know this errors ?


It's possible to fix this errors ?

Thanks anyway

Marco Rocco





More information about the webkit-dev mailing list