gcc-2.95 (turbo linux 6.5)입니다..(max()함수가 다른가..)
: 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-stric
: t-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux/i
: nclude/linux/modversions.h -DKBUILD_BASENAME=ipt_string -c -o ipt_string.o ipt_string.c ipt_string.c:80: macro `ma
: x' used with too many (3) args ipt_string.c: In function `search_sublinear': ipt_string.c:53: warning: subscript has t
: ype `char' 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
: ___________________________________________________________