Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] glibc

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] glibc
  • Date: Sun, 13 Mar 2005 19:28:43 +0100

On Mon, Mar 14, 2005 at 01:10:35AM +0800, Craig Dyke wrote:
> Howdy all
>
> Not sure if I missed something along the way with all the emails about
> glibc 2.3.4,
> but, I have been unable to get it to cast successfully.
>
> Here is the end of my compile log (which I have replicated several times):
>
> gcc nscd_stat.c -c -std=gnu99 -O -O3 -Wall -Winline -Wstrict-prototypes
> -Wwrite-strings -m32 -m3dnow -march=k8 -mfpmath=sse -mmmx -msse -msse2
> -pipe -mpreferred-stack-boundary=2 -DIS_IN_nscd=1 -I../include -I.
> -I/usr/src/glibc-2.3.4.bld/nscd -I.. -I../libio -I../nptl
> -I/usr/src/glibc-2.3.4.bld -I../sysdeps/i386/elf
> -I../nptl/sysdeps/unix/sysv/linux/i386/i686
> -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux
> -I../nptl/sysdeps/pthread -I../sysdeps/pthread
> -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix
> -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386
> -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
> -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
> -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
> -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu
> -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
> -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
> -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include -isystem
> /usr/src/glibc-2.3.4/linux-libc-headers-2.6.10.0/include
> -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h
> -DNOT_IN_libc=1 -o /usr/src/glibc-2.3.4.bld/nscd/nscd_stat.o -MD -MP
> -MF /usr/src/glibc-2.3.4.bld/nscd/nscd_stat.o.dt -MT
> /usr/src/glibc-2.3.4.bld/nscd/nscd_stat.o
> nscd_stat.c:34:30: selinux/selinux.h: No such file or directory
> nscd_stat.c:35:26: selinux/avc.h: No such file or directory
> nscd_stat.c:81: error: field `cstats' has incomplete type
> make[3]: Leaving directory `/usr/src/glibc-2.3.4/nscd'
> make[3]: *** [/usr/src/glibc-2.3.4.bld/nscd/nscd_stat.o] Error 1
> make[2]: Leaving directory `/usr/src/glibc-2.3.4'
> make[2]: *** [nscd/others] Error 2
> make[1]: Leaving directory `/usr/src/glibc-2.3.4.bld'
> make[1]: *** [all] Error 2

Do you have libselinux installed? I just checked my compile log of glibc
and saw that it does check for it. I guess this are really two bugs:
1) glibc should optional_depend on libselinux
2) it should work with libselinux installed
That's the only reason I can imagine that would make glibc look for
selinux headers.

> I am running the following:
>
> Athlon64 (3200)
> Sorcery: devel
> Grimoire: test
>
> The only thing I found familiar was the reference to selinux in the fact
> that I had previously said
> 'yes' when casting udev and shadow to have selinux support.
>
> I have tried recasting both these spells and removing the support and
> then recasting glibc,
> but to no avail.
>
> Would be happy if someone would point me in the right direction :)
>
> Craig
>
> PS. Really sorry if it is just my domestic blindness and someone else
> has already raised this.
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page