Closed olafhering closed 4 years ago
With commit ocaml/ocaml@fc788ef6b2984ab05179322d8c1e2f04dbac98d2 I get this error with dune runtest:
dune runtest
[ 54s] Command [6] exited with code 2: [ 54s] $ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -o test/test.exe -I src src/graphics.cmxa test/.test.eobjs/native/test.cmx) [ 54s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: src/libgraphics_stubs.a(events.o): in function `caml_gr_wait_event_poll': [ 54s] /home/abuild/rpmbuild/BUILD/ocaml-graphics-5.0.0/_build/default/src/src/unix/events.c:166: undefined reference to `caml_process_pending_signals' [ 54s] collect2: error: ld returned 1 exit status [ 54s] File "caml_startup", line 1: [ 54s] Error: Error during linking
Not sure if this is an issue in ocaml to be resolved, or if external packages need to be tweaked to support 4.10.
Well spotted, thank you for the report. Indeed, the Graphics library relies on a part of the OCaml runtime system that changed recently. Tentative fix in #15.
(Cc @jhjourdan for info.)
With commit ocaml/ocaml@fc788ef6b2984ab05179322d8c1e2f04dbac98d2 I get this error with
dune runtest
:Not sure if this is an issue in ocaml to be resolved, or if external packages need to be tweaked to support 4.10.