So close! One tiny problem final link step

"Void" <[email protected]>
Newsgroups gmane.comp.kde.devel.konq-e
Message-ID <[email protected]>
Sorry for resending this. I expected the mail
management system to prepend "[konq-e]" to the
title, but it didn't, so I have manually done it
and am resending.
This prefix on the title is desirable for more
easily distinguishing an email from spam.

>
> Hi guys, I'm the lead developer of the Puppy Linux
> project. I joined this email list back in 2003 for
> awhile, now I'm back. Puppy Linux is very small,
> 50 - 80MB live-CD or installed onto usb or whatever (i486 PC).
> Currently using SeaMonkey, Firefox or Opera. I would like to create an
even
> smaller Puppy, so I'm attempting
> to compile konq-e in Puppy.
>
> I have Qt 3.3.5 and I have compiled and installed
> kdelibs 3.5.4. I can compile Konq-e, but it is
> slightly broken.
> Note, I found a few things that had to be fixed, for
> example some member names have changed -- I can post
> those fixes if you like.
>
> The latest configuration, I get to the last link
> step and get undefined references. ...but I don't
> see why that should be. I configured with
> '--enable-printing' which causes the problem.
> Without that option, compiling does complete.
> One undefined reference is 'KPrinter', but it does
> seem to be defined in the source (bearing in mind
> that my C++/KDE/Qt programming knowledge is
> abysmal), but doesn't make it through to an
> object file in final link step.
>
> I was wondering if someone skilled in compiling
> konq-e could run their eyes down the following
> bug report and give a suggestion?
>
> By the way, the same problem was reported in 2004
> and he never got a solution, at least nothing
> posted:
> http://lists.kde.org/?l=konq-e&amp;m=108214342019893&amp;w=2
>
> BUG REPORT:
> -----------------------------
> Configure:
>
> ../configure --build=i486-t2-linux-gnu --disable-debug --enable-ftp
> --enable-cgi --enable-sortdir --enable-readwrite --enable-jshostext
> --enable-xmlui --enable-fontsubs --without-arts --with-javascript=static
> --with-gui=x11 --with-qt-dir=/usr/lib/qt
> --with-qt-includes=/usr/lib/qt/include --with-qt-libraries=/usr/lib/qt/lib
> --with-ssl-dir=/usr/lib --with-ssl
> --enable-add-ons=kflashpart,kplaintext,jsdebug
> --with-extra-libs=/usr/X11R7/lib --enable-ssl --enable-selection
> --enable-scrollbars --enable-javascript --enable-printing --enable-sidebar
> --enable-cmdoptions
>
> Final link step:
>
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x2308):
> In function `KHTMLView::print(bool)':
> khtmlview.cpp: undefined reference to `KPrinter::KPrinter(bool,
> QPrinter::PrinterMode)'
> ....plus more.
>
> Looking in konq-embed/kdesrc/khtml/.libs/:
>
> khtml_events.o
> khtml_factory.o
> khtml_iface.o
> khtml_iface_skel.o
> khtml_pagecache.o
> khtml_part.o
> khtml_settings.o
> khtmlview.o
> libkhtml_i.a
> libkhtml_i.la
>
> There is no object file in .libs directory that defines 'KPrinter'.
>
> --------------------
> Complete error log:
>
> /bin/sh ../../libtool --silent --tag=CXX --mode=link g++  -Wno-long-long
> -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2
> -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/usr/local/kde/lib
> -L/usr/lib/qt/lib -L/usr/X11R6/lib    -L/usr/X11R7/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/add-ons/kflashpart/libkflash_e.la
> .../../konq-embed/add-ons/kplaintext/libkplaintext_e.la
> .../../konq-embed/add-ons/jsdebug/libjsdebug_e.la
> .../../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
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x2308):
> In function `KHTMLView::print(bool)':
> khtmlview.cpp: undefined reference to `KPrinter::KPrinter(bool,
> QPrinter::PrinterMode)'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x2321):khtmlview.cpp:
> undefined reference to `KHTMLPrintSettings::KHTMLPrintSettings(QWidget*,
> char const*)'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x232a):khtmlview.cpp:
> undefined reference to `KPrinter::addDialogPage(KPrintDialogPage*)'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x23d5):khtmlview.cpp:
> undefined reference to `KPrinter::setup(QWidget*, QString const&amp;,
bool)'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x2455):khtmlview.cpp:
> undefined reference to `KPrinter::setFullPage(bool)'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x24f1):khtmlview.cpp:
> undefined reference to `KPrinter::setCreator(QString const&amp;)'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x259e):khtmlview.cpp:
> undefined reference to `KPrinter::setDocName(QString const&amp;)'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x2690):khtmlview.cpp:
> undefined reference to `KPrinter::option(QString const&amp;) const'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x2815):khtmlview.cpp:
> undefined reference to `KPrinter::option(QString const&amp;) const'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x28d6):khtmlview.cpp:
> undefined reference to `KPrinter::option(QString const&amp;) const'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x2bc2):khtmlview.cpp:
> undefined reference to `KPrinter::margins() const'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x2bd6):khtmlview.cpp:
> undefined reference to `KPrinter::margins() const'
>
.../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(khtmlview.o)(.text+0x2e1c):khtmlview.cpp:
> undefined reference to `KPrinter::newPage()'
> collect2: ld returned 1 exit status
> make[5]: *** [konqueror] Error 1
> make[5]: Leaving directory
>
`/mnt/hda1/root/sources/sources040/konqueror3-embedded-0.2-20060121/konq-embed/src'
>
> ________________________________________________
>
>
> Dodo - an Official
> Sponsor of the
> 2006 FORMULA 1 (tm)
> Foster's Australian Grand Prix
>
> _______________________________________________
> konq-e mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/konq-e
>
>
>
>
> 

________________________________________________


Dodo - an Official
Sponsor of the
2006 FORMULA 1 (tm)
Foster's Australian Grand Prix
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.