From: sds@tycho.nsa.gov (Stephen Smalley) Date: Tue, 07 Apr 2009 15:26:31 -0400 Subject: [refpolicy] SELinux userpace compile errors In-Reply-To: References: Message-ID: <1239132391.29028.35.camel@localhost.localdomain> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com 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