[refpolicy] SELinux userpace compile errors
Stephen Smalley
sds at tycho.nsa.gov
Tue Apr 7 14:26:31 CDT 2009
On Tue, 2009-04-07 at 12:17 -0700, Justin Mattock wrote:
> compiling the userspace tools
> I'm receiving some errors:
> (the first is just a simple "make" instead of "sudo make")
The default top-level target is 'install'. So you either need to do it
as root or specify DESTDIR=/path/to/root for a writable tree.
> the second seems to maybe be with the gcc
> (which is 4.5.0)
>
>
>
> policy_define.c: In function 'set_types':
> policy_define.c:1304: error: offset '3' outside bounds of constant string
> policy_define.c:1316: error: offset '3' outside bounds of constant string
> policy_define.c:1328: error: offset '3' outside bounds of constant string
Bug in gcc, already known to gcc folks.
--
Stephen Smalley
National Security Agency
More information about the refpolicy
mailing list