marionnet-dev team mailing list archive
-
marionnet-dev team
-
Mailing list archive
-
Message #00293
[Bug 745779] Re: Compile error with ocaml 3.12.0
Thanks, this is very useful.
By the way, I think you're the first one officially submitting a patch. That's braggable :-).
We're gonna test your change tomorrow on old and new versions of OCaml
before committing it, but your change seems very reasonable.
Thanks again,
** Changed in: marionnet
Importance: Undecided => High
** Changed in: marionnet
Status: New => Triaged
--
You received this bug notification because you are a member of
marionnet-dev, which is subscribed to marionnet.
https://bugs.launchpad.net/bugs/745779
Title:
Compile error with ocaml 3.12.0
Status in Marionnet - A virtual network laboratory:
Triaged
Bug description:
I'm trying to compile marionnet on Archlinux using the last version of
ocaml (3.12.0) and i have some errors :
% make
Just for debugging: PP_OPTION is "camlp4of -I /usr/lib/ocaml/ocamlbricks gettext_extract_pot_p4.cmo option_extract_p4.cmo raise_p4.cmo log_module_loading_p4.cmo -I chip"
Building meta.ml...
Success.
Manually pre-copying "gettext_extract_pot_p4.conf"...
Manually pre-copying "chip/chip_parser_p4.ml"...
Manually pre-copying "scripts/can-directory-host-sparse-files.sh"...
Manually pre-building "chip/chip_parser_p4.cmo"...
make[1]: entrant dans le répertoire « /var/abs/local/marionnet/marionnet-0.90.6 »
File "chip/chip_parser_p4.ml", line 52, characters 69-72:
While expanding quotation "ctyp" in a position of "expr":
Parse error: EOI expected after [quotation of type] (in [quotation of type])
File "chip/chip_parser_p4.ml", line 1, characters 0-1:
Error: Preprocessor error
After some investigation (see this bug:
http://caml.inria.fr/mantis/view.php?id=5080) i wrote a patch to fix
this problem and it seem to solve the problem but i'm not an ocaml
expert.
References