Hi,
The ipvsadm-1.15 is for kernel 2.2.
The default kernel header of your Red Hat 7.2 is kernel 2.4.*. If you want
to use IPVS for kernel 2.2, you have to install a copy of kernel 2.2.* and
apply IPVS patch to it, and rebuild the kernel, finally build
ipvsadm-1.15.
Regards,
Wensong
On Sat, 8 Dec 2001, tong wrote:
> I found that the previous errors ( see bottom ) went away if I copied
> some of
> the missing files ( e.g. ip_vs.h, ip_masq.h .... )
> to /usr/include/linux and /usr/include/net instead of pointing include
> directories to
> the existing directories of those files. However, a lot more new errors
> popped up.
> I then tried version 1.5 of ipvsadm in Red Hat 7.2 and got the following
> error:
> ----------------------------------------------------------------------------
> gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include
> -DVERSION=\"1.15\" -DHAVE_POPT -c ipvsadm.c
> ipvsadm.c: In function `parse_options':
> ipvsadm.c:499: `IP_MASQ_F_VS_TUNNEL' undeclared (first use in this
> function)
> ipvsadm.c:499: (Each undeclared identifier is reported only once
> ipvsadm.c:499: for each function it appears in.)
> ipvsadm.c:505: `IP_MASQ_F_VS_DROUTE' undeclared (first use in this
> function)
> ipvsadm.c: In function `process_options':
> ipvsadm.c:818: `IP_MASQ_F_VS_DROUTE' undeclared (first use in this
> function)
> ipvsadm.c:873: `IP_MASQ_F_VS_TUNNEL' undeclared (first use in this
> function)
> make: *** [ipvsadm.o] Error 1
> ----------------------------------------------------------------------------
>
> Could some body please help. Thanks.
>
> Tong
>
|