免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: mantuntun
打印 上一主题 下一主题

solaris 10x86 b46 下./configure出错信息,高手帮我看看,谢谢 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2004-01-05 12:57 |只看该作者

solaris 10x86 b46 下./configure出错信息,高手帮我看看,谢谢

gcc安装也有一样的问题啊

# ./configure
Configuring for a i386-pc-solaris2.10 host.
Created "Makefile" in /home/gcc-3.3.2 using "mh-frag"
/usr/ucb/cc:  language optional software package not installed
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
# cc
/usr/ucb/cc:  language optional software package not installed

论坛徽章:
0
12 [报告]
发表于 2004-01-05 13:32 |只看该作者

solaris 10x86 b46 下./configure出错信息,高手帮我看看,谢谢

把GCC的目录放在CC的前面试一下

论坛徽章:
0
13 [报告]
发表于 2004-06-24 11:04 |只看该作者

solaris 10x86 b46 下./configure出错信息,高手帮我看看,谢谢

我的编译出错信息如下,请高手指点一下:
configure:2544: gcc -c -g -O2  conftest.c >;&5
conftest.c:2: error: parse error before "me"
configure:2547: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2675: checking for style of include used by make
configure:2703: result: GNU
configure:2731: checking dependency style of gcc
configure:2793: result: none
configure:2820: checking for ld used by GCC
configure:2883: result: /usr/ccs/bin/ld
configure:2892: checking if the linker (/usr/ccs/bin/ld) is GNU ld
configure:2904: result: no
configure:2916: checking how to run the C preprocessor
configure:2952: gcc -E  conftest.c
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP