免费注册 查看新帖 |

Chinaunix

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

BIND,make之后报错 求解 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-13 01:24 |只看该作者 |倒序浏览
solaris 9
bind-9.4.2
gcc-3.4.6

make后:

bash-2.05# make
making all in /tool/bind-9.4.2/make
making all in /tool/bind-9.4.2/lib
making all in /tool/bind-9.4.2/lib/isc
making all in /tool/bind-9.4.2/lib/isc/include
making all in /tool/bind-9.4.2/lib/isc/include/isc
making all in /tool/bind-9.4.2/lib/isc/unix
making all in /tool/bind-9.4.2/lib/isc/unix/include
making all in /tool/bind-9.4.2/lib/isc/unix/include/isc
gcc  -I/tool/bind-9.4.2 -I./include  -I./../pthreads/include  -I../include  -I./../include  -I./..   -D_REENTRANT  -D_XPG4_2 -D__EXTENSIONS__ -g -O2   -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing  -c app.c
In file included from /usr/include/sys/reg.h:13,
                 from /usr/include/sys/regset.h:24,
                 from /usr/include/sys/ucontext.h:21,
                 from /usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/sys/signal.h:249,
                 from /usr/include/signal.h:27,
                 from app.c:31:
/usr/include/ia32/sys/reg.h:300: error: syntax error before "upad128_t"
/usr/include/ia32/sys/reg.h:302: error: syntax error before '}' token
/usr/include/ia32/sys/reg.h:309: error: field `kfpu_fx' has incomplete type
/usr/include/ia32/sys/reg.h:331: error: syntax error before "upad128_t"
/usr/include/ia32/sys/reg.h:338: error: syntax error before '}' token
/usr/include/ia32/sys/reg.h:339: error: syntax error before '}' token
/usr/include/ia32/sys/reg.h:376: error: syntax error before "fpregset_t"
In file included from /usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/sys/signal.h:249,
                 from /usr/include/signal.h:27,
                 from app.c:31:
/usr/include/sys/ucontext.h:69: error: syntax error before "mcontext_t"
/usr/include/sys/ucontext.h:71: error: syntax error before '}' token
*** Error code 1
make: Fatal error: Command failed for target `app.o'
Current working directory /tool/bind-9.4.2/lib/isc/unix
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /tool/bind-9.4.2/lib/isc
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /tool/bind-9.4.2/lib
*** Error code 1
make: Fatal error: Command failed for target `subdirs'

求高手解决下

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
2 [报告]
发表于 2009-03-13 09:20 |只看该作者
我在solaris 10下面用gcc .3.4.6编译bind 9.6.0是没有任何报错的。

论坛徽章:
0
3 [报告]
发表于 2009-03-13 13:40 |只看该作者
多谢版主 我换个GCC版本试试看
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP