konq-e3 cross compile link problem

Jason Hihn Jason.Hihn at verint.com
Fri Mar 26 17:53:47 CET 2004


Anytime you see " relocation truncated to fit: R_PPC_REL24" Means it's not
finding that symbol. Your PPC build is missing the kmime stuff. I think I've
dealt with this in the past; search the archives. IIRC, they were compiled
but not linked in the library...


-J
Verint Systems Inc
 
 

-----Original Message-----
From: Mark Baker [mailto:distobj at acm.org] 
Sent: Friday, March 26, 2004 11:59 AM
To: konq-e at kde.org
Subject: konq-e3 cross compile link problem

Hi,

I'm stuck.  I'm trying to build konq-e3 on i386 for PPC, and have used
both the Timesys and ELDK 3.0 PPC toolchains, but both give me;

../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtml_part.o)(.text+0xffac)
: In function `KHTMLPart::overURL(QString const&, QString const&, bool)':
: undefined reference to `KMimeType::defaultMimeType()'
../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtml_part.o)(.text+0xffac)
: In function `KHTMLPart::overURL(QString const&, QString const&, bool)':
: relocation truncated to fit: R_PPC_REL24 KMimeType::defaultMimeType()
../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtml_part.o)(.text+0x16d08
): In function `KHTMLPart::createPart(QWidget*, char const*, QObject*, char
const*, QString const&, QString&, QStringList&, QStringList const&)':
: undefined reference to `KTrader::self()'
../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtml_part.o)(.text+0x16d08
): In function `KHTMLPart::createPart(QWidget*, char const*, QObject*, char
const*, QString const&, QString&, QStringList&, QStringList const&)':
: relocation truncated to fit: R_PPC_REL24 KTrader::self()
../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtml_part.o)(.text+0x16d40
): In function `KHTMLPart::createPart(QWidget*, char const*, QObject*, char
const*, QString const&, QString&, QStringList&, QStringList const&)':
: undefined reference to `KTrader::query(QString const&, QString const&,
QString const&, QString const&)'
../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtml_part.o)(.text+0x16d40
): In function `KHTMLPart::createPart(QWidget*, char const*, QObject*, char
const*, QString const&, QString&, QStringList&, QStringList const&)':
: relocation truncated to fit: R_PPC_REL24 KTrader::query(QString const&,
QString const&, QString const&, QString const&)
../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(html_formimpl.o)(.text+0x1a
88): In function `DOM::HTMLFormElementImpl::formData(bool&)':
: undefined reference to `KMimeType::defaultMimeType()'
../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(html_formimpl.o)(.text+0x1a
88): In function `DOM::HTMLFormElementImpl::formData(bool&)':
: relocation truncated to fit: R_PPC_REL24 KMimeType::defaultMimeType()
../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(render_frames.o)(.text+0x37
04): In function `khtml::RenderPartObject::slotPartLoadingErrorNotify()':
: undefined reference to `KMimeType::defaultMimeType()'
../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(render_frames.o)(.text+0x37
04): In function `khtml::RenderPartObject::slotPartLoadingErrorNotify()':
: relocation truncated to fit: R_PPC_REL24 KMimeType::defaultMimeType()

I've checked khtml_part.o and kmimetype.o, and both use the same
signature and are on the command line for the linking process (in
archives);

00000000 T _ZN9KMimeType15defaultMimeTypeEv

         U _ZN9KMimeType15defaultMimeTypeEv

Note that a native i386/i386 build works just fine.

Any ideas?

Thanks.

Mark.
-- 
Mark Baker.   Ottawa, Ontario, CANADA.        http://www.markbaker.ca
_______________________________________________
konq-e mailing list
konq-e at kde.org
https://mail.kde.org/mailman/listinfo/konq-e



More information about the konq-e mailing list