Another snapshot is available

Anes Lihovac anes.lihovac at web.de
Fri Jul 29 14:10:07 CEST 2005


> There is a problem when building.
>
> I get complaints about kmainwindow.cpp in konq-embed/dropin.
> I looked into the directory and saw that there is no kmainwindow.cpp at
> all. So I took out all kmainwindow.cpp and kmainwindow.lo entries from the
> Makefile and it compiles fine till the end.
> In the end there is an linker error:
>
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../konq-embed/kdesrc/kdecore
> -I../../konq-embed/kdesrc/kssl -I./pics -I./../dropin -I./../kdesrc/kdecore
> -I./../kdesrc/kio/http/kcookiejar -I./../kdesrc/kssl -I./../kdesrc/khtml
> -I./../kdesrc -I./../kdesrc/khtml/dom -I./../kdesrc/khtml/misc
> -I./../dropin/kio -I./../dropin/khtml -I../../konq-embed/kdesrc
> -I../../konq-embed/kdesrc/kssl -I../../konq-embed/kdesrc/kjs 
> -I/usr/include -I/usr/share/qt3/include -I/usr/X11R6/include  
> -DQT_THREAD_SUPPORT -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 -Wno-non-virtual-dtor -O2
> -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
> -fno-common -fvisibility=hidden -fvisibility-inlines-hidden
> -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST  -MT
> bookmarkeditimpl.o -MD -MP -MF ".deps/bookmarkeditimpl.Tpo" -c -o
> bookmarkeditimpl.o bookmarkeditimpl.cc; \ then mv -f
> ".deps/bookmarkeditimpl.Tpo" ".deps/bookmarkeditimpl.Po"; else rm -f
> ".deps/bookmarkeditimpl.Tpo"; exit 1; fi
> /bin/sh ../../libtool --silent --tag=CXX --mode=link g++ 
> -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
> -Wpointer-arith -Wno-non-virtual-dtor -O2 -Wformat-security
> -Wmissing-format-attribute -fno-exceptions
> -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden
> -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST    -o konqueror
> -L/usr/lib -L/usr/share/qt3/lib -L/usr/X11R6/lib    -export-dynamic main.o
> mainwindowbase.o mainwindebug.o htmlview.o popuphandler.o view.o run.o
> browseriface.o bookmarks.o preferences.o preferencesimpl.o mainwindow_qpe.o
> mainwindow_x11.o mainwindow_kiosk.o mainwindow_tv.o xmltree.o
> bookmarkeditor.o bookmarkeditorimpl.o bookmarkedit.o
> bookmarkeditimpl.o  ../../konq-embed/dropin/kio/libkiodropin.la
> ../../konq-embed/kdesrc/khtml/ecma/libkjs_html_i.la
> ../../konq-embed/kdesrc/kjs/libkjs.la -lpcreposix
> -lpcre ../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 /usr/bin/ld: warning:
> libstdc++.so.5, needed by /usr/lib/libqt-mt.so, may conflict with
> libstdc++.so.6
> ../../konq-embed/dropin/.libs/libdropin.a(kapplication.o): In function
> `KApplication::authorizeURLAction(QString const&, KURL const&, KURL
> const&)': kapplication.cpp:(.text+0xd28): undefined reference to
> `KProtocolInfo::protocolClass(QString const&)'
> kapplication.cpp:(.text+0xe25): undefined reference to
> `KProtocolInfo::protocolClass(QString const&)'
> ../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtml_part.o): In function
> `KHTMLPart::documentSource() const':
> khtml_part.cpp:(.text+0x834c): undefined reference to
> `KIO::NetAccess::download(KURL const&, QString&, QWidget*)'
> khtml_part.cpp:(.text+0x863a): undefined reference to
> `KIO::NetAccess::removeTempFile(QString const&)'
> ../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtml_part.o): In function
> `KHTMLPart::overURL(QString const&, QString const&, bool)':
> khtml_part.cpp:(.text+0xef99): undefined reference to
> `KMimeType::defaultMimeType()'
> ../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtml_part.o): In function
> `KHTMLPart::createPart(QWidget*, char const*, QObject*, char const*,
> QString const&, QString&, QStringList&, QStringList const&)':
> khtml_part.cpp:(.text+0x1658a): undefined reference to `KTrader::self()'
> khtml_part.cpp:(.text+0x165b9): undefined reference to
> `KTrader::query(QString const&, QString const&, QString const&, QString
> const&)'
> khtml_part.cpp:(.text+0x169b0): undefined reference to `KTrader::self()'
> khtml_part.cpp:(.text+0x169cd): undefined reference to
> `KTrader::query(QString const&, QString const&, QString const&, QString
> const&)'
> ../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(html_formimpl.o): In
> function `DOM::HTMLFormElementImpl::formData(bool&)':
> html_formimpl.cpp:(.text+0xb7e2): undefined reference to
> `KMimeType::defaultMimeType()'
> ../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(render_frames.o): In
> function `khtml::RenderPartObject::slotPartLoadingErrorNotify()':
> render_frames.cpp:(.text+0x4b43): undefined reference to
> `KMimeType::defaultMimeType()'
> ../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(http.o): In function
> `HTTPProtocol::slotData(QMemArray<char> const&)':
> http.cc:(.text+0x1487c): undefined reference to `KMimeMagic::self()'
> /usr/bin/ld: .libs/konqueror: hidden symbol
> `KDEDModule::staticMetaObject()' in
> ../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(kdedmodule.o) is
> referenced by DSO
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> make[5]: *** [konqueror] Fehler 1
> make[5]: Leaving directory
> `/home/al/sources/others/konqueror3-embedded-0.2-20050729/konq-embed/src'
> make[4]: *** [all-recursive] Fehler 1
> make[4]: Leaving directory
> `/home/al/sources/others/konqueror3-embedded-0.2-20050729/konq-embed/src'
> make[3]: *** [all] Fehler 2
> make[3]: Leaving directory
> `/home/al/sources/others/konqueror3-embedded-0.2-20050729/konq-embed/src'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory
> `/home/al/sources/others/konqueror3-embedded-0.2-20050729/konq-embed'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory
> `/home/al/sources/others/konqueror3-embedded-0.2-20050729'
> make: *** [all] Fehler 2
>

Sorry about that. 
I installed gcc 4 and this was the problem.
Now with gcc 3.3 it compiled fine.
But the thingy with kmainwindow.cpp and kmainwindow.lo in 
konq-embed/dropin/Makefile
musst still be taken out.

konqueror embedded builds fine and runs.

Hope you get the Frames issue fixed. If I can help somehow
just drop me a line. 

Best regards
Anes




More information about the konq-e mailing list