/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -mmmx -m3dnow -O3 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o koala -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib -L../../qtjava/javalib/qtjava -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib main.o ./kdejava/libkdejava.la -lkjs -lkspell ../../qtjava/javalib/qtjava/libqtjava.la -lkparts -lkmid -lkio -lXext -lX11 ./kdejava/.libs/libkdejava.so: undefined reference to `khtml::DrawContentsEvent::~DrawContentsEvent [not-in-charge]()' ./kdejava/.libs/libkdejava.so: undefined reference to `khtml::MousePressEvent::s_strMousePressEvent' ./kdejava/.libs/libkdejava.so: undefined reference to `khtml::MouseMoveEvent::s_strMouseMoveEvent' ./kdejava/.libs/libkdejava.so: undefined reference to `khtml::DrawContentsEvent::s_strDrawContentsEvent' ./kdejava/.libs/libkdejava.so: undefined reference to `khtml::MouseEvent::~MouseEvent [not-in-charge]()' ./kdejava/.libs/libkdejava.so: undefined reference to `khtml::MouseReleaseEvent::s_strMouseReleaseEvent' ./kdejava/.libs/libkdejava.so: undefined reference to `khtml::MouseEvent::MouseEvent[not-in-charge](char const*, QMouseEvent*, int, int, DOM::DOMString const&, DOM::DOMString const&, DOM::Node const&)' ./kdejava/.libs/libkdejava.so: undefined reference to `khtml::DrawContentsEvent::DrawContentsEvent[not-in-charge](QPainter*, int, int, int, int)' ./kdejava/.libs/libkdejava.so: undefined reference to `khtml::MouseEvent::offset() const' ./kdejava/.libs/libkdejava.so: undefined reference to `khtml::MouseDoubleClickEvent::s_strMouseDoubleClickEvent' collect2: ld returned 1 exit status make[2]: *** [koala] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebindings-3.2.0_beta2/work/kdebindings-3.1.94/kdejava/koala' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebindings-3.2.0_beta2/work/kdebindings-3.1.94/kdejava/koala' make: *** [all-recursive] Error 1 Reproducible: Always Steps to Reproduce: 1.emerge kdebindings-3.2.0_beta2.ebuild
I also cannot compile kdebindings 3.2.0_beta2: Same error as above. Always repro.
This also fails when building from source on RH8 using konstruct. koala (libkdejava) fails to link looking for symbols that are defined in libkhtml.so. nm libkhtml.so shows that the symbols in question are defined. I've tried using several different Java VM's in the process with no luck.
http://bugs.kde.org/show_bug.cgi?id=72559 Corresponding bug in the KDE bug tracker. No responses so far. (They link to this bug as well). I get bitten by the same bug, using USE="mozilla -java" uncovers an interesting variety where JAR isn't set, and the compile breaks on another point. (With the error ch: No such file or directory. Took me a while to find that it tried jar ch, but ${JAR} was empty). Specifying a valid JAR from the commandline goes on to this same point and poofs there. (Note that java-config --jar has the valid result that I used here). CFLAGS="-O2 -march=athlon-mp -pipe -fomit-frame-pointer -mfpmath=sse -fstack-protector" Linux prometheus 2.6.1-mm3 #1 SMP Wed Jan 14 11:54:01 CET 2004 i686 AMD Athlon(TM) MP 1800+ AuthenticAMD GNU/Linux
old beta version bug => should be closed