[webkit-dev] WebKit and WebKit-Gtk compiled on win32 ! But error building GtkLauncher

Marco Rocco mr85mr at gmail.com
Mon Aug 25 13:27:32 PDT 2008


Hello i have compiled WebKit (and WebKit-gtk) on Windows XP under cygwin,
but compiling GtkLauncher i get the attached error...

I have seen in ./.libs/libwebkit-1.0.a that
'__imp__webkit_web_view_open' isn't declared, but is instead declared
'_webkit_web_view_open', why it haven't the __imp_ prefix ?
and why it is required ?

Thanks so much!

Marco Rocco


$ gcc -fno-strict-aliasing -O2 -D_REENTRANT -I/usr/include/glib-2.0
-I/usr/lib/
glib-2.0/include -mms-bitfields -I/target/include/gtk-2.0
-I/target/lib/gtk-2.0
/include -I/target/include/atk-1.0 -I/target/include/cairo
-I/target/include/pa
ngo-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/target/include/f
reetype2 -I/target/include -I/target/include/libxml2 -Wall -W
-Wcast-align -Wch
ar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k
-Wundef
-Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
-Wno-unused-paramete
r -Wno-parentheses -fno-exceptions -o Programs/GtkLauncher.exe
WebKitTools/GtkL
auncher/Programs_GtkLauncher-main.o  ./.libs/libwebkit-1.0.a -L/usr/lib
/usr/li
b/libgthread-2.0.dll.a -L/target/lib -lgtk-win32-2.0 -lgdk-win32-2.0
-limm32 -l
ole32 /usr/lib/libatk-1.0.dll.a /usr/lib/libgdk_pixbuf-2.0.dll.a
-lpangocairo-1
.0 /usr/lib/libpangoft2-1.0.dll.a /usr/lib/libpangowin32-1.0.dll.a
-lgdi32 /usr
/lib/libpango-1.0.dll.a /usr/lib/libgobject-2.0.dll.a
/usr/lib/libgmodule-2.0.d
ll.a /usr/lib/libglib-2.0.dll.a /usr/lib/libintl.dll.a
/usr/lib/libcairo.dll.a
-L/usr/X11R6/lib -lpng12 /usr/lib/libglitz.dll.a
/usr/lib/libfontconfig.dll.a /
usr/lib/libexpat.dll.a /usr/lib/libfreetype.dll.a /usr/lib/libcurl.dll.a
/usr/l
ib/libssh2.dll.a -lssl -lcrypto -licui18n -licuuc -licudata
/usr/lib/libsqlite3
.dll.a /usr/lib/libxslt.dll.a /usr/lib/libxml2.dll.a -lz
/usr/lib/libiconv.dll.
a /usr/lib/libjpeg.dll.a -lpthread

WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o:main.c:(.text+0x33):
undefin
ed reference to `__imp__webkit_web_view_open'
WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o:main.c:(.text+0x6c):
undefin
ed reference to `_g_assertion_message_expr'
WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o:main.c:(.text+0x1ce):
undefi
ned reference to `__imp__webkit_web_frame_get_uri'
WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o:main.c:(.text+0x21d):
undefi
ned reference to `__imp__webkit_web_view_go_back'
WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o:main.c:(.text+0x23d):
undefi
ned reference to `__imp__webkit_web_view_go_forward'
WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o:main.c:(.text+0x55d):
undefi
ned reference to `__imp__webkit_web_view_get_type'
WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o:main.c:(.text+0x565):
undefi
ned reference to `__imp__webkit_web_view_new'
WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o:main.c:(.text+0x825):
undefi
ned reference to `__imp__webkit_web_view_open'
collect2: ld returned 1 exit status

Marco at marco ~/WebKit
$


More information about the webkit-dev mailing list