From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 2A666BBC1 for ; Sat, 12 Apr 2008 15:49:55 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AloCAGBbAEjOvjGvfGdsb2JhbACRUwEBCwUCBQkWmFs X-IronPort-AV: E=Sophos;i="4.25,646,1199660400"; d="scan'208";a="11378719" Received: from web54605.mail.re2.yahoo.com ([206.190.49.175]) by mail3-smtp-sop.national.inria.fr with SMTP; 12 Apr 2008 15:49:45 +0200 Received: (qmail 68777 invoked by uid 60001); 12 Apr 2008 13:49:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=WgUBZpfG4PFJx01DbCH9t/AnFFvwjNAyZbg0nvVpYA14JqGjDN5CrAu3RpECRyzbrP/peQfhfFEq0OP58ldAIwdl5LiOzJLv0NC5vw2zHPoebf4tHWx7tcelOdRRQoF3lDYguOpAiSgAh5806XmHRnSY4kmqY9zSGyY6mx4aCao=; X-YMail-OSG: I.iAjg0VM1l6p69tNlGSM3bPyxCiBXXSCuKNq3NxkbmwsDZdFUY4V3j8wqtPxschNyLgeWVYOk9T3dSSQVHQsHme1SsZG6_NFE7zmLHIiJ7p8E6dj3mlcPqwlYgTc44LJwp1lLCzwbUABnQ0.5gDI_Rqbg-- Received: from [82.155.126.69] by web54605.mail.re2.yahoo.com via HTTP; Sat, 12 Apr 2008 14:49:44 BST Date: Sat, 12 Apr 2008 14:49:44 +0100 (BST) From: Dario Teixeira Subject: Trying out Ocaml CVS HEAD To: caml-list@yquem.inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <708296.53944.qm@web54605.mail.re2.yahoo.com> X-Spam: no; 0.00; ocaml:01 cvs:01 ocaml:01 cvs:01 dynlink:01 compilation:01 compiler:01 dynlink:01 byte-code:01 native-code:01 stub:01 camlzip:01 lib:01 camlzip:01 lib:01 Hi, I realise that the Ocaml CVS HEAD comes with an implicit "Here be dragons" warning. Still, I would like to use it so I can try running Ocsigen in native mode (the loading of Ocsigen modules relies on dynlink; native mode thus requires the new natdynlink feature). I've compiled the Ocaml CVS via GODI, using the instructions in Alain Frisch's page; though the compilation completes with no problems and the compiler itself seems to work fine, I always get an error when Ocsigen tries to dynlink (either in byte-code or native-code) a module that uses stub libraries. One example is camlzip; here's the error message I get: [errors.log] 2008-04-12 14:15:31 - Fatal - While loading /home/dario/.godi/lib/ocaml/pkg-lib/camlzip/camlzip.cma: Dynlink.Error: error loading shared library: /home/dario/.godi/lib/ocaml/pkg-lib/stublibs/dllcamlzip_stubs.so: /home/dario/.godi/lib/ocaml/pkg-lib/stublibs/dllcamlzip_stubs.so: undefined symbol: caml_named_value Now, is this a transient problem related to catching the CVS HEAD in a grumpy day, or is there something else at play? (This was tried out on a i386 machine running Debian Testing; The Ocaml version is "3.11+dev12 Private_abbrevs+natdynlink (2008-02-29)", and gcc's version is 4.2.3 (Debian 4.2.3-3)) Thanks in advance for your help! Cheers, Dario Teixeira ___________________________________________________________ Yahoo! For Good helps you make a difference http://uk.promotions.yahoo.com/forgood/