When building WebKit GTK from svn source revision 83015, the following linking error occurs near the end of the build. ld: duplicate symbol WebCore::MIMETypeRegistry::getMIMETypeForExtension(WTF::String const&) in ./.libs/libWebCore.a(libWebCore_la-MIMETypeRegistry.o) and Source/WebCore/platform/gtk/.libs/libwebkitgtk_1_0_la-MIMETypeRegistryGtk.o collect2: ld returned 1 exit status make[1]: *** [libwebkitgtk-1.0.la] Error 1 make: *** [all] Error 2
What configure flags are you using for your compilation?
r83689 ; Linux ; GTK build; 64-bit Configure flags: ./autogen.sh --prefix=\"$prefix\" --enable-3D-transforms --enable-web-sockets --enable-web-timing --enable-geolocation --enable-mathml --enable-wml --enable-xhtmlmp --enable-file-writer --enable-blob --enable-file-system --enable-directory-upload MIMETypeRegistry.cpp:(.text+0x240): multiple definition of `WebCore::MIMETypeRegistry::getMIMETypeForExtension(WTF::String const&)' Source/WebCore/platform/gtk/.libs/libwebkitgtk_1_0_la-MIMETypeRegistryGtk.o:MIMETypeRegistryGtk.cpp:(.text+0x0): first defined here
The file system API is not fully supported yet. If you wish to use it, I encourage you to submit patches getting it building and passing all the tests.
*** This bug has been marked as a duplicate of bug 58443 ***