I'm trying to get ipvs compiled and I'm having some difficulties. I
used the README to integrate ipvs into the kernel at /usr/src/linux.
Here are the commands I used:
cd /usr/src/linux
cat <path-name>/linux_net_netsyms_c.diff | patch -p1
cat <path-name>/linux_net_ipv4_Makefile.diffl | patch -p1
cat <path-name>/linux_net_ipv4_Config_in.diff | patch -p1
cat <path-name>/linux_ip_fw_compat_c.diff | patch -p1
cp -rp <path-name>/ipvs net/ipv4
mv net/ipv4/ipvs/linux_net_ipv4_ipvs_Makefile
net/ipv4/ipvs/Makefile
make menuconfig
I'm using ipvs-1.1.2 against kernel version 2.5.61.
Here get the following error messages when I try to do a "make modules":
net/ipv4/ipvs/ip_vs_sync.c: In function `ip_vs_process_message':
net/ipv4/ipvs/ip_vs_sync.c:306: warning: assignment makes integer from
pointer without a
net/ipv4/ipvs/ip_vs_sync.c: In function `sync_thread':
net/ipv4/ipvs/ip_vs_sync.c:708: too few arguments to function `daemonize'
net/ipv4/ipvs/ip_vs_sync.c:719: structure has no member named `sig'
net/ipv4/ipvs/ip_vs_sync.c:722: structure has no member named `sig'
make[3]: *** [net/ipv4/ipvs/ip_vs_sync.o] Error 1
make[2]: *** [net/ipv4/ipvs] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
I tried to compile without integrating it into the kernel with the same
result.
Any help would be appreciated!!
--
Jesse W. Asher jasher1@xxxxxxxxxxxxxxx
|