This is the mail archive of the 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]
Other format: [Raw text]

Re: nscd broken...

On Wed, Feb 18, Andreas Jaeger wrote:

> nscd does not build, it fails with:
> nscd_conf.c: In function `nscd_parse_file':
> nscd_conf.c:59: warning: implicit declaration of function `__fsetlocking'
> nscd_conf.c:59: error: `FSETLOCKING_BYCALLER' undeclared (first use in this function)
> nscd_conf.c:59: error: (Each undeclared identifier is reported only once
> nscd_conf.c:59: error: for each function it appears in.)

Use this: 

--- nscd/nscd_conf.c
+++ nscd/nscd_conf.c    2004/02/17 14:45:50
@@ -21,6 +21,7 @@
 #include <malloc.h>
 #include <pwd.h>
 #include <stdio.h>
+#include <stdio_ext.h>
 #include <stdlib.h>
 #include <string.h>
 #include <libintl.h>

Thorsten Kukuk
SuSE Linux AG        Maxfeldstr. 5                 D-90409 Nuernberg
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

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