[ERROR] The compilation of ocaml-base-compiler.5.2.0 failed at “make -j17”.
=== ERROR while compiling ocaml-base-compiler.5.2.0 ==========================#
context 2.2.1 | win32/x86_64 | | https://opam.ocaml.org#56a44a6040f25e01d56b8f0f0d1ce8020c2baffe
path ~\AppData\Local\opam\default.opam-switch\build\ocaml-base-compiler.5.2.0
command ~\AppData\Local\opam.cygwin\root\bin\make.exe -j17
exit-code 2
env-file ~\AppData\Local\Temp\opam-kozio-2064\ocaml-base-compiler-2064-88290e.env
output-file ~\AppData\Local\Temp\opam-kozio-2064\ocaml-base-compiler-2064-88290e.out
output
** Cannot resolve symbols for …/stdlib\libasmrun.a(startup_aux.n.o):
[…]
** Cannot resolve symbols for …/stdlib\libasmrun.a(win32.n.o):
__stdio_common_vswprintf
File “caml_startup”, line 1:
Error: Error during linking (exit code 2)
make[3]: *** [Makefile:160: flexlink.exe] Error 2
make[3]: Leaving directory ‘/cygdrive/c/Users/kozio/AppData/Local/opam/default/.opam-switch/build/ocaml-base-compiler.5.2.0/flexdll-sources’
make[2]: *** [Makefile:862: flexlink.opt.exe] Error 2
make[2]: Leaving directory ‘/cygdrive/c/Users/kozio/AppData/Local/opam/default/.opam-switch/build/ocaml-base-compiler.5.2.0’
make[1]: *** [Makefile:753: opt.opt] Error 2
make[1]: Leaving directory ‘/cygdrive/c/Users/kozio/AppData/Local/opam/default/.opam-switch/build/ocaml-base-compiler.5.2.0’
make: *** [Makefile:831: world.opt] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build ocaml-base-compiler 5.2.0
└─
┌─ The following changes have been performed (the rest was aborted)
│ ∗ install arch-x86_64 1
│ ∗ install base-bigarray base
│ ∗ install base-threads base
│ ∗ install base-unix base
│ ∗ install conf-mingw-w64-gcc-x86_64 1
│ ∗ install flexdll 0.43
│ ∗ install host-arch-x86_64 1
│ ∗ install host-system-mingw 1
│ ∗ install mingw-w64-shims 0.2.0
│ ∗ install ocaml-env-mingw64 1
│ ∗ install ocaml-options-vanilla 1
│ ∗ install system-mingw 1
└─
Run for /f “tokens=*” %i in (‘opam env --switch=default’) do @%i to update the current shell environment
Switch initialisation failed: clean up? (‘n’ will leave the switch partially installed) [y/n] y
[NOTE] Opam has been initialised, but the initial switch creation failed.
Use ‘opam switch create ’ to get started.
Could anyone help with installation?