|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Problems building caml-stubdom
> 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
|
|
|
|
|