Compiling KDK 1.2; problem with libkimgio.so

Bodo Horchner bodo at freeler.nl
Wed Aug 9 13:14:10 UTC 2000


Hello,

Ik tried to compile the sources in the KDK 1.2, but I encountered a
problem.

When executing the folowing command (I just typed 'make'):
g++ -O2 -fno-exceptions -fno-rtti -fno-check-new -frtti -s -o
.libs/kdevelop klistview.o ckdevelop.o main.o cnewfiledlg.o
.
.
.
cdocbrowser.moc.o ckdevelop.moc.o -L/usr/X11R6/lib
-L/usr/lib/qt-1.45/lib -L/usr/lib ./vc/libvc.a ./dbg/libdbg.a
./print/libprint.a ./gfxview/libgfxview.a ./kdlgedit/libkdlgedit.a
./kwrite/libkwrite.a ./classparser/libclassparser.a
./classwizard/libclasswizard.a /usr/lib/libkfile.so
-L/usr/lib/qt-1.45/lib -L/usr/X11R6/lib -L/usr/lib/qt-1.45/lib
-L/usr/X11R6/lib -lXext -lqt -lX11 /usr/lib/libkfm.so
/usr/lib/libkdecore.so -lXext -lqt -lXext -lX11 /usr/lib/libkdeui.so
/usr/lib/libkdecore.so -lXext -lqt -lXext -lX11 /usr/lib/libkimgio.so
/usr/lib/libjpeg.so /usr/lib/libkhtmlw.so /usr/lib/libjscript.so
/usr/lib/libkdeui.so /usr/lib/libkdecore.so -lXext -lqt -lXext -lX11
-lfl -ldl -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib/qt-1.45/lib
-Wl,--rpath -Wl,/usr/X11R6/lib

I recieve the following error messages:
/usr/lib/libkimgio.so: undefined reference to `png_set_strip_16'
/usr/lib/libkimgio.so: undefined reference to `png_set_filler'
/usr/lib/libkimgio.so: undefined reference to `png_create_read_struct'
/usr/lib/libkimgio.so: undefined reference to
`png_set_interlace_handling'
/usr/lib/libkimgio.so: undefined reference to `TIFFReadRGBAImage'
/usr/lib/libkimgio.so: undefined reference to `png_set_packing'
/usr/lib/libkimgio.so: undefined reference to `png_set_gray_to_rgb'
/usr/lib/libkimgio.so: undefined reference to `png_set_IHDR'
/usr/lib/libkimgio.so: undefined reference to `png_malloc'
/usr/lib/libkimgio.so: undefined reference to `png_create_write_struct'
/usr/lib/libkimgio.so: undefined reference to `png_write_info'
/usr/lib/libkimgio.so: undefined reference to `png_set_PLTE'
/usr/lib/libkimgio.so: undefined reference to `TIFFClose'
/usr/lib/libkimgio.so: undefined reference to `png_set_expand'
/usr/lib/libkimgio.so: undefined reference to `TIFFOpen'
/usr/lib/libkimgio.so: undefined reference to `png_write_end'
/usr/lib/libkimgio.so: undefined reference to `png_read_info'
/usr/lib/libkimgio.so: undefined reference to `png_destroy_read_struct'
/usr/lib/libkimgio.so: undefined reference to `png_write_image'
/usr/lib/libkimgio.so: undefined reference to `png_read_update_info'
/usr/lib/libkimgio.so: undefined reference to `png_read_row'
/usr/lib/libkimgio.so: undefined reference to `png_create_info_struct'
/usr/lib/libkimgio.so: undefined reference to `png_destroy_write_struct'

/usr/lib/libkimgio.so: undefined reference to `TIFFGetField'
/usr/lib/libkimgio.so: undefined reference to `png_init_io'
/usr/lib/libkimgio.so: undefined reference to `png_read_end'
collect2: ld returned 1 exit status
make[4]: *** [kdevelop] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-recursive] Error 1

Here is some version information:
RedHat 6.2
KDE 1.1.2
libkimgio.so.2.0.0
KDK 1.2

These are the options that I passed to the configure script:
--with-qt-dir=/usr/lib/qt-1.45
--with-qt-includes=/usr/lib/qt-1.45/include
--with-qt-libraries=/usr/lib/qt-1.45/lib
--with-qtdoc-dir=/usr/doc/qt1x-devel-1.45

Could you tell me what do I wrong?

Kind regards,
Daniel Horchner







More information about the KDevelop-devel mailing list