public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* nscd broken...
@ 2004-02-18 17:59 Andreas Jaeger
  2004-02-18 18:06 ` Thorsten Kukuk
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Jaeger @ 2004-02-18 17:59 UTC (permalink / raw)
  To: Glibc hackers

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]


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.)

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nscd broken...
  2004-02-18 17:59 nscd broken Andreas Jaeger
@ 2004-02-18 18:06 ` Thorsten Kukuk
  0 siblings, 0 replies; 2+ messages in thread
From: Thorsten Kukuk @ 2004-02-18 18:06 UTC (permalink / raw)
  To: Glibc hackers

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       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE Linux AG        Maxfeldstr. 5                 D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-18 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-18 17:59 nscd broken Andreas Jaeger
2004-02-18 18:06 ` Thorsten Kukuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).