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 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 86A74BC69 for ; Mon, 23 Apr 2007 17:37:44 +0200 (CEST) Received: from smtp.uibk.ac.at (lmr1.uibk.ac.at [138.232.1.142]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3NFbhNt032611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 23 Apr 2007 17:37:44 +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 l3NFbhlw014224 for ; Mon, 23 Apr 2007 17:37:43 +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 l3NFbg7K017015 for ; Mon, 23 Apr 2007 17:37:42 +0200 (MEST) Received: (from c703350@localhost) by smc.uibk.ac.at (8.13.8+Sun/8.13.8/Submit) id l3NFbgJ4017013 for caml-list@yquem.inria.fr; Mon, 23 Apr 2007 17:37:42 +0200 (MEST) Date: Mon, 23 Apr 2007 17:37:42 +0200 From: Christian Sternagel To: caml-list@yquem.inria.fr Subject: ocaml 3.10 bigarray Message-ID: <20070423153742.GB3339@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.61 at uibk.ac.at on 138.232.1.140 X-Miltered: at concorde with ID 462CD2C7.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 bigarray:01 bigarray:01 ocaml:01 stubs:01 makefile:01 alloc:01 dims:01 alloc:01 exited:01 cheers:01 undefined:01 namely:02 linking:02 macro:03 Is there something special about bigarray in ocaml 3.10 (for example some special settings at the installation are needed in order for bigarray to work correctly). I have sourcecode of a program using c_stubs and bigarray. With my ancient Makefile (using OCaml 3.09) everything works fine, but using ocamlbuild (OCaml 3.10) I get following array message in the only C-function that uses a macro related to bigarray (namely alloc_bigarray_dims): undefined reference to `alloc_bigarray_dims' collect2: ld returned 1 exit status Error during linking Command exited with code 2. cheers christian