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.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 8782DBC0A for ; Mon, 2 Apr 2007 10:11:45 +0200 (CEST) Received: from smtp.uibk.ac.at (lmr1.uibk.ac.at [138.232.1.142]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l328BiQH010992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 2 Apr 2007 10:11:45 +0200 Received: from smc.uibk.ac.at (smc.uibk.ac.at [138.232.1.226] c703350@smc.uibk.ac.at) by smtp.uibk.ac.at (8.13.8/8.13.1/F1) with ESMTP id l328BfmD017034 for ; Mon, 2 Apr 2007 10:11:41 +0200 Received: from smc.uibk.ac.at (localhost [127.0.0.1] c703350@smc.uibk.ac.at) by smc.uibk.ac.at (8.13.8+Sun/uibk) with ESMTP id l328BfqW022385 for ; Mon, 2 Apr 2007 10:11:41 +0200 (MEST) Received: (from c703350@localhost) by smc.uibk.ac.at (8.13.8+Sun/8.13.8/Submit) id l328BfRL022382 for caml-list@yquem.inria.fr; Mon, 2 Apr 2007 10:11:41 +0200 (MEST) Date: Mon, 2 Apr 2007 10:11:40 +0200 From: Christian Sternagel To: caml-list@yquem.inria.fr Subject: caml/bigarray.h vs. caml/compatibility.h Message-ID: <20070402081140.GA3371@pc6197-c703.uibk.ac.at> Mail-Followup-To: caml-list@yquem.inria.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.58 at uibk.ac.at on 138.232.1.140 X-Miltered: at discorde with ID 4610BAC0.004 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bigarray:01 ocaml:01 ocaml:01 recompile:01 stub:01 c-library:01 compiler:01 bigarray:01 c-library:01 cheers:01 compile:01 preprocessor:01 caml:02 caml:02 namely:02 Since a few days I'm using ocaml3.10 as standard ocaml environment. Until now everything worked fine. Then I tried to recompile a stub file for an ocmal-interfaced C-library and ended up with the error message "'bigarray.h' not found". After browsing the directory /caml/ i realised, that the compiler was correct :), there was realy no bigarray.h. Instead there is a file named compatibility.h where some preprocessor commands are included which seemed to correspond to the former bigarray.h. After creating a new file bigarray.h with the sole content: #include everything worked fine, until there was another error message for a different ocaml-interfaced C-library, namely: "'camlidlruntime.h' not found". Here I had to create the file camlidlruntime.h with the content: #include </caml/camlidlruntime.h> in order to be able to compile. Now this solution does not seem very nice to me. Is there a general advice how to change settings as the one above from ocaml < 3.10 to ocaml 3.10? cheers christian