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

Update Makefile (otp 26) #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lauragrechenko
Copy link

With Erlang/OTP 26, the build fails with the error:

#26 204.6 make: Entering directory '/app/deps/keccakf1600/c_src'
#26 206.0 Error! Failed to eval: io:format("~s/erts-~s/include/", [code:root_dir(), erlang:system_info(version)]).
#26 206.0 
#26 207.5 Error! Failed to eval: io:format("~s", [code:lib_dir(erl_interface, include)]).
#26 207.5 
#26 207.5  C      decaf-utils.c
#26 209.1 Error! Failed to eval: io:format("~s/erts-~s/include/", [code:root_dir(), erlang:system_info(version)]).
#26 209.1 
#26 210.6 Error! Failed to eval: io:format("~s", [code:lib_dir(erl_interface, include)]).
#26 210.6 
#26 210.6  C      keccakf1600_nif.c
#26 210.6 In file included from /app/deps/keccakf1600/c_src/keccakf1600_nif.c:4:
#26 210.6 /app/deps/keccakf1600/c_src/keccakf1600_nif.h:9:10: fatal error: erl_nif.h: No such file or directory
#26 210.6     9 | #include <erl_nif.h>
#26 210.6       |          ^~~~~~~~~~~
#26 210.6 compilation terminated.
#26 210.6 make: *** [Makefile:146: /app/deps/keccakf1600/c_src/keccakf1600_nif.o] Error 1
#26 210.6 make: Leaving directory '/app/deps/keccakf1600/c_src'

The discussion is here: erlang/otp#6916

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

Successfully merging this pull request may close these issues.

1 participant