[Qt-interest] What gcc minimum version for Qt 4.5.1 webkit?

wwp subscript at free.fr
Thu Jun 11 18:09:44 CEST 2009


Hello there,


I'm trying to build Qt 4.5.1 with webkit enabled on a RHEL3 with gcc
3.2.3 (gcc compiled from the sources), here's what I get:


In file included from ../JavaScriptCore/wtf/HashTable.h:28,
                 from ../JavaScriptCore/wtf/HashTable.cpp:21:
../JavaScriptCore/wtf/Threading.h: In function `void
   WTF::atomicIncrement(volatile int*)':
../JavaScriptCore/wtf/Threading.h:199: `__atomic_add' undeclared in namespace `
   __gnu_cxx'
../JavaScriptCore/wtf/Threading.h: In function `int
   WTF::atomicDecrement(volatile int*)':
../JavaScriptCore/wtf/Threading.h:200: `__exchange_and_add' undeclared in
   namespace `__gnu_cxx'
make[1]: *** [.obj/debug-shared/HashTable.o] Error 1
make: *** [sub-webkit-make_default-ordered] Error 2


I have no problem compiling this version of Qt without webkit.

`configure --help` says about webkit support that it needs a "decent"
compiler, is gcc 3.2.3 not decent enough or what did I miss?


For the record, config.status contains:

CXXFLAGS=' -I/usr/kerberos/include' CFLAGS=' -I/usr/kerberos/include' CC='gcc' /usr/local/tools/32bits/qt/4.5.1/dynamic-debug/configure --prefix=/usr/local/tools/32bits/qt/4.5.1/dynamic-debug -shared -fast -no-separate-debug-info -qt-zlib -qt-libjpeg -qt-libpng -qt-libmng -qt-gif -no-xinerama -no-g++-exceptions -no-sm -webkit -commercial -debug -confirm-license


Regards,

-- 
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090611/8b5ed792/attachment.bin 


More information about the Qt-interest-old mailing list