Bug 57925

Summary: Linking error in WebKit GTK on Darwin.
Product: WebKit Reporter: devchan1
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: mrobinson, red47514f7
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
URL: N/A

devchan1
Reported 2011-04-05 23:29:09 PDT
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
Attachments
Martin Robinson
Comment 1 2011-04-07 16:59:44 PDT
What configure flags are you using for your compilation?
red47514f7
Comment 2 2011-04-13 01:29:16 PDT
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
Martin Robinson
Comment 3 2011-04-13 08:12:37 PDT
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.
Martin Robinson
Comment 4 2011-04-13 08:15:21 PDT
*** This bug has been marked as a duplicate of bug 58443 ***
Note You need to log in before you can comment on or make changes to this bug.