From 150ae521207dd679bbc293d09ddf3654e832e36a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 23 Feb 2000 23:17:41 +0000 Subject: [PATCH] Update. * dlfcn/dlopenold.c: Likewise. --- ChangeLog | 1 + FAQ | 19 +++++++++++++++++++ dlfcn/dlopenold.c | 3 ++- 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5d554d8004..5cc5dd2ebe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2000-02-23 Andreas Jaeger * dlfcn/dlopen.c: Include for NULL. + * dlfcn/dlopenold.c: Likewise. * dlfcn/dlsym.c: Likewise. * dlfcn/dlvsym.c: Likewise. * iconv/gconv.c: Likewise. diff --git a/FAQ b/FAQ index d8148cf50a..9bcbf6cf25 100644 --- a/FAQ +++ b/FAQ @@ -44,6 +44,8 @@ please let me know. 1.18. How can I compile on my fast ix86 machine a working libc for my slow i386? After installing libc, programs abort with "Illegal Instruction". +1.19. `make' complains about a missing dlfcn/libdl.so when building + malloc/libmemprof.so. How can I fix this? 2. Installation and configuration issues @@ -548,6 +550,23 @@ And you need to tell gcc to only generate i386 code, just add `-mcpu=i386' {UD} This applies not only to the i386. Compiling on a i686 for any older model will also fail if the above methods are not used. + +1.19. `make' complains about a missing dlfcn/libdl.so when building + malloc/libmemprof.so. How can I fix this? + +{AJ} Older make version (<= 3.78.90) have a bug which was hidden by a bug in +glibc (<= 2.1.2). You need to upgrade make to a newer or fixed version. A +patch is available via +. + +After upgrading make, you should remove the file sysd-sorted in your build +directory. The problem is that the broken make creates a wrong order for +one list in that file. The list has to be recreated with the new make - +which happens if you remove the file. + +You might encounter this bug also in other situations where make scans +directories. I strongly advise to upgrade your make version. + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . diff --git a/dlfcn/dlopenold.c b/dlfcn/dlopenold.c index f453cfb881..bc7fd37e3f 100644 --- a/dlfcn/dlopenold.c +++ b/dlfcn/dlopenold.c @@ -1,5 +1,5 @@ /* Load a shared object at run time. - Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ #include +#include /* This file is for compatibility with glibc 2.0. Compile it only if versioning is used. */