-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fail to build ocaml-windows with mxe: "flexlink does not work" #327
Comments
The first error is because your local ocaml compiler version does not match the version of the cross-compiler you are trying to build. The second seems to indicate another flexlink install. Are you installing from a fresh A good way to start is to use a docker container. This way you are sure that you are starting from a clean slate. |
Yes, I indeed work inside an archlinux docker container so the state should be clean. In fact I ended by recompiling openssl myself using the cross-compiler from pacman and it seemed to work (at least it runs inside wine. I need to test in an actual windows). |
Hello,
I can successfully build ocaml-windows using mingw-gcc from my distribution repo but not using MXE cross toolchain. Tested in both archlinux (in docker) and Ubuntu 22.04 and I got exact same result. Tested with both ocaml 4.14.1 and 5.1.1 and same problem.
My goal is to use MXE to build "ssl-windows" package because I can't using distribution package mingw-gcc. If you know how to build openssl without MXE, please explain to me how to do so.
I configured ocaml to use MXE as follow:
The error I get with MXE mingw-gcc is:
I don't understand what cause this error. Thank you for your help
The text was updated successfully, but these errors were encountered: