|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
[Xen-devel] Problems building caml-stubdom 
| 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> |  | 
[Xen-devel] Problems building caml-stubdom,
Geoffrey Lefebvre <=
 |  |  | 
  
    |  |  |