"undefined reference to `TIFF...'" while linking

Johannes Schritz johannes at schritz.de
Wed Aug 4 01:23:21 BST 1999


Hello,

I'm running KDE 1.1.1 from the deb-packages for Debian 2.2 (potato).
./configure does not report any errors, neither does the compilation.
When linking, the following happens:

====================================================================

[ ... lots of "nothing to be done" ... ]

make[3]: Leaving directory `/home/johannes/kdevelop-1.0beta1/kdevelop/vc'
Making all in gfxview
make[3]: Entering directory `/home/johannes/kdevelop-1.0beta1/kdevelop/gfxview'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/johannes/kdevelop-1.0beta1/kdevelop/gfxview'
Making all in classwizard
make[3]: Entering directory `/home/johannes/kdevelop-1.0beta1/kdevelop/classwizard'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/johannes/kdevelop-1.0beta1/kdevelop/classwizard'
make[3]: Entering directory `/home/johannes/kdevelop-1.0beta1/kdevelop'
/bin/sh ../libtool --silent --mode=link g++  -O2 -Wall -s -o kdevelop -L/usr/lib  -L/usr/X11R6/lib -rpath /usr/lib -rpath /usr/X11R6/lib  klistview.o ckdevelop.o main.o cnewfiledlg.o coutputwidget.o ckdevelop_init.o ctabctl.o ckdevelop_noslot.o ckdevelop_project.o cclassview.o ceditwidget.o ckdevsetupdlg.o ckdevelop_classview.o cprjoptionsdlg.o ckappwizard.o crealfileview.o clogfileview.o cdocbrowser.o cproject.o kswallow.o cgeneratenewfile.o doctreeview.o cnewclassdlg.o cfilepropdlg.o caddexistingfiledlg.o cgrouppropertiesdlg.o cupdatekdedocdlg.o ccreatedocdatabasedlg.o ctoolclass.o cdoctreepropdlg.o ckdevelop_whatsthis.o cfinddoctextdlg.o kstartuplogo.o ktipofday.o ckdevinstall.o ckdevelop_kdlginit.o caddclassmethoddlg.o caddclassattributedlg.o cclasstooldlg.o cclasstreehandler.o ctreehandler.o ctreeview.o cerrormessageparser.o cexecuteargdlg.o ccvaddfolderdlg.o klangcombo.o caddnewtranslationdlg.o grepdialog.o ctoolsconfigdlg.o cbugreportdlg.o cclasstooltreeview.o cctviewdefinitioncmd.o cctviewdeclarationcmd.o cmakemanualdlg.o cmakemanualdlgdata.o doctreeview.moc.o ctoolsconfigdlg.moc.o cdoctreepropdlg.moc.o cclasstooltreeview.moc.o cupdatekdedocdlg.moc.o cexecuteargdlg.moc.o ceditwidget.moc.o ctreeview.moc.o caddexistingfiledlg.moc.o kstartuplogo.moc.o kswallow.moc.o cgrouppropertiesdlg.moc.o cbugreportdlg.moc.o cclassview.moc.o ckdevsetupdlg.moc.o cmakemanualdlg.moc.o coutputwidget.moc.o ccreatedocdatabasedlg.moc.o cnewclassdlg.moc.o cfilepropdlg.moc.o klangcombo.moc.o ctabctl.moc.o grepdialog.moc.o ckappwizard.moc.o clogfileview.moc.o klistview.moc.o crealfileview.moc.o ckdevinstall.moc.o cnewfiledlg.moc.o ktipofday.moc.o caddclassattributedlg.moc.o cclasstooldlg.moc.o cprjoptionsdlg.moc.o cfinddoctextdlg.moc.o ccvaddfolderdlg.moc.o caddclassmethoddlg.moc.o caddnewtranslationdlg.moc.o cdocbrowser.moc.o ckdevelop.moc.o  ./vc/libvc.a ./print/libprint.a ./gfxview/libgfxview.a ./kdlgedit/libkdlgedit.a ./kwrite/libkwrite.a ./classparser/libclassparser.a ./classwizard/libclasswizard.a -lkfile -lkfm -lkspell -lkhtmlw -lkimgio -ljpeg  -lpng -lz -lm -lqt -lpng -lz -lm -lX11  -lm -ljscript -lkdeui -lkdecore -lqt -lXext -lX11  -lfl -lgdbm -ldl
/usr/lib/libkimgio.so: undefined reference to `TIFFReadRGBAImage'
/usr/lib/libkimgio.so: undefined reference to `TIFFClose'
/usr/lib/libkimgio.so: undefined reference to `TIFFOpen'
/usr/lib/libkimgio.so: undefined reference to `TIFFGetField'
collect2: ld returned 1 exit status
make[3]: *** [kdevelop] Error 1
make[3]: Leaving directory `/home/johannes/kdevelop-1.0beta1/kdevelop'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/johannes/kdevelop-1.0beta1/kdevelop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/johannes/kdevelop-1.0beta1'
make: *** [all-recursive-am] Error 2

=============================================================================

Does anyone know which libraries are missing, if any? Do I need to get new
versions of some package?

I upgraded to Debian 2.2 via APT just yesterday, from Debian 2.1, running
kernel 2.2.10-ac12. KDE installed fine, only the installation of kdebase-2
gave the following error:

=============================================================================

johannes:~/kde# dpkg -i kdebase_1.1.1-19990523-2_i386.deb
dpkg - warning: downgrading kdebase from 1.1.1-19990523-3 to 1.1.1-19990523-2.
(Reading database ... 58682 files and directories currently installed.)
Preparing to replace kdebase 4:1.1.1-19990523-3 (using kdebase_1.1.1-19990523-2_i386.deb) ...
Unpacking replacement kdebase ...
Update-menus[10917]: further output (if any) will appear in /tmp/update-menus.10917
update-menus, debugging bug #42051. Everything OK nowSee also http://joostje.op.het.net/menu/index.html
Setting up kdebase (1.1.1-19990523-2) ...
wallpapers directory already exists...not creating.
update-menus, debugging bug #42051. Everything OK nowSee also http://joostje.op.het.net/menu/index.html
Use of uninitialized value at /usr/sbin/suidregister line 86.
suidregister: rkrusty: no such user
dpkg: error processing kdebase (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 kdebase      

=============================================================================

I would be very thankful if someone could assist me in resolving this
problem.

Johannes Schritz                           



More information about the KDevelop mailing list