Problems building Konq/e with Qtopia Core

Piero Pezzin piero.pezzin at gmail.com
Fri Jan 25 18:01:16 CET 2008


Hello Stefan,

thank you for your support.

Grepping the konq-embed directory I got the following:

grep -r KNotifyClient konq-embed/
Binary file konq-embed/kdesrc/kdecore/.libs/libkdecore.a matches
konq-embed/kdesrc/khtml/khtmlview.cpp.orig:                     if(increase)
KNotifyClient::beep();
konq-embed/kdesrc/khtml/khtmlview.cpp.orig:                     if(increase)
KNotifyClient::beep();
konq-embed/kdesrc/khtml/khtmlview.cpp:                  if(increase)
KNotifyClient::beep();
konq-embed/kdesrc/khtml/khtmlview.cpp:                  if(increase)
KNotifyClient::beep();
Binary file konq-embed/kdesrc/khtml/.libs/libkhtml_i.a matches
Binary file konq-embed/kdesrc/khtml/.libs/libkhtml_i_la.all_cpp.o matches
Binary file konq-embed/src/.libs/konqueror matches
Binary file konq-embed/dropin/.libs/libdropin.a matches
Binary file konq-embed/dropin/.libs/libdropin_la.all_cpp.o matches
konq-embed/dropin/knotifyclient.h:namespace KNotifyClient

Do you see something "suspect"?
I really don't know how to find where the problem is. Grepping for "
knotifyclient.h", I found that the header file is used in the Makefile for
libdropin, which I think should be correct...

Any help is really appreciated.. I'm so close... giving up would be so
bitter..

Thanks in advance,

Piero


2008/1/24 Stefan Eilers <stefan.eilers at basyskom.de>:

> Hi Piero!
> Am 23.01.2008 um 11:00 schrieb Piero Pezzin:
>
> Hi Stefan.
> Thank you very much for your help, but it's still not working. I tried
> cleaning everything manually and also starting from a just unpacked
> snapshot, but the linking problems still remain.
>
>
> There must be any problem with your buildsystem or the patches.
> If I grep my sources, I see just one occurence of
> "KNotifyClient::beep(..)" is defined in "dropin/knotifyclient.h". Can you
> confirm this? If this is true, you should check whether the compiler links
> the object file for "knotifyclient" multiple times and check why he does it.
>
>
> For the configuration, I intentionally disabled pcre and qpe and
> intentionally selected a x11 gui (the class mainwindow_road.cc causes
> compilation errors...); in the actual configure I have
> --enable-rtti-embedded.
>
>
> You need "pcre" to get a working javascript engine.
> My last compilation used "--with-gui=road" and worked quite well without
> X11. I think there aren't many people using the X11 path anymore. Most of
> them will compile for QWS.
>
>
> Quite frustrating situation....
>
>
> I really understand your frustration! Don't give up! :)
>
>
>
> 2008/1/23 Stefan Eilers <stefan.eilers at basyskom.de>:
>
> > Hi Piero!
> > What happens here:
> > Konqueror is based on KDELibs. To compile on the embedded platform, some
> > parts of KDELibs have to be replaced with dropins.
> > The multiple definitions are related to the fact that some classes are
> > compiled with the original KDELibs classes and some with the dropins. Thus,
> > the linker complains about it.
> >
> > This problem may be caused by two possible reasons:
> >
> > 1. The configure script applies various patches to replace the original
> > classes with the dropins. Are you sure that all patches applied without
> > problems? Did you really rebuild from a clean start? Never trust a cleanup
> > machanism (make clean) ... ;)
> >
> > 2. Your configure line is not correct. If I compare yours with mine,
> > there are the following entries missing:
> > --enable-pcre
> > --enable-qpe
> > --with-gui=road
> > --enable-rtti-embedded
> >
> > Hope that helps!
> >
> > Am 22.01.2008 um 16:26 schrieb Piero Pezzin:
> >
> > Hello again.
> > It works forcing the define QT_NO_DOM in the qconfig.h contained in
> > $QTDIR/includes. No need to recompile qt-embedded.
> > But, now I have other problems during linking (multiple definitions of
> > KNotifyClient::beep and KStdAccel::findNext()):
> >
> > /bin/sh ../../libtool --silent --tag=CXX --mode=link arm-linux-g++
> > -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> > -Wconversion
> > -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline
> > -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
> > -fno-exceptions -fno-check-new -fno-common
> > -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST
> > -o konqueror  -L/home/piero/konq-embedded/lib -L/home/piero/work/qt-
> > 2.3.10/lib   -export-dynamic konqueror.all_cc.o konqueror.all_cpp.o
> > ../../konq-embed/dropin/kio/libkiodropin.la
> > ../../konq-embed/kdesrc/khtml/ecma/libkjs_html_i.la
> > ../../konq-embed/kdesrc/kjs/libkjs.la  ../lib/libkonqe.la
> > ../../konq-embed/kdesrc/kparts/libkparts.la
> > ../../konq-embed/dropin/libdropin.la
> > ../../konq-embed/dropin/kparts/libkpartsdropin.la
> > ../../konq-embed/kdesrc/khtml/libkhtml_i.la
> > ../../konq-embed/dropin/kssl/libkssldropin.la
> > ../../konq-embed/kdesrc/kssl/libkssl.la
> >
> >
> > ../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(libkhtml_i_la.all_cpp.o)(.text+0x8d0):
> > ../../../konq-embed/dropin/knotifyclient.h:30: multiple definition of
> > `KNotifyClient::beep(QString const&)'
> > ../lib/.libs/libkonqe.a(libdropin_la.all_cpp.o)(.text+0x245c):/home/piero/work/kdenox/konq-embed/dropin/knotifyclient.h:30:
> > first defined here
> >
> > ../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(libkhtml_i_la.all_cpp.o)(.text+0x8e8):
> >
> > ../../../konq-embed/dropin/kstdaccel.h:30: multiple definition of
> > `KStdAccel::findNext()'
> > ../lib/.libs/libkonqe.a(libdropin_la.all_cpp.o)(.text+0xede4):/home/piero/work/kdenox/konq-embed/dropin/kstdaccel.h:30:
> > first defined here
> >
> > Could somebody help me? I'm really at just one step to giving up....
> >
> >
> > Thanks in advance.
> >
> >
> >  Mfg., Dr. Stefan Eilers
> > --
> >
> > Dr.-Ing. Stefan Eilers
> > Projekt Manager
> >
> > basysKom GmbH
> > Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
> > Tel: +49 6151  3968753 | Fax: -736 | Mobile: +49 170 4213459
> > stefan.eilers at basyskom.de | www.basyskom.de
> >
> > Handelsregister: Darmstadt HRB 9352
> > Geschaeftsfuehrung: Eva Brucherseifer
> >
> >
> >
> > _______________________________________________
> > konq-e mailing list
> > konq-e at kde.org
> > https://mail.kde.org/mailman/listinfo/konq-e
> >
> >
> _______________________________________________
> konq-e mailing list
> konq-e at kde.org
> https://mail.kde.org/mailman/listinfo/konq-e
>
>
> Mfg., Dr. Stefan Eilers
> --
>
> Dr.-Ing. Stefan Eilers
> Projekt Manager
>
> basysKom GmbH
> Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
> Tel: +49 6151 3968753 | Fax: -736 | Mobile: +49 170 4213459
> stefan.eilers at basyskom.de | www.basyskom.de
>
> Handelsregister: Darmstadt HRB 9352
> Geschaeftsfuehrung: Eva Brucherseifer
>
>
>
> _______________________________________________
> konq-e mailing list
> konq-e at kde.org
> https://mail.kde.org/mailman/listinfo/konq-e
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/konq-e/attachments/20080125/4a41cf33/attachment.html 


More information about the konq-e mailing list