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

Cannot resolve symbols for win_create_process_native in opam-core on Windows #6148

Closed
kit-ty-kate opened this issue Aug 8, 2024 · 1 comment · Fixed by #6189
Closed

Cannot resolve symbols for win_create_process_native in opam-core on Windows #6148

kit-ty-kate opened this issue Aug 8, 2024 · 1 comment · Fixed by #6189

Comments

@kit-ty-kate
Copy link
Member

Detected in ocaml/opam-repository#26345

 #=== ERROR while compiling opam-0install.0.4.4 ================================#
  # context     2.2.0 | win32/x86_64 | ocaml.5.2.0 | file://D:/a/opam-repository/opam-repository
  # path        D:\opamroot\default\.opam-switch\build\opam-0install.0.4.4
  # command     D:\opamroot\default\bin\dune.exe build -p opam-0install -j 3 @install
  # exit-code   1
  # env-file    D:\opamroot\log\opam-0install-6432-95eca8.env
  # output-file D:\opamroot\log\opam-0install-6432-95eca8.out
  ### output ###
  # File "bin/dune", line 2, characters 7-11:
  # 2 |  (name main)
  #            ^^^^
  # (cd _build/default && D:\opamroot\default\bin\ocamlopt.opt.exe -w -40 -g -o bin/main.exe D:\opamroot\default\lib\re\re.cmxa D:\opamroot\default\lib\stdlib-shims\stdlib_shims.cmxa D:\opamroot\default\lib\ocamlgraph\graph.cmxa D:/opamroot/default/lib/ocaml\unix\unix.cmxa D:\opamroot\default\lib\opam-core\stubs/opam_stubs_win32.cmxa -I D:\opamroot\default\lib\opam-core\stubs D:\opamroot\default\[...]
  # ** Cannot resolve symbols for D:\opamroot\default\lib\opam-core\opam_core.a(opamStubs.o):
  #  win_create_process_native
  # ** Cannot resolve symbols for D:\opamroot\default\lib\opam-core\opam_core.a(opamProcess.o):
  #  win_create_process_native
  # File "caml_startup", line 1:
  # Error: Error during linking (exit code 2)
@kit-ty-kate kit-ty-kate added this to the 2.3.0~alpha milestone Aug 8, 2024
@kit-ty-kate kit-ty-kate changed the title opam-core doesn't compile with opam-core.stubs on Windows Cannot resolve symbols for win_create_process_native in opam-core on Windows Aug 8, 2024
@kit-ty-kate
Copy link
Member Author

Oh i remember why this issue feels familiar: I encountered it in #5966 (a700803)

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

Successfully merging a pull request may close this issue.

1 participant