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

Error during Make #14

Closed
soupault opened this issue Sep 7, 2016 · 4 comments
Closed

Error during Make #14

soupault opened this issue Sep 7, 2016 · 4 comments

Comments

@soupault
Copy link

soupault commented Sep 7, 2016

Hi!
I'm trying to install ocephes without any luck. Here is the traceback:

[user@host ~]$ opam install ocephes
The following actions will be performed:
  ∗  install ocephes 0.8.2

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ocephes] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of ocephes failed at "make".
Processing  1/1: [ocephes: ocamlfind remove]
#=== ERROR while installing ocephes.0.8.2 =====================================#
# opam-version 1.2.2
# os           linux
# command      make
# path         /home/user/.opam/4.03.0/build/ocephes.0.8.2
# compiler     4.03.0
# exit-code    2
# env-file     /home/user/.opam/4.03.0/build/ocephes.0.8.2/ocephes-12384-1872ec.env
# stdout-file  /home/user/.opam/4.03.0/build/ocephes.0.8.2/ocephes-12384-1872ec.out
# stderr-file  /home/user/.opam/4.03.0/build/ocephes.0.8.2/ocephes-12384-1872ec.err
### stdout ###
# [...]
# ocamlfind ocamlopt unix.cmxa -I /home/user/.opam/4.03.0/lib/ocamlbuild /home/user/.opam/4.03.0/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/user/.opam/4.03.0/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# ocamlfind ocamldep -package ctypes,ctypes.foreign,ctypes.stubs -modules src/lib_gen/cephes_bindgen.ml > src/lib_gen/cephes_bindgen.ml.depends
# ocamlfind ocamldep -package ctypes,ctypes.foreign,ctypes.stubs -modules src/lib_gen/cephes_bindings.ml > src/lib_gen/cephes_bindings.ml.depends
# ocamlfind ocamlc -c -g -annot -bin-annot -package ctypes,ctypes.foreign,ctypes.stubs -I src/lib_gen -I src/lib -o src/lib_gen/cephes_bindings.cmo src/lib_gen/cephes_bindings.ml
# ocamlfind ocamlc -c -g -annot -bin-annot -package ctypes,ctypes.foreign,ctypes.stubs -I src/lib_gen -I src/lib -o src/lib_gen/cephes_bindgen.cmo src/lib_gen/cephes_bindgen.ml
# ocamlfind ocamlc -linkpkg -g -package ctypes,ctypes.foreign,ctypes.stubs src/lib_gen/cephes_bindings.cmo src/lib_gen/cephes_bindgen.cmo -o src/lib_gen/cephes_bindgen.byte
# + ocamlfind ocamlc -linkpkg -g -package ctypes,ctypes.foreign,ctypes.stubs src/lib_gen/cephes_bindings.cmo src/lib_gen/cephes_bindgen.cmo -o src/lib_gen/cephes_bindgen.byte
# File "_none_", line 1:
# Error: Error on dynamically loaded library: /home/user/.opam/4.03.0/lib/stublibs/dllctypes-foreign-base_stubs.so: /home/user/.opam/4.03.0/lib/stublibs/dllctypes-foreign-base_stubs.so: undefined symbol: ffi_type_void
# Command exited with code 2.
### stderr ###
# make: *** [Makefile:7: libcephes_stubs] Error 10


=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
  ∗  install ocephes 0.8.2
No changes have been performed
[user@host ~]$ 
@soupault
Copy link
Author

soupault commented Sep 7, 2016

Probably related to my occasional bump of janestreet-deprecated/ppx_type_conv#4 and the corresponding chain of dependencies.

@rleonid
Copy link
Owner

rleonid commented Sep 9, 2016

Probably this.

@rleonid
Copy link
Owner

rleonid commented Sep 12, 2016

@soupault Can you please try out the latest ctypes 0.9.2, and close this issue if it resolves the problem?

@soupault
Copy link
Author

@rleonid Yes, it does help. Closing, thanks!

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

No branches or pull requests

2 participants