Sunday, July 6th 2008, 4:56pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, October 18th 2007, 5:59am

Failed to compile qtopia core 4.3.2 with ucfront-g++

Hi all,
Recently I have been trying to compile qtopia core 4.3.2 with
ucfront-g++. But bad luck until now I can't make it working because
ucfront-g++ complains this,
.....
make[1]: Entering directory `/home/nerokuo/qtopia-core-opensource-src-4.3.2/src/corelib'
/home/nerokuo/uClinux/tools/ucfront-g++ arm-linux-g++ -c -D__PIC__ -fpic -msingle-pic-base -msoft-float -Wall -I/home/nerokuo/jpeg-6b -fno-exceptions -g -Wall -W -D_REENTRANT -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_44_API_QSQLQUERY_FINISH -DQT3_SUPPORT -DQT_MOC_COMPAT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -Iglobal -I../3rdparty/zlib -I.moc/debug-static-emb-arm -I.uic/debug-static-emb-arm -o .obj/debug-static-emb-arm/qglobal.o global/qglobal.cpp
In file included from ../../include/QtCore/qlist.h:1,
from ../../include/QtCore/../../src/corelib/tools/qvector.h:45,
from ../../include/QtCore/qvector.h:1,
from global/qglobal.cpp:41:
../../include/QtCore/../../src/corelib/tools/qlist.h:51:15: new: No such file or directory
.....

Here is the code segment of qlist.h,
.....
#ifndef QLIST_H
#define QLIST_H

#include <QtCore/qiterator.h>
#include <QtCore/qatomic.h>
#include <QtCore/qalgorithms.h>

#ifndef QT_NO_STL
#include <iterator>
#include <list>
#endif

#include <new>
.....

Have anyone ever encountered this kind of problem? It seems that
ucfront-g++ treats "#include <new>" is to include a header file.
If I ignore ucfront-g++ and use arm-linux-g++ directly, this error
disappears. I don't know if this is a bug of ucfront-g++??
  • Go to the top of the page

Rate this thread