aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--FAQ19
-rw-r--r--dlfcn/dlopenold.c3
3 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d554d8..5cc5dd2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2000-02-23 Andreas Jaeger <aj@suse.de>
* dlfcn/dlopen.c: Include <stddef.h> 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 d8148cf..9bcbf6c 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
+<http://sourceware.cygnus.com//ml/libc-alpha/2000-02/msg00067.html>.
+
+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 f453cfb..bc7fd37 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 <dlfcn.h>
+#include <stddef.h>
/* This file is for compatibility with glibc 2.0. Compile it only if
versioning is used. */