- 论坛徽章:
- 0
|
我的编译器:ocaml-3.10.2
为什么安装 unison-2.9.1 老是报错:
ocamlopt -I lwt -I ubase -c /root/unison-2.9.1/lwt/lwt_unix.ml
File "/root/unison-2.9.1/lwt/lwt_unix.ml", line 259, characters 12-59:
Warning X: this statement never returns (or has an unsound type.)
File "/root/unison-2.9.1/lwt/lwt_unix.ml", line 285, characters 10-57:
Warning X: this statement never returns (or has an unsound type.)
File "/root/unison-2.9.1/lwt/lwt_unix.ml", line 320, characters 10-62:
Warning X: this statement never returns (or has an unsound type.)
File "/root/unison-2.9.1/props.ml", line 272, characters 8-19:
Warning X: this argument will not be used by the function.
File "/root/unison-2.9.1/props.ml", line 272, characters 20-23:
Warning X: this argument will not be used by the function.
File "/root/unison-2.9.1/props.ml", line 272, characters 24-26:
Warning X: this argument will not be used by the function.
File "/root/unison-2.9.1/props.ml", line 272, characters 27-29:
Warning X: this argument will not be used by the function.
File "/root/unison-2.9.1/update.ml", line 867, characters 57-59:
Warning X: illegal backslash escape in string.
File "/root/unison-2.9.1/update.ml", line 890, characters 27-29:
Warning X: illegal backslash escape in string.
File "/root/unison-2.9.1/update.ml", line 890, characters 31-33:
Warning X: illegal backslash escape in string.
File "/root/unison-2.9.1/update.ml", line 890, characters 33-35:
Warning X: illegal backslash escape in string.
File "/root/unison-2.9.1/update.ml", line 890, characters 35-37:
Warning X: illegal backslash escape in string.
File "/root/unison-2.9.1/update.ml", line 890, characters 43-45:
Warning X: illegal backslash escape in string.
File "/root/unison-2.9.1/update.ml", line 890, characters 45-47:
Warning X: illegal backslash escape in string.
File "/root/unison-2.9.1/update.ml", line 891, characters 27-29:
Warning X: illegal backslash escape in string.
File "/root/unison-2.9.1/update.ml", line 891, characters 35-37:
Warning X: illegal backslash escape in string.
File "/root/unison-2.9.1/update.ml", line 1017, characters 13-19:
Warning Y: unused variable source.
ocamlopt: files.mli ---> files.cmi
ocamlopt -I lwt -I ubase -c /root/unison-2.9.1/files.mli
ocamlopt: files.ml ---> files.cmx
ocamlopt -I lwt -I ubase -c /root/unison-2.9.1/files.ml
File "/root/unison-2.9.1/files.ml", line 612, characters 6-8:
Warning X: illegal backslash escape in string.
File "/root/unison-2.9.1/files.ml", line 620, characters 6-8:
Warning X: illegal backslash escape in string.
(.text+0x29 : undefined reference to `format_int'
ubase/uprintf.o: In function `camlUprintf__fun_142':
(.text+0x2f : undefined reference to `format_float'
collect2: ld 返回 1
Error during linking
make: *** [unison] 错误 2
怎么办??怎么解决啊?? |
|