BBS.ChinaUnix.net
首页 | 新闻 | Linux | FreeBSD | AIX | Windows | 博客 | 论坛 | 存储 | 网络 | 人才 | Wiki | 资料 | 读书 | 手册 | 下载 | 空间 | 搜索
  会员: 密码: 免费注册 | 忘记密码 | 会员登录 | 搜索 | 帮助 


奥运快报: 
奥运热点:
 

[X86] solaris 9 如何安装ipfilter

首页 » 论坛 » Solaris »  
[打印] [订阅] [收藏] [本帖文本页] [推荐此主题给朋友,立即获积分]
上错花轿
新手




UID:727068
注册:2008-7-8
最后登录: 2008-07-09
帖子:2
精华:0

可用积分:2 (白手起家)
信誉积分:0
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


1楼 发表于 2008-7-8 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 编辑 ]



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘
实习版主 nimysun   帅哥
实习版主-法师




荣誉会员  
UID:123740
注册:2003-12-31
最后登录: 2008-09-06
帖子:5037
精华:2

可用积分:526 (稍有积蓄)
信誉积分:120
专家积分:101 (本版:0)
空间积分:0
推广积分:0

来自:山东
状态:...离线...

[个人空间] [短信] [博客]


2楼 发表于 2008-7-8 16:42 
你需要安装sun Studio编译器或者GCC编译器



您对本贴的看法:鲜花[0] 臭蛋[0]

__________________________________

别看了,

没有啥签名。
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘

首页 » 论坛 » Solaris »


 


Copyright © 2001-2008 ChinaUnix.net All Rights Reserved     联系我们:

感谢所有关心和支持过ChinaUnix的朋友们    转载本站内容请注明原作者名及出处

京ICP证041476号


清除 Cookies - ChinaUnix - Archiver - WAP - TOP

Processed in 0.092844 second(s), 4 queries , Gzip enabled