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

Re: [Xen-devel] [PATCH v4 05/27] libxc: ocaml: add simple binding for xentoollog (output only).



On Wed, 2013-11-06 at 17:49 +0000, Rob Hoes wrote:

> +xtl_LIBS =  \
> +     -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/xentoollog 
> $(OCAML_TOPLEVEL)/libs/xentoollog/xentoollog.cmxa \
> +     -cclib -lxenctrl

Sadly:
        /usr/bin/ld: cannot find -lxenctrl
        collect2: error: ld returned 1 exit status
        File "caml_startup", line 1, characters 0-1:
        Error: Error during linking
        
You need to be using LDLIBS_libxenlight and CFLAGS_libxenlight etc like
the tools/ocaml/libs/xl/Makefile does. On your system you are probably
linking locally against the library in /usr/lib etc which is not
desired...

I'm part way through applying this series, so what I'm going to try and
do is drop the test case from this patch and the patch which adds some
more later. Ones the dust has settled please can you send a separate
patch (or patches) to readd these tests.

Ian.


_______________________________________________
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®.