Bug 57925
| Summary: | Linking error in WebKit GTK on Darwin. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | devchan1 |
| Component: | WebKitGTK | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Martin Robinson
What configure flags are you using for your compilation?
red47514f7
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
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
*** This bug has been marked as a duplicate of bug 58443 ***