From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id C4B90BB81 for ; Tue, 14 Dec 2004 19:10:13 +0100 (CET) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iBEIAD1j008197 for ; Tue, 14 Dec 2004 19:10:13 +0100 Received: by rproxy.gmail.com with SMTP id j1so731297rnf for ; Tue, 14 Dec 2004 10:10:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=t9DtDfNPTGZUf//nfJYM4VwUKRsOTLQqhGIENwrNWq2Wl3WiOa6+4U6G30TomUD+DrY23OoCzbOKJ3jTP1IMvU4+Pfuxyc5C809IZ+9QKqiTO2blLPRdXRNWbpyb/hbOyvDr/ZoOLqQy4uCZzPSnJiXAk9b2+03LUGQjNrrxWVQ= Received: by 10.38.83.77 with SMTP id g77mr277843rnb; Tue, 14 Dec 2004 10:10:12 -0800 (PST) Received: by 10.38.209.61 with HTTP; Tue, 14 Dec 2004 10:10:12 -0800 (PST) Message-ID: Date: Wed, 15 Dec 2004 07:10:12 +1300 From: Jonathan Roewen Reply-To: Jonathan Roewen Subject: Re: [Caml-list] Using OCaml in a kernel Cc: caml-list@yquem.inria.fr In-Reply-To: <1103015399.647.7.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1102320552.663.45.camel@localhost> <20041211.080036.25909489.garrigue@math.nagoya-u.ac.jp> <1103015399.647.7.camel@localhost> X-Miltered: at nez-perce with ID 41BF2C85.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 pervasives:01 libasmrun:01 libasmrun:01 byterun:01 ocaml's:01 stdlib:01 libs:01 functions:01 kernel:01 undefined:01 undefined:01 nums:01 caml:02 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.0 X-Spam-Level: > > Three new undefined symbols left: > > > > : undefined reference to `caml_compare' > > : undefined reference to `caml_greaterequal' > > : undefined reference to `caml_lessequal' > > > > these are from pervasives.o, string.o, and list.o in libasmrun.a. If > > can get some assembler niceties or whatever for those, then we should > > hopefully be set for next phase of linker hell ;-) > > They should be in libasmrun. These particular functions should be > coming from byterun/compare.c. Turns out had to specify libasmrun on linker line twice. before and after linking against ocaml's stdlib, str, and nums libs. Bizarre, but it works.