|Main Archive Page > Month Archives > selinux archives|
On Wed, 2009-10-21 at 11:06 -0400, Eric Laganowski wrote:
> I was trying to build selinux userspace tools on my custom linux build.
> Everything went fine until I attempted to compile reference policy.
> Could you please help me in understanding what went wrong here.
> $ make policy
> Compiling refpolicy policy.24
> /usr/bin/checkpolicy policy.conf -o policy.24
> /usr/bin/checkpolicy: loading policy configuration from policy.conf
> policy/modules/kernel/corenetwork.te":1715:ERROR 'syntax error' at token ':' on line 9122:
> allow corenet_unconfined_type node_type:node *;
> checkpolicy: error(s) encountered while parsing configuration
> make: *** [policy.24] Error 1
> $ yacc -V
> yacc - 1.9 20090221
> $ flex -V
> flex 2.5.35
Sounds similar to:
which was an upstream flex problem. However, I also see that you are using yacc rather than bison? Default for building checkpolicy is bison -y, which could be relevant. -- 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 email@example.com with the words "unsubscribe selinux" without quotes as the message.