Hello,
I need help... I think I'm stuck or maybe I didn't understand something...
I want to get my two LVS directors active-active so I need to be able to have
two daemons running (master-backup) on each director.
I have to patch the kernel (2.4.25 since there is no patch for 2.4.26
available) in order to enable kernel space for sync both daemons. I've got
this patch from
http://www.linuxvirtualserver.org/~acassen/software/linux-2.4.25-ipvs_syncd.patch.gz.
This patch has been applied with no problems and the server rebooted ok.
Now I have to get sync support for user space, so I downloaded ipvsadm-1.21
source files from
http://www.linuxvirtualserver.org/software/kernel-2.4/ipvsadm-1.21.tar.gz and
the patch from
http://www.linuxvirtualserver.org/~acassen/software/ipvsadm-1.21-ipvs_syncd.patch.gz
Once the patch has been applied successfully I try to compile ipvsadm as a deb
package dpkg-buildpackage or just a simple make I get this output:
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include -I..
-I. -DVERSION=\"1.21\" -DSCHEDULERS=\""rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|
nq"\" -DHAVE_NET_IP_VS_H -o ipvsadm.o -c ipvsadm.c
In file included from /usr/include/bits/sigcontext.h:28,
from /usr/include/signal.h:326,
from /usr/include/sys/wait.h:30,
from ipvsadm.c:105:
/usr/include/asm/sigcontext.h:79: error: parse error before '*' token
/usr/include/asm/sigcontext.h:82: error: parse error before '}' token
make: *** [ipvsadm.o] Error 1
/usr/src/linux is a soft link to /usr/src/linux-2.4.25 where the kernel source
patched is stored...
I'd like to know if I have got a theorical problem because I am applying wrong
patches or in the wrong way or if I have lib/compiler problem.
If the patches are others or there is another way to achieve this goal, please
feel free to point it to me.
Thanks in advance
--
David Manchado
System Administrator EUROCIBER
e: david.manchado@xxxxxxxxxxxx
t: +34 902 902 997
f: +34 91 338 1616
Public PGP key available at pgp.mit.edu
|