免费注册 查看新帖 |

Chinaunix

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

gcc编译出问题,请教一下,谢谢 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-01-20 11:28 |只看该作者 |倒序浏览
我用gcc321或者gcc295和gnu的make3.08编译apache2.0.43,结果出现一下的错误
In file included from /usr/include/sys/pri.h:29,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:52,
from /usr/include/pthread.h:43,
from ../../include/apr_portable.h:90,
from dir.c:57:
/usr/include/sys/proc.h:203: parse error before `crid_t'
/usr/include/sys/proc.h:203: warning: no semicolon at end of struct or union
/usr/include/sys/proc.h:212: parse error before `p_class'
/usr/include/sys/proc.h:212: warning: data definition has no type or storage class
/usr/include/sys/proc.h:355: parse error before `}'
make[4]: *** [dir.lo] Error 1
make[4]: Leaving directory `/zoujian/installation/apache_inst/httpd-2.0.43/srclib/apr/file_io/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/zoujian/installation/apache_inst/httpd-2.0.43/srclib/apr/file_io/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/zoujian/installation/apache_inst/httpd-2.0.43/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/zoujian/installation/apache_inst/httpd-2.0.43/srclib'
make: *** [all-recursive] Error 1

后查到有人说是因为我的gcc和我的aix的level不一致所致,现在我得aix是433的ml包补到10了,请问相应的gcc在哪里有下载的?是不是还要安装其他的gnu的东西?   非常郁闷郁闷郁闷郁闷.......

谢谢

论坛徽章:
0
2 [报告]
发表于 2003-01-20 14:15 |只看该作者

gcc编译出问题,请教一下,谢谢

据说是gcc 295有问题
下个新的gcc

论坛徽章:
0
3 [报告]
发表于 2003-01-22 09:22 |只看该作者

gcc编译出问题,请教一下,谢谢

可以到www.gnu.org去查找

论坛徽章:
0
4 [报告]
发表于 2003-01-22 09:25 |只看该作者

gcc编译出问题,请教一下,谢谢

有可能是你包含的头文件的顺序有问题,我就遇到过类似的问题,我把头文件的顺序调整了一下,就可以了。你可以试试
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP