This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/17956] Glibc compilation fails on missing definitions from header file nss/nss.h
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 12 Feb 2015 22:00:20 +0000
- Subject: [Bug build/17956] Glibc compilation fails on missing definitions from header file nss/nss.h
- Auto-submitted: auto-generated
- References: <bug-17956-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17956
--- Comment #5 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to g.trentalancia from comment #4)
> Yes, there might be better solutions...
>
> I am using the following environment variables and configure options:
>
> CPPFLAGS="-I/usr/include/nss3 -I/usr/include/nspr"
>
> --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-selinux
> --enable-nss-crypt --enable-stackguard-randomization
>
> Can you propose a better patch ?
You shouldn't need the patch.
For example in files-XXX.c the inclusion of nsswitch.h includes nss.h.
Your environment is broken, either the compiler is broken, or the header
directories you include are breaking your configuration.
Try configuring without nss3 or nspr first.
--
You are receiving this mail because:
You are on the CC list for the bug.