Compilation error - cannot find -lutil

Ralf Habacker ralf.habacker at freenet.de
Fri Apr 2 12:01:36 CEST 2004


On Friday 02 April 2004 11:00, Sean Kelly wrote:
> 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?

Newer inetuils does not provide any libraries, because it is integrated in the 
cygwin dll. 

Try 
ln -s libcygwin.a /usr/lib/libutil.a 

Ralf 



More information about the kde-cygwin mailing list