[Qt-embedded-interest] Troubles buildung Qt Embedded 4.5.0
esukram
qt at esukram.org
Wed Mar 25 16:06:48 CET 2009
Hello list,
I encountered the problem, that the build-process is stopping with the
following errors:
In file included from ../../include/QtCore/qlist.h:1,
from
../../include/QtCore/../../src/corelib/kernel/qobject.h:50,
from ../../include/QtCore/qobject.h:1,
from
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
from ../../include/QtCore/qcoreapplication.h:1,
from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/tools/qlist.h:54:15: error: new:
No such file or directory
../../include/QtCore/../../src/corelib/tools/qregexp.h: In constructor
‘QRegExp::QRegExp(const QString&, bool, bool)’:
../../include/QtCore/../../src/corelib/tools/qregexp.h:134: error: no
matching function for call to ‘operator new(unsigned int, QRegExp* const)’
<built-in>:0: note: candidates are: void* operator new(unsigned int)
../../include/QtCore/../../src/corelib/tools/qlist.h: In member function
‘void QList<T>::node_construct(QList<T>::Node*, const T&) [with T =
QString]’:
../../include/QtCore/../../src/corelib/tools/qlist.h:426: instantiated
from ‘void QList<T>::append(const T&) [with T = QString]’
../../include/QtCore/../../src/corelib/tools/qstringlist.h:70:
instantiated from here
../../include/QtCore/../../src/corelib/tools/qlist.h:341: error: no
matching function for call to ‘operator new(unsigned int,
QList<QString>::Node*&)’
<built-in>:0: note: candidates are: void* operator new(unsigned int)
../../include/QtCore/../../src/corelib/tools/qlist.h: In member function
‘void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*,
QList<T>::Node*) [with T = QString]’:
../../include/QtCore/../../src/corelib/tools/qlist.h:618: instantiated
from ‘QList<T>& QList<T>::operator+=(const QList<T>&) [with T = QString]’
../../include/QtCore/../../src/corelib/tools/qstringlist.h:85:
instantiated from here
../../include/QtCore/../../src/corelib/tools/qlist.h:360: error: no
matching function for call to ‘operator new(unsigned int,
QList<QString>::Node*)’
<built-in>:0: note: candidates are: void* operator new(unsigned int)
make: *** [.pch/release-shared-emb-arm/QtCore.gch/c++] Error 1
The main problem is - I thin so - the "new.h" header file is missing.
But I don't know where it should be or where get this header file.
I used different GCC-version but nothing helps.
Any help would be great!
- esukram
PS:
gcc -v:
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++
--prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-23ubuntu3)
More information about the Qt-embedded-interest
mailing list