Le Thu, 8 Mar 2012 16:50:59 +0100, Pierre-Alexandre Voye <ontolog...@gmail.com> a écrit :
> ocamlfind ocamlc -thread -o ocsigenserver -linkpkg -linkall -thread > -I ../baselib -I ../http -package lwt.ssl -package lwt.extra -package > netstring -package findlib -package cryptokit -package tyxml -package > tyxml.parser -package dynlink -package tyxml.syntax -I . > ../baselib/parsecommandline.cma ../baselib/baselib.cma > ../baselib/polytables.cma ../http/http.cma ocsigenserver.cma > server_main.cmo File "_none_", line 1, characters 0-1: > Error: Error while linking > /opt/local/lib/ocaml/camlp4/camlp4lib.cma(Camlp4): > Reference to undefined global `Dynlink' It is probably because there is a missing dependency from camlp4.lib to dynlink. You can check whether it is the case or not with: $ ocamlfind query -r -p-format camlp4.lib If it is not, add dynlink to the requires field of camlp4.lib in the camlp4 META's file. -- Jérémie -- Caml-list mailing list. Subscription management and archives: https://sympa-roc.inria.fr/wws/info/caml-list Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs