[webkit-qt] Building QtWebKit on Mac fails linking undefined CSSParser::lex

Alexis Menard alexis.menard at openbossa.org
Fri May 20 03:23:52 PDT 2011


Hi,

Which Mac OS X version?

I'm right now working on it, I can assure you it compiles.

http://build.webkit.sed.hu/waterfall has a mac bot.

Are you sure you are working on a clean build? WEBKITOUTPUTDIR=path
build-webkit ... can make sure you build in an other directory but I
guess you know.

On Fri, May 20, 2011 at 4:40 AM, Dominic Cooney <dominicc at chromium.org> wrote:
> Hello WebKit-Qties,
>
> I am trying to build WebKit Qt on Mac to fix a test failure with skips
> in qt-mac and qt-wk2 (bug 59335), but I can't even get WebKit Qt to
> build! I was wondering if an experienced hand can help me debug my
> configuration so I can get rolling and debug this test failure.
>
> I'm following <http://trac.webkit.org/wiki/BuildingQtOnOSX> but
> Tools/Scripts/build-webkit --qt --makeargs="-j4" --no-video -spec
> macx-g++ fails with:
>
> Undefined symbols:
>  "WebCore::CSSParser::lex()", referenced from:
>      WebCore::CSSParser::lex(void*)in libwebcored.a(CSSParser.o)
>
> Incidentally build output includes a slew of warnings like
>
> ld: warning: WTF::RefPtr<WTF::StringImpl>::operator!() consthas
> different visibility (hidden) in
> ../../JavaScriptCore/debug/libjscored.a(JITArithmetic.o) and
> (default) in ../../WebCore/debug/libwebcored.a(SVGFECompositeElement.o)
>
> None of those warnings mention any symbols in the CSSParser class;
> however it does complain about the visibility of many symbols used by
> CSSParser.o (std:: and WTF:: stuff.)
>
> I'm near ToT (r86922) using qt4-mac @4.7.3 from MacPorts.
> BuildingQtOnOSX implies that there are problems compiling and linking
> CSSParser.cpp and merely re-running build-webkit will fix them; alas
> this does not work for me.
>
> I'm also curious... does qt-wk2 work on platforms other than the Mac?

I believe we never really tried WebKit2 Qt port on Mac :D.

> Because I have no problems building QtWebKit on Linux.
>
> Dominic
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>



-- 
Alexis Menard
Software Engineer
INdT Recife Brazil


More information about the webkit-qt mailing list