Linker error compiling kdelibs cvs
daniel at haas.dnsalias.org
daniel at haas.dnsalias.org
Wed Oct 23 06:42:22 BST 2002
Hello!
I'm trying to compile current KDE CVS since about 2 Weeks, and always get
the same error, when compiling khtml. First i thought it was a temporary
error, and waited some days, but after 2 weeks, i'm still not able to
compile it. It may have to to something specific with my box, but i don't
have any clues what. I'm using Debian sarge (with gcc 2.95), using qt-copy
and the kde-build script. I have builddir!=srcdir and tried the following
things: Made a clean install (since this i'm running KDE 2.2.. :( ),
recompiled current qt-copy version, made a clean recompile (deleted each
kde cvs module and checked out every module from scratch, i usually check
out from head, but tried also to check out the 3.1 Beta2 tag, and this
didn't work either. I also removed all my optimisation compiler flags
(like compiling for i686), i updated debian (i got a new libtool versiont
today, and hoped, that would solve it, but to no avail). I also made shure
that the referenced .o file exists, and it is there, and looks like
everything is properly compiled. But still i get the reference error.
Here is the compile output:
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I/kdevel/kde/src/kdelibs/khtml -I.. -I/kdevel/kde/src/kdelibs/kjs
-I/kdevel/kde/src/kdelibs/kimgio -I/kdevel/kde/src/kdelibs/khtml/java
-I/kdevel/kde/src/kdelibs/dcop -I/kdevel/kde/src/kdelibs/khtml/misc
-I/kdevel/kde/src/kdelibs/khtml/dom -I/kdevel/kde/src/kdelibs/khtml/xml
-I/kdevel/kde/src/kdelibs/khtml/html -I/kdevel/kde/src/kdelibs/khtml/css
-I/kdevel/kde/src/kdelibs/libltdl -I/kdevel/kde/src/kdelibs/kio/kssl
-I/kdevel/kde/src/kdelibs/kdeprint -I/kdevel/kde/src/kdelibs/interfaces
-I/kdevel/kde/src/kdelibs/interfaces/kregexpeditor
-I/kdevel/kde/src/kdelibs -I/kdevel/kde/src/kdelibs/dcop
-I/kdevel/kde/src/kdelibs/libltdl -I/kdevel/kde/src/kdelibs/kdecore
-I/kdevel/kde/src/kdelibs/kdeui -I/kdevel/kde/src/kdelibs/kio
-I/kdevel/kde/src/kdelibs/kio/kio -I/kdevel/kde/src/kdelibs/kio/kfile
-I/kdevel/kde/src/kdelibs -I/usr/local/qtcvs/include -I/usr/X11R6/include
-I/usr/local/kdecvs/include -DQT_THREAD_SUPPORT -D_REENTRANT
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2
-fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o htmlpageinfo.lo `test -f
htmlpageinfo.cc || echo '/kdevel/kde/src/kdelibs/khtml/'`htmlpageinfo.cc
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_COMPAT -o libkhtml.la.closure libkhtml_la_closure.lo
-version-info 5:0:1 -module -no-undefined -L/usr/X11R6/lib
-L/usr/local/qtcvs/lib -L/usr/local/kdecvs/lib khtmlview.lo khtml_part.lo
khtml_run.lo khtml_factory.lo khtml_settings.lo khtml_events.lo
khtml_ext.lo khtml_pagecache.lo khtml_iface.lo khtml_printsettings.lo
khtml_iface_skel.lo htmlpageinfo.lo ./xml/libkhtmlxml.la
./html/libkhtmlhtml.la ./rendering/libkhtmlrender.la ./css/libkhtmlcss.la
./misc/libkhtmlmisc.la ./dom/libkhtmldom.la ./java/libkjava.la
../kio/libkio.la ../kparts/libkparts.la ../kdeprint/libkdeprint.la
../kutils/libkutils.la
libtool: link: warning: `-version-info' is ignored for programs
.libs/khtml_part.o: In function `KHTMLPart::slotViewPageInfo(void)':
.libs/khtml_part.o(.text+0x10119): undefined reference to
`KHTMLInfoDlg::KHTMLInfoDlg(QWidget *, char const *, bool, unsigned int)'
.libs/htmlpageinfo.o: In function `virtual function thunk (delta:-40) for
KHTMLInfoDlg::~KHTMLInfoDlg(void)':
.libs/htmlpageinfo.o(.gnu.linkonce.t.__thunk_40__._12KHTMLInfoDlg+0x14):
undefined reference to `KHTMLInfoDlg::~KHTMLInfoDlg(void)'
.libs/htmlpageinfo.o(.gnu.linkonce.d.__vt_12KHTMLInfoDlg+0x20): undefined
reference to `KHTMLInfoDlg::~KHTMLInfoDlg(void)'
.libs/htmlpageinfo.o(.gnu.linkonce.d.__vt_12KHTMLInfoDlg+0x1c4): undefined
reference to `KHTMLInfoDlg::languageChange(void)'
collect2: ld returned 1 exit status
make[1]: *** [libkhtml.la.closure] Error 1
make[1]: Leaving directory `/kdevel/kde/bin/kdelibs/khtml'
make: *** [all-recursive] Error 1
I'm only posting this, because i heard that it should be tested to compile
KDE on many platforms, and since it is not working here, i thought it
maybe interesting.
Sorry, if i posted this to the wrong list, but i thought it would fit in
here.
If you need more information about my system, ask me!
Thanks for any help!!!
Greetings, Daniel
(hope you english speaking people understand what i explained, i'm german.
;-)
More information about the kde-core-devel
mailing list