* Build failure with --enable-static-nss in glibc 2.35
@ 2022-08-01 17:09 Andrew Pinski
0 siblings, 0 replies; only message in thread
From: Andrew Pinski @ 2022-08-01 17:09 UTC (permalink / raw)
To: GNU C Library
Hi all, I get the following build failure if I use --enable-static-nss
while configuring:
nss_module.c: In function ‘module_load_nss_files’:
nss_module.c:153:7: error: ‘is_nscd’ undeclared (first use in this function)
153 | if (is_nscd)
| ^~~~~~~
nss_module.c:153:7: note: each undeclared identifier is reported only
once for each function it appears in
nss_module.c:155:51: error: ‘nscd_init_cb’ undeclared (first use in
this function); did you mean ‘nscd_init’?
155 | void (*cb) (size_t, struct traced_file *) = nscd_init_cb;
| ^~~~~~~~~~~~
| nscd_init
nss_module.c: In function ‘module_load’:
nss_module.c:248:7: error: ‘is_nscd’ undeclared (first use in this function)
248 | if (is_nscd)
| ^~~~~~~
nss_module.c:266:55: error: ‘nscd_init_cb’ undeclared (first use in
this function); did you mean ‘nscd_init’?
266 | void (*cb) (size_t, struct traced_file *) = nscd_init_cb;
| ^~~~~~~~~~~~
| nscd_init
is_nscd is conditional included by:
#if defined USE_NSCD && (!defined DO_STATIC_NSS || defined SHARED)
/* Nonzero if this is the nscd process. */
static bool is_nscd;
But is conditional used by something different:
#ifdef USE_NSCD
if (is_nscd)
The source has not changed on the head of the git repo either.
Thanks,
Andrew
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-01 17:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 17:09 Build failure with --enable-static-nss in glibc 2.35 Andrew Pinski
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).