From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 17A4FBBAF for ; Mon, 19 Apr 2010 16:57:05 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtYAAGcLzEtVnovTkWdsb2JhbACcCwEBAQEJCwoHEQUXBrwkhRAE X-IronPort-AV: E=Sophos;i="4.52,236,1270418400"; d="scan'208";a="49144796" Received: from mail206.messagelabs.com ([85.158.139.211]) by mail2-smtp-roc.national.inria.fr with SMTP; 19 Apr 2010 16:57:04 +0200 X-VirusChecked: Checked X-Env-Sender: christoph.bauer@lmsintl.com X-Msg-Ref: server-2.tower-206.messagelabs.com!1271689020!14217189!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [213.68.136.230] Received: (qmail 13433 invoked from network); 19 Apr 2010 14:57:00 -0000 Received: from kaiserslautern1.lms-gmbh.de (HELO mail-kl.lmsintl.com) (213.68.136.230) by server-2.tower-206.messagelabs.com with SMTP; 19 Apr 2010 14:57:00 -0000 Received: from KAIP-EXHUB01.lmsintl.com (unknown [10.2.100.90]) by mail-kl.lmsintl.com (Postfix) with ESMTP id 644261480048; Mon, 19 Apr 2010 17:28:35 +0200 (CEST) Received: from KAIP-EXMSG01.lmsintl.com ([10.2.100.91]) by KAIP-EXHUB01.lmsintl.com ([10.2.100.90]) with mapi; Mon, 19 Apr 2010 16:56:59 +0200 From: Christoph Bauer To: "caml-list@yquem.inria.fr" Cc: Dawid Toton , Slavcho Nikolov , Sylvain Le Gall Date: Mon, 19 Apr 2010 16:56:58 +0200 Subject: RE: [Caml-list] OCaml on AIX Thread-Topic: [Caml-list] OCaml on AIX Thread-Index: AcqfYpJeLlp64mktQIeQ6DeVM7OX8xAauY3g Message-ID: <9A8556989A396A408C72088C69EDE5633ED7C7FE@KAIP-EXMSG01.lmsintl.com> References: <4B5616B9.7030105@wp.pl> <9A8556989A396A408C72088C69EDE5633EC26A23@KAIP-EXMSG01.lmsintl.com> <4B5748DF.90604@wp.pl> <9A8556989A396A408C72088C69EDE5633EC26CBF@KAIP-EXMSG01.lmsintl.com> <4B60575A.9050009@wp.pl> In-Reply-To: <4B60575A.9050009@wp.pl> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam: no; 0.00; ocaml:01 camlp:01 ocamlrun:01 dllunix:01 ocamlrun:01 alloc:01 libcamlrun:01 libpath:01 arcor:98 wrote:01 unix:01 caml-list:01 caml:02 string:02 dll:02 =20 Dawid wrote: > So I get working native code. > The remaining problem is that camlp4 crashes on some Unix call when prepr= ocessing. I solved it by preprocessing all > the code on another machine. I looked again into that problem. ocamlrun opens a DLL (dllunix.so) and this dll trys to use symbols from ocamlrun (caml_alloc_string). Unfortunatly this doesn't work. The easiest solution is, to link ocamlrun agains libcamlrun_shared.so and t= o set an internal libpath. Download it from here: http://home.arcor.de/chr_bauer/ocaml-aix.html Christoph Bauer