Compilation error - cannot find -lutil

Sean Kelly lists at shortestpath.org
Fri Apr 2 11:00:05 CEST 2004


Hi,

  I am trying to compile KDevelop 3.0.2.  I have followed the general 
instructions on the webpage for compiling apps under the kde-cygwin 
environment but the "make" of kdevelop fails part way through.

  The command that fails is:

make[4]: Entering directory `/tmp/kdevelop-3.0.2/parts/doctreeview'
/bin/bash ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-
dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -
fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -
DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o 
kdevelop-htdig.exe -L/usr/X11R6/lib -L/opt/qt3/lib -L/opt/kde3/lib   
htdigindex.o ../../lib/libkdevelop.la -lkio -lkdeui

and the error is:

/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: 
cannot find -lutil
collect2: ld returned 1 exit status

  In the mailing list archives, I can find reference to another "cannot 
find -lutil" error (http://lists.kde.org/?l=kde-
cygwin&m=107783718612306&w=2) but the solution provided by Ralf 
was "install inetutils".  I have the latest inetutils installed so, in my 
case at least, this solution does not work.

  I've had a look at my kde-cygwin installation and cannot find libutil 
anywhere.

  Any ideas?

  Thanks,

-- 
Sean Kelly <lists at shortestpath.org>


More information about the kde-cygwin mailing list