I am building a LVS director which also is the realserver for my BEA
Weblogic Apache proxy, so I am patching the kernel for both the ipvs code
and the hidden (arp patch) code.
I'm building kernel version 2.4.18 after having done the following steps:
patch -p1 <linux-2.4.18-ipvs-1.0.2.patch (went fine, no problems)
patch -p1 <routes-hidden-forward_shared-noarp-2.4.16-2.diff (again, went
fine no problems)
make menuconfig (set all the options as in the HOWTO)
make dep (no problems)
make bzImage (no problems)
make modules (produced following errors)
-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODUL
E -DMODVERSIONS -include
usr/src/linux-2.4.18/include/linux/modversions.h -DKBUILD_BASENAME=ip_vs_co
nn -c -o ip_vs_conn.o ip_vs_conn.c
In file included from ip_vs_conn.c:47:
/usr/src/linux-2.4.18/include/net/ip_vs.h: In function `__ip_vs_get_out_rt':
/usr/src/linux-2.4.18/include/net/ip_vs.h:876: too few arguments to function
`ip_route_output'
/usr/src/linux-2.4.18/include/net/ip_vs.h:890: too few arguments to function
`ip_route_output'
ip_vs_conn.c: In function `ip_vs_bypass_xmit':
ip_vs_conn.c:615: too few arguments to function `ip_route_output'
make[2]: *** [ip_vs_conn.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.18/net/ipv4/ipvs'
make[1]: *** [_modsubdir_ipv4/ipvs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18/net'
make: *** [_mod_net] Error 2
Anyone know what's causing this?
|