From kde-devel Mon Jan 28 12:26:17 2008 From: Carlo Date: Mon, 28 Jan 2008 12:26:17 +0000 To: kde-devel Subject: Re: Build error linking -lgeneral Message-Id: <3262b6180801280426o74a3c4d9u7fc7ab1a3d37462c () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=120152321802570 i had the same linking error the other day, i've removed everything that kde4 installed and also the build dir and i've recompiled everything without any problems On Jan 28, 2008 1:13 PM, wrote: > Selon Andreas Pakulat : > > > On 27.01.08 00:12:52, Michael Pyne wrote: > > > On Friday 25 January 2008, kleag@free.fr wrote: > > > > From when can come these "-lgeneral" ? > > > > > > I was wondering the same thing myself. I would occasionally get this > > error. > > > > I can explain what happens, but not yet why :) This happens if you build > > kdelibs with a recent build of cmake cvs, for some reason the CMake > > function export_library_dependencies puts "general" into the > > KDELibsDependencies.cmake file which is generated during the kdelibs > > build and is used to fill the KDE4_XXX_LIBS variables. > OK. I found these "general" strings in this file: > /opt/kde4/share/apps/cmake/modules/KDELibsDependencies.cmake from the package > kdelibs4-devel-4.0.0-5mdv2008.0. > But how was Mandriva able to build all the other kde4 packages, then ? > > And should it work if I remove all these strings from this file ? I'll try > anyway... > > Kleag > > > > > There's also another bug in CMake CVS which prevents it from adding the > > needed -L switches to the linker calls, so currently CMake CVS is broken > > and can't build kde4. I've already notified the cmake list, but I > > suspect the cmake devs will only read it tomorrow. > > > > Andreas > > > > -- > > Better hope the life-inspector doesn't come around while you have your > > life in such a mess. > > > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe > > << > > > > > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<