[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

> 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.