This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to compile glibc 2.2


>>>>> Andreas Jaeger writes:

 > With Uli's recent changes I needed to apply the appended patch to
 > compile glibc.

 > But there's still one open problem:
 > usr/src/build-glibc/20000102-main/nscd/connections.o: In function `nscd_init':
 > /usr/src/cvs/libc/nscd/connections.c:135: undefined reference to `pthread_rwlock_init'
 > collect2: ld returned 1 exit status
 > make[2]: *** [/usr/src/build-glibc/20000102-main/nscd/nscd] Error 1

 > Andreas

Sorry, I forgot the patch :-(

2000-02-28  Andreas Jaeger  <aj@suse.de>

	* stdlib/canonicalize.c: Include <stddef.h> for ptrdiff_t.

============================================================
Index: stdlib/canonicalize.c
--- stdlib/canonicalize.c	2000/02/22 08:49:38	1.16
+++ stdlib/canonicalize.c	2000/02/28 07:19:25
@@ -24,6 +24,7 @@
 #include <sys/param.h>
 #include <sys/stat.h>
 #include <errno.h>
+#include <stddef.h>
 
 /* Return the canonical absolute name of file NAME.  A canonical name
    does not contain any `.', `..' components nor any repeated path

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]