>> Delete No. 45877 article
No. kernel-2.4.18 에서 iptables-1.2.6a 설치..

등록 2002-03-29 23:16:00 By localhost     조회 1
이름 삽질..    

		iptables 설치 할려고 하는데..
iptables 설치 문서가 부족하여..
삽질중입니다...
 아래와 같이 했는데 오류가 납니다.
 1) /usr/src/linux
   make menuconfig 하고 난후
 2) /iptables_1.2.6a
   make patch-o-matic
   ipt_string 만 yes 나머지는 no
   한후 make install
 3) make menuconfig
   net filter --- ipt_string 선택..
 4) make dep; make clean; make bzImage...
5) make mouldes
 했는데.. 다음과 같은 오류가 납니다.
ipt_string 해서 string 필터하고 싶은데..
방법이 잘못 되었는데.. patch-o-matic 에서는 어떤것들을 체크해주어야 할지 잘 모르겠네요..
___________________________________________________________
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-
aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux/inclu
de/linux/modversions.h  -DKBUILD_BASENAME=ipt_string  -c -o ipt_string.o ipt_string.c ipt_string.c:80: macro `max' use
d with too many (3) args ipt_string.c: In function `search_sublinear': ipt_string.c:53: warning: subscript has type `cha
r' ipt_string.c:78: warning: subscript has type `char'
ipt_string.c:80: parse error before `;'
ipt_string.c:80: `_y' undeclared (first use in this function)
ipt_string.c:80: (Each undeclared identifier is reported only once
ipt_string.c:80: for each function it appears in.)
make[2]: *** [ipt_string.o] Error 1
make[2]: Leaving directory `/usr/src/linux/net/ipv4/netfilter'
make[1]: *** [_modsubdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux/net'
make: *** [_mod_net] Error 2
___________________________________________________________
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved