免费注册 查看新帖 |

Chinaunix

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

solaris 9 如何安装ipfilter [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-08 09:17 |只看该作者 |倒序浏览
刚用vmware5安装了solaris9 由于没有自带ipfilter,于是下了ip_fil4.1.29.tar.gz,pfil-2.1.6.tar.gz,
make-3.81-sol9-x86-local.gz,gcc-3.4.6-sol9-x86-local.gz。
安装好gcc与make后,通过gzip,tar等解压了pfil,进入解压后的pfil文件夹make有错误(不是找不到CC命令问题),请问是什么原因?应如何解决?
错误如下
i=`uname -s`; case $i in HP-UX) make hpux;; *) make $i;; esac
make[1]: Entering directory `/opt/tmp/pfil'
make SunOS`optisa sparcv9 >/dev/null 2>&1; if [ $? -eq 0 ] ; then echo "64"; els
e echo "32"; fi`
make[2]: Entering directory `/opt/tmp/pfil'
(cd SunOS; make pfil "BITS=32" OS=solaris DO=pfil "ADEF=-I.. -I. -D_KERNEL -DSUN
DDI -DSOLARIS2="`uname -r | sed -e 's/[0-9]*\.\([0-9]*\).*/\1/'`" -DPFILDEBUG")
make[3]: Entering directory `/opt/tmp/pfil/SunOS'
gcc   -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=9 -DPFILDEBUG -c ../pfil.c -o pfil.
o
In file included from /usr/include/sys/reg.h:13,
                 from /usr/include/sys/pcb.h:11,
                 from /usr/include/sys/klwp.h:16,
                 from /usr/include/sys/thread.h:13,
                 from /usr/include/sys/semaphore.h:18,
                 from /usr/include/sys/t_lock.h:22,
                 from /usr/include/sys/systm.h:18,
                 from ../pfil.c:17:
/usr/include/ia32/sys/reg.h:300: error: parse error before "upad128_t"
/usr/include/ia32/sys/reg.h:302: error: parse 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: parse error before "upad128_t"
/usr/include/ia32/sys/reg.h:338: error: parse error before '}' token
/usr/include/ia32/sys/reg.h:339: error: parse error before '}' token
/usr/include/ia32/sys/reg.h:376: error: parse error before "fpregset_t"
In file included from /usr/include/sys/klwp.h:19,
                 from /usr/include/sys/thread.h:13,
                 from /usr/include/sys/semaphore.h:18,
                 from /usr/include/sys/t_lock.h:22,
                 from /usr/include/sys/systm.h:18,
                 from ../pfil.c:17:
/usr/include/sys/ucontext.h:69: error: parse error before "mcontext_t"
/usr/include/sys/ucontext.h:71: error: parse error before '}' token
In file included from /usr/include/sys/promif.h:17,
                 from /usr/include/inet/ip.h:1902,
                 from ../pfil.c:50:
/usr/include/sys/archsystm.h:64: error: parse error before "fpregset_t"
/usr/include/sys/archsystm.h:65: error: parse error before "fpregset_t"
make[3]: *** [pfil.o] Error 1
make[3]: Leaving directory `/opt/tmp/pfil/SunOS'
make[2]: *** [SunOS32] Error 2
make[2]: Leaving directory `/opt/tmp/pfil'
make[1]: [SunOS] Error 2 (ignored)
make[1]: Leaving directory `/opt/tmp/pfil'

[ 本帖最后由 上错花轿 于 2008-7-8 09:43 编辑 ]

论坛徽章:
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 [报告]
发表于 2008-07-08 16:42 |只看该作者
你需要安装sun Studio编译器或者GCC编译器
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP