Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Jérémie Dimino" <jeremie@dimino.org>
To: Pierre-Alexandre Voye <ontologiae@gmail.com>
Cc: caml-list list <caml-list@inria.fr>
Subject: Re: [Caml-list] state of native dynlink on os x
Date: Thu, 8 Mar 2012 17:19:23 +0100	[thread overview]
Message-ID: <20120308171923.29208a8e@caladan.esterel-technologies.com> (raw)
In-Reply-To: <CANnJ5GfWHOR1cFf_rAH9Zsh83o-=RxTUqv_M=8MtJp6NEK9SPQ@mail.gmail.com>

Le Thu, 8 Mar 2012 16:50:59 +0100,
Pierre-Alexandre Voye <ontologiae@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


  reply	other threads:[~2012-03-08 16:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-15 11:17 Alan Schmitt
2012-02-15 12:34 ` Daniel Bünzli
2012-02-15 14:16   ` Alan Schmitt
2012-02-17  6:47 ` Alan Schmitt
2012-02-27 15:43   ` Damien Doligez
2012-02-27 17:49     ` Pierre-Alexandre Voye
2012-02-28 10:15       ` David MENTRE
2012-02-28 10:32         ` Pierre-Alexandre Voye
2012-02-28 15:34     ` Alan Schmitt
2012-02-29  8:33       ` Alan Schmitt
2012-03-07 10:55       ` Damien Doligez
2012-03-07 15:14         ` Alan Schmitt
2012-03-08 11:13     ` Alan Schmitt
2012-03-08 14:16       ` Alan Schmitt
2012-03-08 14:23         ` Pierre-Alexandre Voye
2012-03-08 14:35           ` Alan Schmitt
2012-03-08 15:50             ` Pierre-Alexandre Voye
2012-03-08 16:19               ` Jérémie Dimino [this message]
2012-03-08 16:16         ` Gabriel Scherer
2012-03-08 16:25           ` Jérémie Dimino
2012-03-08 16:31             ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120308171923.29208a8e@caladan.esterel-technologies.com \
    --to=jeremie@dimino.org \
    --cc=caml-list@inria.fr \
    --cc=ontologiae@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox