Re: [問題] Linux防火牆的問題

看板Linux作者 (SunOS 5.11)時間13年前 (2010/10/18 14:42), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《OpenSolaris (SunOS 5.11)》之銘言: : 想問一下各位大師,Linux kernel目前對於ipfilter的支援好不好? : 小弟目前有試用Debian 5.0,在ipfilter的官網有寫支援Linux, : 但是編譯時會出現編譯失敗的訊息,我有選擇make 指定平台是Linux : 至於網路上尋找ipf的Debian package都找不到,aptitude search也不到....... : 所以想向各位大師請教...... : 謝謝. 錯誤訊息來了: make[1]: Entering directory `/data1/ip_fil5.1.0/Linux' gcc -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wuninitialized -I. -ILinux-2.6.26-2-amd64-x86_64 -g -I.. -D_BSD_SOURCE -DUSE_INET6 -DIPFILTER_LOG -DLINUX=20626 -c Linux-2.6.26-2-amd64-x86_64/ipf_y.c -o Linux-2.6.26-2-amd64-x86_64/ipf_y.o cc1: warning: -Wuninitialized is not supported without -O ../tools/ipf_y.y: In function 'ipf_yyparse': ../tools/ipf_y.y:715: error: 'icmpcodewords' undeclared (first use in this function) ../tools/ipf_y.y:715: error: (Each undeclared identifier is reported only once ../tools/ipf_y.y:715: error: for each function it appears in.) ../tools/ipf_y.y:783: error: 'addrwords' undeclared (first use in this function) ../tools/ipf_y.y:1098: error: 'maskwords' undeclared (first use in this function) ../tools/ipf_y.y:1436: error: 'ipv4optwords' undeclared (first use in this function) ../tools/ipf_y.y:1442: error: 'ipv6optwords' undeclared (first use in this function) ../tools/ipf_y.y:1583: error: 'ipv4secwords' undeclared (first use in this function) make[1]: *** [Linux-2.6.26-2-amd64-x86_64/ipf_y.o] Error 1 make[1]: Leaving directory `/data1/ip_fil5.1.0/Linux' 我使用的Linux是:Debian 5 2.6.26-2-amd64 編譯的ipfilter版本是5.1.0 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.69.67.252
文章代碼(AID): #1Ck-nRMs (Linux)
文章代碼(AID): #1Ck-nRMs (Linux)