kdoctools doesn't link

John Firebaugh jfirebaugh at kde.org
Sat Apr 20 20:47:18 BST 2002


When linking in the kdelibs/kdoctools subdir, I get the following error:

.libs/xslt.o: In function `findFilterByFileName(QString const &)':
.libs/xslt.o(.text+0x13c8): undefined reference to 
`KBzip2Filter::KBzip2Filter(void)'
collect2: ld returned 1 exit status
make[2]: *** [kio_help.la.closure] Error 1

This is because I don't have the bzip2 development libraries, which causes 
kioslave/bzip2 not to be compiled, which causes HAVE_BZIP2_SUPPORT to be 
undefined, which causes kdoctools/kbzip2filter to #define out all of its 
source, including the constructor, which causes link errors with xslt, which 
does not check to see of HAVE_BZIP2_SUPPORT is defined but calls the 
constructor anyway.

Not sure of the best way to fix; probably the kdoctools subdir should not be 
compiled at all.

-John




More information about the kde-core-devel mailing list