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

xen-devel

[Top] [All Lists]

[Xen-devel] Problems building caml-stubdom

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Andrew Warfield" <andy@xxxxxxxxx>, "Patrick Colp" <pjcolp@xxxxxxxxx>
Subject: [Xen-devel] Problems building caml-stubdom
From: "Geoffrey Lefebvre" <geoffrey@xxxxxxxxx>
Date: Wed, 6 Aug 2008 15:33:42 -0700
Cc:
Delivery-date: 2008年8月06日 15:34:07 -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:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=jNoS3vBS40RnTgJfxpQOubj7nJLPQqO+qgsziNv0kCA=; b=KYXOeyD1orHG12J8JMkAqgPjZAbG2fHXkfj1VXfO+rXxuwg9ZVG2ZEIP7g34+Eq4N8 cTZqs3JosCevk5ne5ybk9qTT7tpmj/y8ua0eFR0nCRZshDV+MmVyvDcoO0xf2XgthoVI KoHJRD5hhUwk2ZB9bmCcwFaK5L5uMLJe81VQQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=cmEIwwoNeQ7MqXey2aGsvDGDIIsD3DaVuVeMvGcWWWhS5ALNSGHD+xItlV5UXzjE/H sKotPvvrCSiz8G1GTRpkROp0vf7MBsjqm0hofGPACcATQoArraEwufSNVlYiRCe62YMj YdBfuBd3AjNt58xgBQKGbx7xQW/Y/+/Ehuyek=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,
I am trying to build the ocaml stub domain and I am having some
compilation issues. I am getting a bunch of undefined references when
linking mini-os.o.
ld -nostdlib 
-L/research/geoffrey/xen/xen-unstable.hg/stubdom/cross-root-i686/i686-xen-elf/lib
 -m elf_i386 -T arch/x86/minios-x86_32.lds
/research/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os.o
-o /research/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os
/research/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os.o:
In function `caml_sys_file_exists':
ungetc.c:(.text+0x14e0d): undefined reference to `__xstat'
/research/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os.o:
In function `caml_executable_name':
ungetc.c:(.text+0x18ac9): undefined reference to `__xstat'
/research/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os.o:
In function `caml_search_in_path':
ungetc.c:(.text+0x18d2f): undefined reference to `__xstat'
make[1]: *** 
[/research/geoffrey/xen/xen-unstable.hg/stubdom/mini-os-caml/mini-os]
Error 1
make[1]: Leaving directory
`/research/geoffrey/xen/xen-unstable.hg/extras/mini-os'
I have managed to get rid of other linking errors by building ocaml
with -fno-stack-protector and without large file support but I am
still having the linking issue above. I think i need to build the
ocaml runtime against newlib but how does one do that?
thanks,
geoffrey
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Re: [PATCH RFC] do_settime is backwards?! , Rik van Riel
Next by Date: Re: [Xen-devel] Problems building caml-stubdom , Samuel Thibault
Previous by Thread: [Xen-devel] [PATCH RFC] do_settime is backwards?! , Rik van Riel
Next by Thread: Re: [Xen-devel] Problems building caml-stubdom , Samuel Thibault
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /