Compiling error in kdegraphics 3.1.0

Jan Drugowitsch jdrugo at gmx.at
Sun Feb 9 15:42:00 GMT 2003


> Well, I just compiled KDE_3_1_0_RELEASE and all went fine. From the
> command in your pervious mail, I can tell that the linker is expecting
> to find libkio (and others) in /opt/kde/lib (because of the
> -L/opt/kde/lib). Is /opt/kde your kde-directory and are your newly
> compiled libs installed there?

/opt/kde is a symbolic link to /opt/kde310. But to be 100% sure I've changed 
all directories of the Makefile of [...]/kuickshow/src to /opt/kde310 which 
still gives me the same error messages. 'nm' clearly shows the method which 
is presumably undefined. What's wrong here?

I am afraid this is getting slightly off-topic, but still hope that someone 
could help me out here.

Jan

build:~/builds/kde/kdegraphics/kuickshow/src # make
/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 -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i386 -mcpu=i686 
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-I/usr/X11R6/include   -o kuickshow -L/usr/X11R6/lib -L/opt/qt/lib 
-L/opt/kde310/lib  -R /opt/kde310/lib -R /opt/qt/lib -R /usr/X11R6/lib 
dummy.o kuickshow.la -lkio -L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz 
-lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11
./.libs/kuickshow.so: undefined reference to `KIO::NetAccess::mimetype(KURL 
const &)'
collect2: ld returned 1 exit status
make: *** [kuickshow] Error 1

build:/opt/kde310/lib # nm -C libkio.so |grep "NetAccess.*KURL"
0010efa8 T KIO::NetAccess::copyInternal(KURL const &, KURL const &, bool)
0010e48c T KIO::NetAccess::copy(KURL const &, KURL const &)
0010f118 T KIO::NetAccess::delInternal(KURL const &)
0010e984 T KIO::NetAccess::del(KURL const &)
0010f034 T KIO::NetAccess::dircopyInternal(KURL const &, KURL const &)
0010e560 T KIO::NetAccess::dircopy(KURL const &, KURL const &)
0010dfb4 T KIO::NetAccess::download(KURL const &, QString &)
0010e630 T KIO::NetAccess::exists(KURL const &)
0010e75c T KIO::NetAccess::exists(KURL const &, bool)
0010ebf0 T KIO::NetAccess::mimetypeInternal(KURL const &)
0010eb20 T KIO::NetAccess::mimetype(KURL const &)
0010f180 T KIO::NetAccess::mkdirInternal(KURL const &, int)
0010ea50 T KIO::NetAccess::mkdir(KURL const &, int)
0010f098 T KIO::NetAccess::statInternal(KURL const &, int, bool)
0010e884 T KIO::NetAccess::stat(KURL const &, QValueList<KIO::UDSAtom> &)
0010e2fc T KIO::NetAccess::upload(QString const &, KURL const &)
___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list