Re: policycoreutils build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux