免费注册 查看新帖 |

Chinaunix

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

[SCO UNIX] SCO下编译Ncurses出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-18 15:45 |只看该作者 |倒序浏览
SCO下编译Ncurses总是出错,不知是什么问题。

        cd ../obj_s;  CC -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../incl
ude  -I/usr/include  -belf -KPIC -c ../c++/cursesf.cc
"../c++/cursesw.h", line 83: error: syntax error
"../c++/cursesw.h", line 83: warning:  at not used
"../c++/cursesw.h", line 83: error: no value returned from CUR_attron()
"../c++/cursesw.h", line 89: error: syntax error
"../c++/cursesw.h", line 89: warning:  at not used
"../c++/cursesw.h", line 89: error: no value returned from CUR_attroff()
"../c++/cursesw.h", line 454: error: syntax error
"../c++/cursesw.h", line 454: warning:  win not used
"../c++/cursesw.h", line 454: warning:  att not used
"../c++/cursesw.h", line 454: error: no value returned from CUR_wattroff()
"../c++/cursesw.h", line 565: error: syntax error
"../c++/cursesw.h", line 564: warning:  win not used
"../c++/cursesw.h", line 564: warning:  y not used
"../c++/cursesw.h", line 564: warning:  x not used
"../c++/cursesw.h", line 565: error: no value returned from CUR_mvwinch()
"../c++/cursesw.h", line 995: error: syntax error
"../c++/cursesw.h", line 998: error: syntax error
"../c++/cursesw.h", line 1001: error: syntax error
"../c++/cursesw.h", line 1131: error: syntax error
"../c++/cursesw.h", line 1217: error: syntax error
"../c++/cursesw.h", line 995: warning:  at not used
"../c++/cursesw.h", line 701: error: no value returned from NCursesWindow::CUR_a
ttron()
Sorry, too many errors
14 errors
*** Error code 1 (bu21)
*** Error code 1 (bu21)

论坛徽章:
0
2 [报告]
发表于 2007-04-20 00:13 |只看该作者
你需要使用C++吗?如果不需要的话就在编译的时候把C++支持禁用掉

论坛徽章:
0
3 [报告]
发表于 2007-04-21 14:58 |只看该作者
请问如何在编译的时候禁止C++支持?
BTW:我是为了安装OpenChatterBox-1.0.1,配置的时候提示“configure: error: ncurses.h not found!”,所以才安装ncurses-5.6,我也不知道OpenChatterBox-1.0.1是不是需要C++支持。

论坛徽章:
0
4 [报告]
发表于 2007-04-21 18:36 |只看该作者
configure --without-cxx

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
5 [报告]
发表于 2007-04-21 20:56 |只看该作者
Ncurses 的安装包可以在 SCO 官方网站上下载,何必自己编译???

论坛徽章:
0
6 [报告]
发表于 2007-04-22 10:52 |只看该作者
有安装包直接用
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP