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

alien.c:358:54: error: ‘FFI_SYSV’ undeclared here (not in a function) #64

Open
senlinding opened this issue Jun 1, 2022 · 1 comment

Comments

@senlinding
Copy link

alien.c:358:54: error: ‘FFI_SYSV’ undeclared here (not in a function)

@ossie-git
Copy link

I ran into this and was able to solve it by modifying alien.c and adding these lines:

#if defined (X86_64) || defined (__x86_64__)
#define FFI_SYSV FFI_UNIX64
#endif

and it compiled and ran successfully

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