I'm having trouble building webkit on my ppc mac running 10.5.8. After
downloading the tarball and running update-webkit, build-webkit fails to
compile three modules. It looks like the errors are caused by trying to
build objective-c sources with the c++ compiler.

I have XCode 3.1.4 installed. I don't know if this is relevant, but "gcc
-v" returns 4.0.1. Could there be a problem with my $PATH environment
variable?

PATH=/opt/subversion/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/local/git/bin:/opt/local/bin:/Users/kohler/Developer/WebKit/WebKitTools/Scripts:/sw/bin

I've attached a portion of the results of the build. The whole file was
too long.

CompileC 
/Users/kohler/Developer/Build/WebCore.build/Release/WebCore.build/Objects-normal/ppc/JSDOMMimeTypeArray.o
 
/Users/kohler/Developer/Build/Release/DerivedSources/WebCore/JSDOMMimeTypeArray.cpp
 normal ppc c++ com.apple.compilers.gcc.4_2
    cd /Users/kohler/Developer/WebKit/WebCore
    /Developer/usr/bin/gcc-4.2 -x c++ -arch ppc -fmessage-length=0 -pipe 
-Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O2 -Werror 
-Wnon-virtual-dtor -Wnewline-eof -DNDEBUG -DENABLE_3D_RENDERING -DENABLE_BLOB 
-DENABLE_CHANNEL_MESSAGING -DENABLE_CLIENT_BASED_GEOLOCATION -DENABLE_DATABASE 
-DENABLE_DATALIST -DENABLE_DOM_STORAGE -DENABLE_EVENTSOURCE -DENABLE_FILTERS 
-DENABLE_FULLSCREEN_API -DENABLE_GEOLOCATION -DENABLE_ICONDATABASE 
-DENABLE_JAVASCRIPT_DEBUGGER -DENABLE_MATHML -DENABLE_METER_TAG 
-DENABLE_OFFLINE_WEB_APPLICATIONS -DENABLE_PROGRESS_TAG -DENABLE_RUBY 
-DENABLE_SHARED_WORKERS -DENABLE_SVG -DENABLE_SVG_ANIMATION 
-DENABLE_SVG_AS_IMAGE -DENABLE_SVG_DOM_OBJC_BINDINGS -DENABLE_SVG_FONTS 
-DENABLE_SVG_FOREIGN_OBJECT -DENABLE_SVG_USE -DENABLE_VIDEO 
-DENABLE_WEB_SOCKETS -DENABLE_WORKERS -DENABLE_XPATH -DENABLE_XSLT 
-DWEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST -mtune=G5 
-fvisibility-inlines-hidden -fno-threadsafe-statics -mmacosx-version-min=10.5 
-gdwarf-2 
-I/Users/kohler/Developer/Build/WebCore.build/Release/WebCore.build/WebCore.hmap
 -Wall -Wextra -Wcast-qual -Wchar-subscripts -Wextra-tokens -Wformat=2 
-Winit-self -Wmissing-format-attribute -Wmissing-noreturn -Wpacked 
-Wpointer-arith -Wredundant-decls -Wundef -Wwrite-strings -Wshorten-64-to-32 
-F/Users/kohler/Developer/Build/Release 
-F/System/Library/Frameworks/Carbon.framework/Frameworks 
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks 
-I/Users/kohler/Developer/Build/Release/include -IForwardingHeaders -Iicu 
-I/usr/include/libxslt -I/usr/include/libxml2 
-I/Users/kohler/Developer/Build/Release/WebCoreSQLite3 
-I/Users/kohler/Developer/Build/Release/DerivedSources/WebCore 
-I/Users/kohler/Developer/Build/Release/usr/local/include 
-I/Users/kohler/Developer/Build/WebCore.build/Release/WebCore.build/DerivedSources/ppc
 
-I/Users/kohler/Developer/Build/WebCore.build/Release/WebCore.build/DerivedSources
 -include 
/var/folders/GU/GUwM0+e82RWDfk+8ZRSFq++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/WebCorePrefix-duxnsimjzgcqsefmkjwaisewybzy/WebCorePrefix.h
 -c 
/Users/kohler/Developer/Build/Release/DerivedSources/WebCore/JSDOMMimeTypeArray.cpp
 -o 
/Users/kohler/Developer/Build/WebCore.build/Release/WebCore.build/Objects-normal/ppc/JSDOMMimeTypeArray.o
In file included from 
/Users/kohler/Developer/WebKit/WebCore/bindings/objc/DOMObject.h:27,
                 from 
/Users/kohler/Developer/Build/Release/DerivedSources/WebCore/DOMMimeTypeArray.h:27,
                 from 
/Users/kohler/Developer/Build/Release/DerivedSources/WebCore/JSDOMMimeTypeArray.cpp:25:
/Users/kohler/Developer/WebKit/WebCore/bindings/objc/DOMException.h:31: error: 
stray â�...@’ in program
In file included from 
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12,
                 from 
/Users/kohler/Developer/WebKit/WebCore/bindings/objc/WebScriptObject.h:26,
                 from 
/Users/kohler/Developer/WebKit/WebCore/bindings/objc/DOMObject.h:28,
                 from 
/Users/kohler/Developer/Build/Release/DerivedSources/WebCore/DOMMimeTypeArray.h:27,
                 from 
/Users/kohler/Developer/Build/Release/DerivedSources/WebCore/JSDOMMimeTypeArray.cpp:25:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:124: 
error: stray â�...@’ in program
In file included from 
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6,
                 from 
/System/Library/Frameworks/Foundation.framework/Headers/NSAffineTransform.h:5,
                 from 
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:13,
                 from 
/Users/kohler/Developer/WebKit/WebCore/bindings/objc/WebScriptObject.h:26,
                 from 
/Users/kohler/Developer/WebKit/WebCore/bindings/objc/DOMObject.h:28,
                 from 
/Users/kohler/Developer/Build/Release/DerivedSources/WebCore/DOMMimeTypeArray.h:27,
                 from 
/Users/kohler/Developer/Build/Release/DerivedSources/WebCore/JSDOMMimeTypeArray.cpp:25:
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:8: error: 
stray â�...@’ in program
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to