我正在尝试安装 ocamlgraph 作为 frama-c 的要求。当我安装 ocamlgraph 并运行 make 时,我收到以下编译错误:
ocamlopt.opt -c -I src -I lib -for-pack Graph src/delaunay.ml
/tmp/camlasmc2c286.s: Assembler messages:
/tmp/camlasmc2c286.s: Error: .size expression for camlGraph__Delaunay__ccw_291 does not evaluate to a constant
/tmp/camlasmc2c286.s: Error: .size expression for camlGraph__Delaunay__in_circle_298 does not evaluate to a constant
File "src/delaunay.ml", line 1, characters 0-1:
Error: Assembler error, input left in file /tmp/camlasmc2c286.s
我在 Ubuntu-10.04 上运行并尝试了 ocamlgraph-1.6 和 ocamlgraph-1.8.2 版本,但出现了相同的错误。我机器上的ocaml版本是ocaml-3.11.2。
谢谢