Hi list,
I'm a [few year old] LVS user and daily LVS mailing list reader.
I used to patch and repatch RH 7.3 in order to have appropriate IPVS
support. This worked quite fine a number of time.
I'm now trying to install IPVS on Fedora and can manage to do it. I've
tried version 1.0.7, 1.0.9 and 1.0.10 of IPVS and keep getting
compilation errors.
Except Horms, who for sure did add IPVS to fedora kernels for Ultra
Monkey, did some other users managed to do it ?
What's the recipe ?
Here is what I've done :
rpm -e kernel-source-2.4.22-1.2174.nptl
rm -rf /usr/src/linux-2.4.22-1.2174.nptl
rpm -Uvh kernel-source#2.4.22-1.2174.nptl_2.4.22-1.2174.nptl_i386.rpm
# retreived using apt
cd /usr/src/linux
patch -p1 < /tmp/linux-2.4.21-ipvs-1.0.10.patch
# works fine, no rejects
make mrproper
make menuconfig
# IPVS appears where it should, all selected as modules
# just saved and exited
make dep
make SUBDIRS=net/ipv4/ipvs modules
# failed with following error :
gcc32 -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2174.nptl/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.22-1.2174.nptl/include/linux/modversions.h -nostdinc
-iwithprefix include -DKBUILD_BASENAME=ip_vs_ctl -c -o ip_vs_ctl.o
ip_vs_ctl.c
ip_vs_ctl.c: In function `update_defense_level':
ip_vs_ctl.c:97: request for member `counter' in something not a
structure or union
Any hints ?
--
Sébastien BONNET
|