* (no subject)
@ 2012-02-11 13:13 Kovacsics Róbert
2012-02-21 20:33 ` policycoreutils build error Stephen Smalley
0 siblings, 1 reply; 2+ messages in thread
From: Kovacsics Róbert @ 2012-02-11 13:13 UTC (permalink / raw)
To: SELinux
Hello all!
I would like to ask for assistance on compiling SELinux (particularly
policycoreutils 2.1.0)
Here is my setup:
*Linux from scratch running kernel 3.2.5
*Installed libsepol
*Installed libselinux
*Installed libsemanage
*Installed sepolgen
*Installed checkpolicy
Error on installing policycoreutils-2.1.0
Error:
make[1]: Entering directory
`/blfs-sources/selinux/policycoreutils-2.1.0/sandbox'
cc -I/usr/include -DPACKAGE="\"policycoreutils\"" -c -o seunshare.o
seunshare.c
seunshare.c: In function ‘main’:
seunshare.c:242:21: error: ‘CLONE_NEWNS’ undeclared (first use in this function)
seunshare.c:242:21: note: each undeclared identifier is reported only
once for each function it appears in
make[1]: *** [seunshare.o] Error 1
make[1]: Leaving directory `/blfs-sources/selinux/policycoreutils-2.1.0/sandbox'
make: *** [all] Error 1
Thank you for any assistance
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: policycoreutils build error
2012-02-11 13:13 Kovacsics Róbert
@ 2012-02-21 20:33 ` Stephen Smalley
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2012-02-21 20:33 UTC (permalink / raw)
To: Kovacsics Róbert; +Cc: SELinux
On Sat, 2012-02-11 at 13:13 +0000, Kovacsics Róbert wrote:
> Hello all!
>
> I would like to ask for assistance on compiling SELinux (particularly
> policycoreutils 2.1.0)
>
> Here is my setup:
> *Linux from scratch running kernel 3.2.5
> *Installed libsepol
> *Installed libselinux
> *Installed libsemanage
> *Installed sepolgen
> *Installed checkpolicy
>
> Error on installing policycoreutils-2.1.0
> Error:
> make[1]: Entering directory
> `/blfs-sources/selinux/policycoreutils-2.1.0/sandbox'
> cc -I/usr/include -DPACKAGE="\"policycoreutils\"" -c -o seunshare.o
> seunshare.c
> seunshare.c: In function ‘main’:
> seunshare.c:242:21: error: ‘CLONE_NEWNS’ undeclared (first use in this function)
> seunshare.c:242:21: note: each undeclared identifier is reported only
> once for each function it appears in
> make[1]: *** [seunshare.o] Error 1
> make[1]: Leaving directory `/blfs-sources/selinux/policycoreutils-2.1.0/sandbox'
> make: *** [all] Error 1
$ grep CLONE_NEWNS /usr/include/*/*.h
/usr/include/bits/sched.h:# define CLONE_NEWNS 0x00020000 /* Set to create new namespace. */
/usr/include/linux/sched.h:#define CLONE_NEWNS 0x00020000 /* New namespace group? */
--
Stephen Smalley
National Security Agency
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-21 20:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-11 13:13 Kovacsics Róbert
2012-02-21 20:33 ` policycoreutils build error Stephen Smalley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.