首页 > 其他 > 详细

编译Ruby2.0 问题解决

时间:2016-06-24 10:26:57      阅读:173      评论:0      收藏:0      [点我收藏+]

compiling readline.c
readline.c: In function ‘Init_readline’:
readline.c:1886:26: error: ‘Function’ undeclared (first use in this function)
     rl_pre_input_hook = (Function *)readline_pre_input_hook;
                          ^
readline.c:1886:26: note: each undeclared identifier is reported only once for e                                                                                        ach function it appears in
readline.c:1886:36: error: expected expression before ‘)’ token
     rl_pre_input_hook = (Function *)readline_pre_input_hook;
                                    ^
readline.c: At top level:
readline.c:530:1: warning: ‘readline_pre_input_hook’ defined but not used [-Wunu                                                                                        sed-function]
 readline_pre_input_hook(void)
 ^
make[2]: *** [readline.o] Error 1
make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p353/ext/readline‘
make[1]: *** [ext/readline/all] Error 2

 

技术分享

技术分享

编译Ruby2.0 问题解决

原文:http://www.cnblogs.com/ruiy/p/5613127.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!