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

'flexlink.opt' build failure #7354

Closed
vicuna opened this issue Sep 11, 2016 · 1 comment
Closed

'flexlink.opt' build failure #7354

vicuna opened this issue Sep 11, 2016 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Sep 11, 2016

Original bug ID: 7354
Reporter: shayne_fletcher
Status: resolved (set by @damiendoligez on 2016-09-28T09:49:06Z)
Resolution: suspended
Priority: normal
Severity: minor
Platform: windows
Version: 4.03.0
Target version: 4.04.0 +dev / +beta1 / +beta2
Category: configure and build/install

Bug description

When building 4.0.3 including a bootstrap of flexdll, I'm experiencing build failures (of flexlink.exe) at the make -f Makefile.nt opt.opt (relating to processing of "version.res").

cd flexdll && \
mv flexlink.exe flexlink && \
make OCAML_FLEXLINK="../boot/ocamlrun ./flexlink" MSVC_DETECT=0 \
           TOOLCHAIN=msvc TOOLPREF= \
           OCAMLOPT="../ocamlopt.opt -I ../stdlib" flexlink.exe && \
mv flexlink.exe flexlink.opt && \
mv flexlink flexlink.exe
make[1]: Entering directory '/cygdrive/c/project/others/ocaml-4.03.0/flexdll'
Building flexlink.exe with TOOLCHAIN=msvc for OCaml 4030
rm -f flexlink.exe
../ocamlopt.opt -I ../stdlib -o flexlink.exe -cclib "version.res" version.ml Compat.ml coff.ml cmdline.ml create_dll.ml reloc.ml
** Fatal error: Error while reading version.res: End_of_file
File "caml_startup", line 1:
Error: Error during linking
Makefile:133: recipe for target 'flexlink.exe' failed
make[1]: *** [flexlink.exe] Error 2
make[1]: Leaving directory '/cygdrive/c/project/others/ocaml-4.03.0/flexdll'
Makefile.nt:65: recipe for target 'flexlink.opt' failed
make: *** [flexlink.opt] Error 2
@vicuna
Copy link
Author

vicuna commented Sep 28, 2016

Comment author: @damiendoligez

I tried 4.04.0+beta2 with FlexDLL 0.35, and it works, although the Makefile gives some error messages along the way.

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

No branches or pull requests

1 participant