LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

kernel compile problems with 0.9.9

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: kernel compile problems with 0.9.9
From: "Michael Cunningham" <m.cunningham@xxxxxxxxxxx>
Date: Thu, 24 Jan 2002 19:29:02 -0500
Folks,

I am having a problem compiling lvs kernel patch on kernel 2.4.17
(on a redhat 7.2 system). This is a clean kernel downloaded from
www.kernel.org today. Its not redhat's version. 

It has been patched with the following patches.. 

linux-2.4.17-ipvs-0.9.9.patch
routes-hidden-forward_shared-noarp-2.4.16-2.diff

All the patches applied cleanly.. no problems.
Compiling the kernel works great but building the modules
fails. I followed the howto when choosing what kernel options
to pick while doing the config. 

Any ideas? 

Thanks for any help you can offer.. 
Mike
---------------------------------------------------------
make[1]: Entering directory `/usr/src/linux/net'
make -C ipv4 modules
make[2]: Entering directory `/usr/src/linux/net/ipv4'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common

-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS 
-include /usr/src/linux/include/linux/modversions.h   -DEXPORT_SYMTAB -c

ipip.c
make[2]: Leaving directory `/usr/src/linux/net/ipv4'
make -C ipv4/ipvs modules
make[2]: Entering directory `/usr/src/linux/net/ipv4/ipvs'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common

-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS 
-include /usr/src/linux/include/linux/modversions.h   -c -o ip_vs_conn.o

ip_vs_conn.c
In file included from ip_vs_conn.c:46:
/usr/src/linux/include/net/ip_vs.h: In function `__ip_vs_get_out_rt':
/usr/src/linux/include/net/ip_vs.h:879: too few arguments to function 
`ip_route_output'
/usr/src/linux/include/net/ip_vs.h:893: too few arguments to function 
`ip_route_output'
ip_vs_conn.c: In function `ip_vs_bypass_xmit':
ip_vs_conn.c:604: too few arguments to function `ip_route_output'
make[2]: *** [ip_vs_conn.o] Error 1
make[2]: Leaving directory `/usr/src/linux/net/ipv4/ipvs'
make[1]: *** [_modsubdir_ipv4/ipvs] Error 2
make[1]: Leaving directory `/usr/src/linux/net'
make: *** [_mod_net] Error 2



<Prev in Thread] Current Thread [Next in Thread>