Hello everyone,
I'm having some difficulties making Links on Mac OS X 10.5.1
When I run 'make nc' from the directory, the terminal prints out the
following:
make nc
cd deriving-310 && make
cd syntax && make
ocamlc.opt -linkall -I /usr/local/lib/ocaml/camlp4 -I deriving-310/lib
-ccopt -Lderiving-310/lib dynlink.cma camlp4lib.cma unix.cma
Camlp4Parsers/Camlp4OCamlRevisedParser.cmo
Camlp4Parsers/Camlp4OCamlParser.cmo Camlp4Printers/Camlp4AutoPrinter.cmo
id.cmo utils.cmo type.cmo analyse.cmo showdecl.cmo base.cmo show_class.cmo
dump_class.cmo enum_class.cmo bounded_class.cmo eq_class.cmo
typeable_class.cmo pickle_class.cmo extend.cmo -o deriving Camlp4Bin.cmo
cd lib && make ncl bcl
make[3]: `deriving.cmxa' is up to date.
make[3]: `deriving.cma' is up to date.
rm -f prelude.links.cache
ocamlopt.opt -c -pp "deriving " -dtypes -w Ae -I deriving-310/lib ir.ml
File "ir.ml", line 285, characters 27-41:
Warning Z: unused variable children_types.
File "ir.ml", line 284, characters 29-44:
Warning Z: unused variable attribute_types.
File "ir.ml", line 294, characters 23-32:
Warning Z: unused variable arg_types.
File "ir.ml", line 298, characters 19-21:
Warning Z: unused variable vt.
File "ir.ml", line 311, characters 22-31:
Warning Z: unused variable arg_types.
File "ir.ml", line 354, characters 28-29:
Warning Z: unused variable t.
File "ir.ml", line 390, characters 20-21:
Warning Z: unused variable t.
File "ir.ml", line 389, characters 22-24:
Warning Z: unused variable xt.
File "ir.ml", line 389, characters 17-19:
Warning Z: unused variable xv.
File "ir.ml", line 568, characters 24-28:
Warning Z: unused variable name.
File "ir.ml", line 571, characters 27-31:
Warning Z: unused variable name.
File "ir.ml", line 620, characters 20-26:
Warning Z: unused variable tyvars.
File "ir.ml", line 623, characters 20-26:
Warning Z: unused variable tyvars.
File "ir.ml", line 681, characters 34-38:
Warning Z: unused variable name.
File "ir.ml", line 683, characters 34-38:
Warning Z: unused variable name.
File "ir.ml", line 834, characters 20-26:
Warning Z: unused variable tyvars.
File "ir.ml", line 882, characters 21-23:
Warning Z: unused variable bs.
File "ir.ml", line 566, characters 20-37:
Warning S: this expression should have type unit.
File "ir.ml", line 566, characters 39-62:
Error: This expression has type bool but an expression was expected of type
'a Utility.IntMap.t = 'a Utility.Map.Make(Utility.Int).t
make[1]: *** [ir.cmx] Error 2
make: *** [native-code] Error 2
This is with the most recent version of Links downloaded from
http://groups.inf.ed.ac.uk/links/
I have ocaml installed in /usr/local/bin/ocaml
I'm not that familiar with ml, so I don't know what I should be looking for
here.
I hope someone can help me,
Simon
_______________________________________________
links-users mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/links-users