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

Compiler warning about undeclared dependencies #7

Open
fogti opened this issue Nov 23, 2022 · 0 comments
Open

Compiler warning about undeclared dependencies #7

fogti opened this issue Nov 23, 2022 · 0 comments

Comments

@fogti
Copy link

fogti commented Nov 23, 2022

I use the following Mix config in a downstream project: https://git.exozy.me/zseri/floof/src/commit/f03838ba6e181b8a679e757808cd2d2878884314/mix.exs

And run into the following error:

==> asn1ex
Compiling 1 file (.ex)
warning: :asn1ct.compile/2 defined in application :asn1 is used by the current application but the current application does not depend on :asn1. To fix this, you must do one of:

  1. If :asn1 is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :asn1 is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :asn1, you may optionally skip this warning by adding [xref: [exclude: [:asn1ct]]] to your "def project" in mix.exs

  lib/mix/tasks/compile.asn1.ex:55: Mix.Tasks.Compile.Asn1.run/1

Generated asn1ex app
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

1 participant