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

Errors compiling for yara 3.5 #51

Closed
gpoetzelsberger opened this issue Feb 26, 2019 · 1 comment
Closed

Errors compiling for yara 3.5 #51

gpoetzelsberger opened this issue Feb 26, 2019 · 1 comment

Comments

@gpoetzelsberger
Copy link

Hi,

When I try to build the most recent version of go-yara against yara 3.5 it fails with the following error:

go build -tags yara3.5
vendor/github.com/hillu/go-yara/config.go:17:39: could not determine kind of name for C.YR_CONFIG_MAX_STRINGS_PER_RULE

It seems that the config.go is not correctly excluded for yara 3.5. Building it against yara 3.7 works fine. Previous versions of go-yara also worked fine; building v1.0.8 against yara 3.5 does not generate errors.

Thank you!

@hillu
Copy link
Owner

hillu commented Feb 26, 2019

Thanks for spotting!

@hillu hillu closed this as completed in 07a23f9 Feb 26, 2019
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