[Kde-nonlinux] Re: Fwd: Re: Compiling on Solaris 2.6
Simon Josefsson
kde-nonlinux@kde.org
Sat, 02 Mar 2002 16:52:38 +0100
Simon Josefsson <jas@extundo.com> writes:
> Waldo Bastian <bastian@kde.org> writes:
>
>> On Saturday 16 February 2002 11:53 am, Simon Josefsson wrote:
>>> Still, kdenetwork doesn't compile as Solaris 2.6 doesn't have
>>> inet_aton(). I'm not sure how you want to solve it..
>>
>> Does the following patch work? It compiles but I haven't been able to actually
>> test it.
>
> Thanks for the patch, I will test it once I get kdelibs to compile
> again. It fails with the error below. I have re-checked out and
> built again in a clean directory, and the problem persists. CVS HEAD
> as of now. Any ideas?
It seems if my linker does not like empty archives. This patch fixes
it, but maybe the makefiles could be rewritten not to link with
libklmalloc unless KDE_MALLOC is defined.
Index: malloc/malloc.c
===================================================================
RCS file: /cvs/kdelibs/kdecore/malloc/malloc.c,v
retrieving revision 1.3
diff -w -u -r1.3 malloc.c
--- malloc/malloc.c 2002/02/23 08:29:48 1.3
+++ malloc/malloc.c 2002/03/02 15:52:44
@@ -1,5 +1,7 @@
#include <config.h>
+void kdemallocdummyfunction () { return; }
+
#ifdef KDE_MALLOC
#define USE_MALLOC_LOCK