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

Library in "." with ocamlbuild doesn't work #155

Closed
gildor478 opened this issue Oct 24, 2020 · 1 comment
Closed

Library in "." with ocamlbuild doesn't work #155

gildor478 opened this issue Oct 24, 2020 · 1 comment
Labels

Comments

@gildor478
Copy link
Member

This bug has been migrated from artifact #409 on forge.ocamlcore.org. It was assigned to user102. It was closed on 2010-03-19 00:15:53.

user102 posted on 2009-11-19 14:37:18:

E.g. the attached _oasis file has problem.

OCamlAutobuild
ocaml setup.ml -configure
ocaml setup.ml -build -classic-display
Running command '/usr/bin/ocamlbuild ./with-c.cma ./with-c.cmxa main.byte -classic-display'
ocamlfind ocamlopt -c -o A.cmx A.ml
ocamlfind ocamlopt -a -linkpkg A.cmx -o with-c.cmxa
Solver failed:
Ocamlbuild knows of no rules that apply to a target named ./with-c.mly. This can happen if you ask Ocamlbuild to build a target with the wrong extension (e.g. .opt instead of .native) or if the source files live in directories that have not been specified as include directories.
Backtrace:

  • Failed to build the target main.byte
    • Building main.byte:
      • Building ./with-c.cma:
        • Failed to build all of these:
          • Building ./with-c.cmo:
            • Failed to build all of these:
              • Building ./with-c.ml:
                • Failed to build all of these:
                  • Building ./with-c.mly
                  • Building ./with-c.mll
              • Building ./with-c.mli:
                • Building ./with-c.mly
              • Building ./with-c.mlpack
              • Building ./with-c.mli:
                • Building ./with-c.mly
          • Building ./with-c.mllib
            Failure("Command '/usr/bin/ocamlbuild ./with-c.cma ./with-c.cmxa main.byte -classic-display' terminated with error code 6")
@gildor478
Copy link
Member Author

_oasis.problem.txt

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

No branches or pull requests

1 participant