From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q28GJk3L028420 for ; Thu, 8 Mar 2012 17:19:46 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiEFAPDaWE/VuiYS/2dsb2JhbABDhF9Wr2iBB4IKAQEEAQwXVgULCQIaAiYCAiE2BhOIBQmoMZIvgS+ICYYggRYElUSLI4R2gmQ X-IronPort-AV: E=Sophos;i="4.73,552,1325458800"; d="scan'208";a="135067372" Received: from solaria.dimino.org ([213.186.38.18]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 08 Mar 2012 17:19:41 +0100 Received: from caladan (caladan.dim [10.200.42.14]) by solaria.dimino.org (Postfix) with ESMTP id 5914080053; Thu, 8 Mar 2012 17:19:40 +0100 (CET) Received: from caladan.esterel-technologies.com (localhost [127.0.0.1]) by caladan (Postfix) with ESMTP id C31AEFF834; Thu, 8 Mar 2012 17:19:24 +0100 (CET) Date: Thu, 8 Mar 2012 17:19:23 +0100 From: =?UTF-8?B?SsOpcsOpbWll?= Dimino To: Pierre-Alexandre Voye Cc: caml-list list Message-ID: <20120308171923.29208a8e@caladan.esterel-technologies.com> In-Reply-To: References: <74F89B4A-9C34-4A33-8DAA-8A12CF9EF03B@polytechnique.org> <38A39B83-F464-4532-84A1-738266DF1E9B@polytechnique.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id q28GJk3L028420 Subject: Re: [Caml-list] state of native dynlink on os x Le Thu, 8 Mar 2012 16:50:59 +0100, Pierre-Alexandre Voye 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