WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Problems building caml-stubdom

To: "Samuel Thibault" <samuel.thibault@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Andrew Warfield" <andy@xxxxxxxxx>, "Patrick Colp" <pjcolp@xxxxxxxxx>
Subject: Re: [Xen-devel] Problems building caml-stubdom
From: "Geoffrey Lefebvre" <geoffrey@xxxxxxxxx>
Date: Wed, 6 Aug 2008 23:56:21 -0700
Cc:
Delivery-date: Wed, 06 Aug 2008 23:56:42 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=A33hD99311AeG+AA7QV3bMDcDzvAExjUhbUQww+kyJU=; b=mW4e4BQ1F4juv4flROg7/brYD+6BrbKG1/kaN0s3vFonKhqyGv15QrkHsPAn5rxE37 A3KmxBeMEssYef9TIPkuFv0UKuUx1jyQteBrwSD3EqA+Tr9IN1biXkKkJ/w8qymDTpqp uQaUfVPlvfBQPz6DOE/1mPhRJlvnwx3xLbz2s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=U4anPz3ZVJPPBZQ9xx8cbfg2N2m2HPy0f2H4T82q4JkcpXclUav+t7UbPapINYGtqG U2SPLtsOK0fG51LvJ9V65oSgjJTjSKlDgghefY7iS4zctOEhXgTauvAA7ZOXBeC8p8+Z UnNraxJDYCN9AmAR1tVl/F5Wa1SYudqi9ZRhc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080807005534.GL4486@implementation>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <c3c918090808061533x3f5f75a8qec591bf3f120daf9@xxxxxxxxxxxxxx> <20080807005534.GL4486@implementation>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> Ok.  I had just tested with the debian-provided caml binaries.

I was originally using the ubuntu 8.04 ocaml binaries and I also tried
using the ocaml 3.09 tar ball from inria.
Following your advice, I tried building the caml stubdomain using
debian 4.0. The version of ocaml is 3.09.2. I get undefined reference
to open64 and lseek64. Which version of debian and ocaml did you use
to build the stub domain?

ld -nostdlib 
-L/nfs/ceuse/geoffrey/xen/xen-unstable.hg/stubdom/cross-root-i686/i686-xen-elf/lib
 -m elf_i386 -T arch/x86/minios-x86_32.lds
/nfs/ceuse/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os.o
 -o /nfs/ceuse/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os
/nfs/ceuse/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os.o:
In function `caml_seek_in':
gdtoa-hexnan.c:(.text+0x11cb4): undefined reference to `lseek64'
/nfs/ceuse/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os.o:
In function `caml_channel_size':
gdtoa-hexnan.c:(.text+0x11e17): undefined reference to `lseek64'
gdtoa-hexnan.c:(.text+0x11e42): undefined reference to `lseek64'
/nfs/ceuse/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os.o:
In function `caml_seek_out':
gdtoa-hexnan.c:(.text+0x12a1f): undefined reference to `lseek64'
/nfs/ceuse/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os.o:
In function `caml_open_descriptor_in':
gdtoa-hexnan.c:(.text+0x12b80): undefined reference to `lseek64'
/nfs/ceuse/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os.o:
In function `caml_sys_open':
gdtoa-hexnan.c:(.text+0x15248): undefined reference to `open64'
make[1]: *** 
[/nfs/ceuse/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os]
Error 1

thanks,

geoffrey

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel