After applying the patch, recompiling, your example works fine, but while
compiling Ocsigen framework, at the end, I have :

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'

2012/3/8 Alan Schmitt <alan.schm...@polytechnique.org>

> On 8 mars 2012, at 15:23, Pierre-Alexandre Voye wrote:
>
> > In Mac Lion, i get :
> >
> > $ ocamlopt.opt -shared plugin.cmx test.cmxa -o plugin.cmxs
> > ld: warning: -read_only_relocs cannot be used with x86_64
> > $ ocamlopt.opt test.cmxa dynlink.cmxa loader.ml -o loader.native
> > File "loader.ml", line 1, characters 0-1:
> > Error: Cannot find file dynlink.cmxa
>
> You first need to patch ocaml with this:
> http://caml.inria.fr/mantis/view.php?id=4863
>
> Alan
>



-- 
---------------------
https://twitter.com/#!/ontologiae/
http://linuxfr.org/users/montaigne

-- 
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

Reply via email to