免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2441 | 回复: 2
打印 上一主题 下一主题

安装 unison-2.9.1 报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-10 11:10 |只看该作者 |倒序浏览
我的编译器: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


怎么办??怎么解决啊??

论坛徽章:
0
2 [报告]
发表于 2008-04-10 11:23 |只看该作者
看下你FTP上传时方式对吗,要用二进制传输,另外看下你包有问题不,要不换个

论坛徽章:
0
3 [报告]
发表于 2008-04-10 11:40 |只看该作者
我是直接wget下载的,,这样有问题不??

#wget   http://www.seas.upenn.edu/~bcpie ... ison-2.27.57.tar.gz
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP