Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error:unknown type name 'filename_trans_key_t';did you mean 'filename trans_rule _t' #142

Closed
Harlotte765 opened this issue Nov 19, 2024 · 3 comments

Comments

@Harlotte765
Copy link

When I "python3 setup.py build",it find "setools/policyrep.c:4296:1:error:unknown type name 'filename_trans_key_t';did you mean 'filename trans_rule _t"

@pebenito
Copy link
Member

What version of libsepol do you have?

@Harlotte765
Copy link
Author

When I downloaded libsepol, it showed no matching version, so I downloaded libsepol1-dev, which is 3.0-1ubuntu0.1

@pebenito
Copy link
Member

This is too old; you'll need libsepol 3.2 at a minimum, with 3.6+ being better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants