This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/17956] Glibc compilation fails on missing definitions from header file nss/nss.h


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.


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