Cross compile error for arm

"inoue masatoshi" <[email protected]>
Newsgroups gmane.comp.kde.devel.konq-e
Message-ID <00e201c71dd2$acc1d3f0$6c64a8c0@qss4e4def575e2>
Hello all

I wouid like to use konqueror3/embedded with qt/embedded(free-3.3.4) on arm.
For that, I first cross compiled qt/embedded using arm-linux-g++(2.95.3) on 
CentOS4.3, and qt/embedded was configured with option:

./configure -depths 
1,4,8 -no-ipv6 -no-cups -no-pch -qt-gif -no-thread -embedded
arm -qt-zlib -qt-libpng -DQT_QLOCALE_USES_FCVT

then I tried to configure the konqueror3/embedded with option:
 ./configure --enable-qt-embedded --enable-embedded --host=i686-pc-linux-gnu 
 --target=arm-linux --disable-mt --disable-pcre   --disable-threading --without-ssl 
 --includedir=/usr/include/kde --prefix=/home/inoue/konqe3

and I set environment variable:
CC=arm-linux-gcc
CXX=arm-linux-g++
QTDIR=/usr/local/qt-embedded-3.3.4

Configure was completed, but when I tried to make command, then error as 
follows occurred.

/bin/sh ../../../libtool --silent --mode=compile --tag=CXX 
arm-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../kjs -I./../kio -I./java 
 -I./misc -I./dom -I./xml -I./html -I./css -I./../kssl -I./../../dropin -I./../kdecore 
 -I./../../dropin/khtml -I./../../dropin/khtml/java -I./../../dropin/kio -I./../../dropin/kssl 
 -I./..  -I/usr/include/kde -I/usr/local/qt-embedded-3.3.4/include   -UQT_NO_COMPAT 
  -DQWS -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith 
 -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -fno-rtti -DQT_NO_ASCII_CAST 
 -fexceptions -DKHTML_PAGE_CACHE_SIZE=1 -c -o khtmlview.lo khtmlview.cpp
In file included from ../../dropin/kglobal.h:27,
                 from ../kdecore/kstandarddirs.h:29,
                 from khtmlview.cpp:45:
../../dropin/kapplication.h:44: warning: `KDE_VERSION_STRING' redefined
../kdecore/kdeversion.h:25: warning: this is the location of the previous 
definition
In file included from ../../dropin/kxmlguiclient.h:34,
                 from ../../dropin/kparts/part.h:22,
                 from khtml_part.h:32,
                 from khtmlview.cpp:27:
../../dropin/kaction.h: In method `void KActionCollection::insert(KAction 
*)':
../../dropin/kaction.h:52: warning: cast increases required alignment of 
target type
../../dropin/kaction.h: In method `void KActionCollection::remove(KAction 
*)':
../../dropin/kaction.h:53: warning: cast increases required alignment of 
target type
../../dropin/kaction.h: In method `void KAction::setWhatsThis(const QString 
&)':
../../dropin/kaction.h:92: warning: unused parameter `const class QString & 
text'
In file included from ../../dropin/kparts/part.h:22,
                 from khtml_part.h:32,
                 from khtmlview.cpp:27:
../../dropin/kxmlguiclient.h: In method `void 
KXMLGUIClient::insertChildClient(KXMLGUIClient *)':
../../dropin/kxmlguiclient.h:65: warning: unused parameter `class 
KXMLGUIClient * child'
../../dropin/kxmlguiclient.h: In method `void 
KXMLGUIClient::removeChildClient(KXMLGUIClient *)':
../../dropin/kxmlguiclient.h:68: warning: unused parameter `class 
KXMLGUIClient * child'
In file included from ../../dropin/kcursor.h:28,
                 from khtmlview.cpp:42:
../../dropin/kglobalsettings.h: In function `static class QRect 
KGlobalSettings::desktopGeometry(QWidget *)':
../../dropin/kglobalsettings.h:44: warning: unused parameter `class QWidget 
* w'
In file included from ../../dropin/kinstance.h:29,
                 from ../../dropin/kglobal.h:26,
                 from ../kdecore/kstandarddirs.h:29,
                 from khtmlview.cpp:45:
../../dropin/kiconloader.h: In method `int 
KIconLoader::currentSize(KIcon::Group) const':
../../dropin/kiconloader.h:49: warning: unused parameter `enum KIcon::Group 
group'
In file included from khtmlview.cpp:56:
../../dropin/kio/kimageio.h: In function `static class QString 
KImageIO::typeForMime(const QString &)':
../../dropin/kio/kimageio.h:36: warning: unused parameter `const class 
QString & mimeType'
khtmlview.cpp: In method `void KHTMLToolTip::maybeTip(const QPoint &)':
khtmlview.cpp:238: warning: unused parameter `const class QPoint & p'
khtmlview.cpp: In method `void KHTMLView::closeChildDialogs()':
khtmlview.cpp:470: taking dynamic typeid of object with -fno-rtti
khtmlview.cpp:470: confused by earlier errors, bailing out
make[5]: *** [khtmlview.lo]  1
make[5]: Leaving directory 
`/home/inoue/workspace/konqueror3-embedded-0.2-20040524/konq-embed/kdesrc/khtml'
make[4]: *** [all-recursive]  1
make[4]: Leaving directory 
`/home/inoue/workspace/konqueror3-embedded-0.2-20040524/konq-embed/kdesrc/khtml'
make[3]: *** [all-recursive]  1
make[3]: Leaving directory 
`/home/inoue/workspace/konqueror3-embedded-0.2-20040524/konq-embed/kdesrc'
make[2]: *** [all-recursive]  1
make[2]: Leaving directory 
`/home/inoue/workspace/konqueror3-embedded-0.2-20040524/konq-embed'
make[1]: *** [all-recursive]  1
make[1]: Leaving directory 
`/home/inoue/workspace/konqueror3-embedded-0.2-20040524'
make: *** [all]  2


Somewhere, you can see"", and that means "Error". Sorry, that's 
Japanese.

anyway, I think maybe "khtmlview.cpp:470: taking dynamic typeid of object 
with -fno-rtti" is a probrem, but I could not fix this.
Am I missing something?
Could anyone please tell me how to fix this?

regards

inoue masatoshi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.