[webkit-dev] problem building webkit

Toby Peterson toby at opendarwin.org
Tue Jun 7 13:28:11 PDT 2005


On 07 Jun 2005, at 16.24, Christian Panas wrote:

> Ld "/Users/taki/Custom Builds/WebCore.framework/Versions/A/WebCore"  
> normal ppc
>     setenv MACOSX_DEPLOYMENT_TARGET 10.3
>     cd /Users/taki/WebCore
>     /usr/bin/g++-4.0 -o "/Users/taki/Custom Builds/ 
> WebCore.framework/Versions/A/WebCore" "-L/Users/taki/Custom Builds"  
> -L/Users/taki/Custom -LBuilds/WebCore.build/WebCore.build/ 
> DerivedSources "-F/Users/taki/Custom Builds" -F/System/Library/ 
> Frameworks/WebKit.framework/Frameworks -filelist "/Users/taki/ 
> Custom Builds/WebCore.build/WebCore.build/Objects-normal/ppc/ 
> WebCore.LinkFileList" -framework ApplicationServices -framework  
> Carbon -framework Cocoa -framework JavaScriptCore -licucore -lxslt - 
> arch ppc -Wl,-exported_symbols_list,WebCore.exp -Wl,-single_module - 
> dynamiclib -compatibility_version 1 -current_version 1 - 
> install_name /System/Library/Frameworks/WebKit.framework/Versions/A/ 
> Frameworks/WebCore.framework/Versions/A/WebCore -lxml2-WebCore
> /usr/bin/libtool: can't locate file for: -lxml2-WebCore
> /usr/bin/libtool: file: -lxml2-WebCore is not an object file (not  
> allowed in a library)
> ** BUILD FAILED **
>
>
> How do I get this -lxml2-WebCore file that it's looking for?

This error occurs because you've got a space in your build path. This  
should actually be fixed; run WebKitTools/Scripts/update-webkit and  
try again.

If it still doesn't work, rename your build directory.

- Toby



More information about the webkit-dev mailing list