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

Re: [Xen-devel] ocaml bindings



On 03/04/13 18:03, AL13N wrote:
> i'm the Mageia Xen package maintainer, and a user reported that i had missing 
> symbols in my ocaml bindings:
>
> https://bugs.mageia.org/show_bug.cgi?id=5199
>
> i'm using Xen 4.2.1 and ocaml 3.12.1
>
> the problem is that if you just to a simple hello world and you're using 
> certain bindings (eg: xeneventch): you get missing symbols. (others appear to 
> be fine).
>
> I know next to nothing about ocaml, and it could be my build process, but i 
> kinda need some help about this.
>
> this is my spec file: http://svnweb.mageia.org/packages/cauldron/xen/current
>
> Thanks in advance
>
> PS: we're at version freeze and release freeze is pretty soon :-S

This is because the ocaml tools embed the build target links in the
generated libs.  If you try to link against them later outside the build
environment, it will break.

Attached is the patch used to fix this problem for XenServer for Xen 4.2.

~Andrew

>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

Attachment: xen-4.2-ocaml-build-patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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