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

Re: Build errors



On 12 April 2012 13:53, Sebastian Probst Eide
<sebastian.probst.eide@xxxxxxxxx> wrote:
> I am trying to build mirage on my xen box.
>
> I am on Ubuntu 11.10, kernel 3.something
> I have OCaml version 3.12.1 installed from source.
>
> I am using mirage from avsm/mirage
>
> When running my friend make, I get:
>
> ...
> cp openflow/openflow.mli std/openflow.mli
> /usr/local/bin/ocamldep.opt -pp 'camlp4o.opt -I ../../../syntax/_build
> str.cmxs pa_mirage.cmxs -cow-no-open -lwt-debug' -modules std/openflow.mli >
> std/openflow.mli.depends
> /usr/local/bin/ocamlc.opt -c -nostdlib -annot -g -pp 'camlp4o.opt -I
> ../../../syntax/_build str.cmxs pa_mirage.cmxs -cow-no-open -lwt-debug' -I
> std -o std/openflow.cmi std/openflow.mli
> + /usr/local/bin/ocamlc.opt -c -nostdlib -annot -g -pp 'camlp4o.opt -I
> ../../../syntax/_build str.cmxs pa_mirage.cmxs -cow-no-open -lwt-debug' -I
> std -o std/openflow.cmi std/openflow.mli
> File "openflow/switch.mli", line 711, characters 23-34:
> Error: Unbound module OS.Netif
> Command exited with code 2.
> make[1]: *** [node] Error 10
> make[1]: Leaving directory `/home/xen/code/mirage/lib'
> make: *** [all] Error 2
>

this is the openflow switch. It is using probably some older version
of the net api of mirage. A quick hack in order to make it work and
compile and if you don't want the openflow switch functionality for
now is to remove the Switch line from /lib/openflow/openflow.smlpack.
This I think will skip compilation of this file during compilation. I
will fix it once I find some spare time.

> Any ideas?
>
> Thanks!
>
> All the best,
> Sebastian
>
> --------------------
>
> Things I have installed:
>
> findlib-1.2.8
> js_of_ocaml-1.1.1
> lwt-2.3.2
> ocaml-3.12.1
>



-- 
Charalampos Rotsos
PhD student
The University of Cambridge
Computer Laboratory
William Gates Building
JJ Thomson Avenue
Cambridge
CB3 0FD

Phone: +44-(0) 1223 767032
Email: cr409@xxxxxxxxxxxx



 


Rackspace

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