Hey, I got an error trying to build latest stable release, this is my configure output: http://pastie.org/2331067 All libs needed are there, but when I do: make, I got this error: /bin/sh ./libtool --silent --tag=CXX --mode=compile /usr/bin/c++ -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source/WebCore -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bindings/js/specialization -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jni/jsc -I./Source/WebCore/bridge/jsc -I./Source/WebCore/css -I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/notifications -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/svg -I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics -I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/webaudio -I./Source/WebCore/websockets -I./Source/WebCore/wml -I./Source/WebCore/workers -I./Source/WebCore/xml -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -DDATA_DIR=\"/usr/local/Cellar/webkit-gtk/1.4.2/share\" -DWTF_USE_NATIVE_GTK_MAIN_FRAME_SCROLLBAR=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DATABASE=1 -DENABLE_DATALIST=1 -DENABLE_EVENTSOURCE=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOM_STORAGE=1 -DENABLE_FILE_SYSTEM=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_ICONDATABASE=1 -DENABLE_IMAGE_RESIZER=0 -DENABLE_VIDEO=1 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_FULLSCREEN_API=1 -DENABLE_XPATH=1 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_SVG=1 -DENABLE_SVG_USE=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_BLOB=1 -DWEBKITGTK_API_VERSION_STRING=\"1.0\" -DWTF_USE_SOUP=1 -I./Source/WebCore/accessibility/gtk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -DWTF_USE_FREETYPE=1 -I./Source/WebCore/platform/graphics/freetype -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/collector/handles -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./Source/JavaScriptCore -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/runtime -fno-strict-aliasing -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.5/include/gail-1.0 -I/usr/local/Cellar/atk/2.0.1/include/atk-1.0 -I/usr/local/Cellar/gtk+/2.24.5/include/gtk-2.0 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/gtk+/2.24.5/lib/gtk-2.0/include -I/usr/local/Cellar/gdk-pixbuf/2.23.5/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/pixman/0.22.0/include/pixman-1 -I/usr/X11/include/cairo -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng15 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -D_REENTRANT -I/usr/local/Cellar/gstreamer/0.10.34/include/gstreamer-0.10 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/gst-plugins-base/0.10.34/include/gstreamer-0.10 -I/usr/include/libxml2 -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.5/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.5/lib/gtk-2.0/include -I/usr/local/Cellar/atk/2.0.1/include/atk-1.0 -I/usr/local/Cellar/gdk-pixbuf/2.23.5/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/pixman/0.22.0/include/pixman-1 -I/usr/X11/include/cairo -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng15 -D_REENTRANT -I/usr/local/Cellar/libsoup/2.35.4/include/libsoup-2.4 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/local/Cellar/sqlite/3.7.7/include -I./Source/JavaScriptCore/icu -I./Source/WebCore/icu -I/usr/X11/include -I/usr/X11/include -I/usr/local/Cellar/icu4c/4.4.1/include -fvisibility-inlines-hidden -fno-rtti -O3 -march=core2 -msse4.1 -w -pipe -O2 -c -o Source/WebCore/platform/text/libWebCore_la-TextEncoding.lo `test -f 'Source/WebCore/platform/text/TextEncoding.cpp' || echo './'`Source/WebCore/platform/text/TextEncoding.cpp In file included from Source/WebCore/platform/text/TextCodecUTF8.cpp:27: Source/WebCore/platform/text/TextCodecUTF8.h:50: error: ‘U8_MAX_LENGTH’ was not declared in this scope Source/WebCore/platform/text/TextCodecUTF8.cpp: In member function ‘void WebCore::TextCodecUTF8::consumePartialSequenceByte()’: Source/WebCore/platform/text/TextCodecUTF8.cpp:156: error: ‘m_partialSequence’ was not declared in this scope Source/WebCore/platform/text/TextCodecUTF8.cpp: In member function ‘void WebCore::TextCodecUTF8::handlePartialSequence(UChar*&, const uint8_t*&, const uint8_t*, bool, bool, bool&)’: Source/WebCore/platform/text/TextCodecUTF8.cpp:173: error: ‘m_partialSequence’ was not declared in this scope Source/WebCore/platform/text/TextCodecUTF8.cpp:178: error: ‘m_partialSequence’ was not declared in this scope Source/WebCore/platform/text/TextCodecUTF8.cpp: In member function ‘virtual WTF::String WebCore::TextCodecUTF8::decode(const char*, size_t, bool, bool, bool&)’: Source/WebCore/platform/text/TextCodecUTF8.cpp:271: error: ‘m_partialSequence’ was not declared in this scope Source/WebCore/platform/text/TextCodecUTF8.cpp: In member function ‘virtual WTF::CString WebCore::TextCodecUTF8::encode(const UChar*, size_t, WebCore::UnencodableHandling)’: Source/WebCore/platform/text/TextCodecUTF8.cpp:310: error: ‘U8_APPEND_UNSAFE’ was not declared in this scope make[1]: *** [Source/WebCore/platform/text/libWebCore_la-TextCodecUTF8.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 If I change unicode backend to glib, I got a different error. Any help? Thanks.
For me, this macro is included through TextCodec.h -> Unicode.h -> UnicodeIcu.h -> unicode/uchar.h -> unicode/utypes.h -> unicode/utf.h -> unicode/utf8.h.
(In reply to comment #1) > For me, this macro is included through TextCodec.h -> Unicode.h -> UnicodeIcu.h -> unicode/uchar.h -> unicode/utypes.h -> unicode/utf.h -> unicode/utf8.h. I'm using this release: http://webkitgtk.org/webkit-1.4.2.tar.gz Still, if I run autoconf I got this: ==> aclocal -I./Source/autotools -I/usr/local/share/aclocal aclocal -I./Source/autotools -I/usr/local/share/aclocal ==> glibtoolize --force glibtoolize --force glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `Source/autotools'. glibtoolize: linking file `Source/autotools/ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `Source/autotools'. glibtoolize: linking file `Source/autotools/libtool.m4' glibtoolize: linking file `Source/autotools/ltoptions.m4' glibtoolize: linking file `Source/autotools/ltsugar.m4' glibtoolize: linking file `Source/autotools/ltversion.m4' glibtoolize: linking file `Source/autotools/lt~obsolete.m4' glibtoolize: Consider adding `-I Source/autotools' to ACLOCAL_AMFLAGS in Makefile.am. ==> autoheader autoheader ==> automake --add-missing --foreign automake --add-missing --foreign ==> autoconf autoconf /bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/c++ -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source/WebCore -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bindings/js/specialization -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jni/jsc -I./Source/WebCore/bridge/jsc -I./Source/WebCore/css -I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/notifications -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/svg -I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics -I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/webaudio -I./Source/WebCore/websockets -I./Source/WebCore/wml -I./Source/WebCore/workers -I./Source/WebCore/xml -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -DDATA_DIR=\"/usr/local/Cellar/webkit-gtk/1.4.2/share\" -DWTF_USE_NATIVE_GTK_MAIN_FRAME_SCROLLBAR=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DATABASE=1 -DENABLE_DATALIST=1 -DENABLE_EVENTSOURCE=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOM_STORAGE=1 -DENABLE_FILE_SYSTEM=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_ICONDATABASE=1 -DENABLE_IMAGE_RESIZER=0 -DENABLE_VIDEO=1 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_FULLSCREEN_API=1 -DENABLE_XPATH=1 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_SVG=1 -DENABLE_SVG_USE=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_BLOB=1 -DWEBKITGTK_API_VERSION_STRING=\"1.0\" -DWTF_USE_SOUP=1 -I./Source/WebCore/accessibility/gtk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -DWTF_USE_FREETYPE=1 -I./Source/WebCore/platform/graphics/freetype -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/collector/handles -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./Source/JavaScriptCore -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/runtime -fno-strict-aliasing -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.5/include/gail-1.0 -I/usr/local/Cellar/atk/2.0.1/include/atk-1.0 -I/usr/local/Cellar/gtk+/2.24.5/include/gtk-2.0 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/gtk+/2.24.5/lib/gtk-2.0/include -I/usr/local/Cellar/gdk-pixbuf/2.23.5/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/pixman/0.22.0/include/pixman-1 -I/usr/X11/include/cairo -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng15 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -D_REENTRANT -I/usr/local/Cellar/gstreamer/0.10.34/include/gstreamer-0.10 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/gst-plugins-base/0.10.34/include/gstreamer-0.10 -I/usr/include/libxml2 -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.5/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.5/lib/gtk-2.0/include -I/usr/local/Cellar/atk/2.0.1/include/atk-1.0 -I/usr/local/Cellar/gdk-pixbuf/2.23.5/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/pixman/0.22.0/include/pixman-1 -I/usr/X11/include/cairo -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng15 -D_REENTRANT -I/usr/local/Cellar/libsoup/2.35.4/include/libsoup-2.4 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/local/Cellar/sqlite/3.7.7/include -I./Source/JavaScriptCore/icu -I./Source/WebCore/icu -I/usr/X11/include -I/usr/X11/include -I/usr/local/Cellar/icu4c/4.4.1/include -fvisibility-inlines-hidden -fno-rtti -O3 -march=core2 -msse4.1 -w -pipe -O2 -c -o Source/WebCore/platform/text/libWebCore_la-TextEncoding.lo `test -f 'Source/WebCore/platform/text/TextEncoding.cpp' || echo './'`Source/WebCore/platform/text/TextEncoding.cpp libtool: compile: /usr/bin/c++ -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source/WebCore -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bindings/js/specialization -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jni/jsc -I./Source/WebCore/bridge/jsc -I./Source/WebCore/css -I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/notifications -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/svg -I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics -I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/webaudio -I./Source/WebCore/websockets -I./Source/WebCore/wml -I./Source/WebCore/workers -I./Source/WebCore/xml -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -DDATA_DIR=\"/usr/local/Cellar/webkit-gtk/1.4.2/share\" -DWTF_USE_NATIVE_GTK_MAIN_FRAME_SCROLLBAR=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DATABASE=1 -DENABLE_DATALIST=1 -DENABLE_EVENTSOURCE=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOM_STORAGE=1 -DENABLE_FILE_SYSTEM=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_ICONDATABASE=1 -DENABLE_IMAGE_RESIZER=0 -DENABLE_VIDEO=1 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_FULLSCREEN_API=1 -DENABLE_XPATH=1 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_SVG=1 -DENABLE_SVG_USE=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_BLOB=1 -DWEBKITGTK_API_VERSION_STRING=\"1.0\" -DWTF_USE_SOUP=1 -I./Source/WebCore/accessibility/gtk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -DWTF_USE_FREETYPE=1 -I./Source/WebCore/platform/graphics/freetype -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/collector/handles -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./Source/JavaScriptCore -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/runtime -fno-strict-aliasing -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.5/include/gail-1.0 -I/usr/local/Cellar/atk/2.0.1/include/atk-1.0 -I/usr/local/Cellar/gtk+/2.24.5/include/gtk-2.0 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/gtk+/2.24.5/lib/gtk-2.0/include -I/usr/local/Cellar/gdk-pixbuf/2.23.5/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/pixman/0.22.0/include/pixman-1 -I/usr/X11/include/cairo -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng15 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -D_REENTRANT -I/usr/local/Cellar/gstreamer/0.10.34/include/gstreamer-0.10 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/gst-plugins-base/0.10.34/include/gstreamer-0.10 -I/usr/include/libxml2 -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.5/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.5/lib/gtk-2.0/include -I/usr/local/Cellar/atk/2.0.1/include/atk-1.0 -I/usr/local/Cellar/gdk-pixbuf/2.23.5/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/pixman/0.22.0/include/pixman-1 -I/usr/X11/include/cairo -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng15 -D_REENTRANT -I/usr/local/Cellar/libsoup/2.35.4/include/libsoup-2.4 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/local/Cellar/sqlite/3.7.7/include -I./Source/JavaScriptCore/icu -I./Source/WebCore/icu -I/usr/X11/include -I/usr/X11/include -I/usr/local/Cellar/icu4c/4.4.1/include -fvisibility-inlines-hidden -fno-rtti -O3 -march=core2 -msse4.1 -w -pipe -O2 -c Source/WebCore/platform/text/TextCodecUTF8.cpp -fno-common -DPIC -o Source/WebCore/platform/text/.libs/libWebCore_la-TextCodecUTF8.o libtool: compile: /usr/bin/c++ -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source/WebCore -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bindings/js/specialization -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jni/jsc -I./Source/WebCore/bridge/jsc -I./Source/WebCore/css -I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/notifications -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/svg -I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics -I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/webaudio -I./Source/WebCore/websockets -I./Source/WebCore/wml -I./Source/WebCore/workers -I./Source/WebCore/xml -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -DDATA_DIR=\"/usr/local/Cellar/webkit-gtk/1.4.2/share\" -DWTF_USE_NATIVE_GTK_MAIN_FRAME_SCROLLBAR=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DATABASE=1 -DENABLE_DATALIST=1 -DENABLE_EVENTSOURCE=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOM_STORAGE=1 -DENABLE_FILE_SYSTEM=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_ICONDATABASE=1 -DENABLE_IMAGE_RESIZER=0 -DENABLE_VIDEO=1 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_FULLSCREEN_API=1 -DENABLE_XPATH=1 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_SVG=1 -DENABLE_SVG_USE=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_BLOB=1 -DWEBKITGTK_API_VERSION_STRING=\"1.0\" -DWTF_USE_SOUP=1 -I./Source/WebCore/accessibility/gtk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -DWTF_USE_FREETYPE=1 -I./Source/WebCore/platform/graphics/freetype -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/collector/handles -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./Source/JavaScriptCore -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/runtime -fno-strict-aliasing -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.5/include/gail-1.0 -I/usr/local/Cellar/atk/2.0.1/include/atk-1.0 -I/usr/local/Cellar/gtk+/2.24.5/include/gtk-2.0 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/gtk+/2.24.5/lib/gtk-2.0/include -I/usr/local/Cellar/gdk-pixbuf/2.23.5/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/pixman/0.22.0/include/pixman-1 -I/usr/X11/include/cairo -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng15 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -D_REENTRANT -I/usr/local/Cellar/gstreamer/0.10.34/include/gstreamer-0.10 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/gst-plugins-base/0.10.34/include/gstreamer-0.10 -I/usr/include/libxml2 -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.5/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.5/lib/gtk-2.0/include -I/usr/local/Cellar/atk/2.0.1/include/atk-1.0 -I/usr/local/Cellar/gdk-pixbuf/2.23.5/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/pixman/0.22.0/include/pixman-1 -I/usr/X11/include/cairo -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng15 -D_REENTRANT -I/usr/local/Cellar/libsoup/2.35.4/include/libsoup-2.4 -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/local/Cellar/sqlite/3.7.7/include -I./Source/JavaScriptCore/icu -I./Source/WebCore/icu -I/usr/X11/include -I/usr/X11/include -I/usr/local/Cellar/icu4c/4.4.1/include -fvisibility-inlines-hidden -fno-rtti -O3 -march=core2 -msse4.1 -w -pipe -O2 -c Source/WebCore/platform/text/TextEncoding.cpp -fno-common -DPIC -o Source/WebCore/platform/text/.libs/libWebCore_la-TextEncoding.o In file included from Source/WebCore/platform/text/TextCodecUTF8.cpp:27: Source/WebCore/platform/text/TextCodecUTF8.h:50: error: 'U8_MAX_LENGTH' was not declared in this scope Source/WebCore/platform/text/TextCodecUTF8.cpp: In member function 'void WebCore::TextCodecUTF8::consumePartialSequenceByte()': Source/WebCore/platform/text/TextCodecUTF8.cpp:156: error: 'm_partialSequence' was not declared in this scope Source/WebCore/platform/text/TextCodecUTF8.cpp: In member function 'void WebCore::TextCodecUTF8::handlePartialSequence(UChar*&, const uint8_t*&, const uint8_t*, bool, bool, bool&)': Source/WebCore/platform/text/TextCodecUTF8.cpp:173: error: 'm_partialSequence' was not declared in this scope Source/WebCore/platform/text/TextCodecUTF8.cpp:178: error: 'm_partialSequence' was not declared in this scope Source/WebCore/platform/text/TextCodecUTF8.cpp: In member function 'virtual WTF::String WebCore::TextCodecUTF8::decode(const char*, size_t, bool, bool, bool&)': Source/WebCore/platform/text/TextCodecUTF8.cpp:271: error: 'm_partialSequence' was not declared in this scope Source/WebCore/platform/text/TextCodecUTF8.cpp: In member function 'virtual WTF::CString WebCore::TextCodecUTF8::encode(const UChar*, size_t, WebCore::UnencodableHandling)': Source/WebCore/platform/text/TextCodecUTF8.cpp:310: error: 'U8_APPEND_UNSAFE' was not declared in this scope make[1]: *** [Source/WebCore/platform/text/libWebCore_la-TextCodecUTF8.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [install] Error 2 Same error. I'm on os x lion, xcode 4.
*** Bug 63948 has been marked as a duplicate of this bug. ***
A quick fix to get this compiling is to add: #include "../../../JavaScriptCore/icu/unicode/utf8.h" to Source/WebCore/platform/text/TextCodecUTF8.h at line 29.
Is this still an issue with recent stable releases? 1.4.2 is quite old.
I no longer have access to an OSX box so I cannot confirm. Perhaps the OP does?
Yes, it still is an issue. The problem will always be an issue unless UTF8.h is renamed to not conflict with utf8.h on case-insensitive filesystems.
I can confirm that this still occurs with WebKit 1.8.3 on Windows using mingw.
This did not occur for me on 1.10.2 on OSX, but that may be because I linked to an external ICU.
Going to close this one. Feel free to reopen if it's still an issue with a recent release.