LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs 1.0.0 and 2.4.18 kernel

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: lvs 1.0.0 and 2.4.18 kernel
From: Geert Vanderkelen <geert@xxxxxxxxxx>
Date: 25 Mar 2002 12:28:00 +0100
Thanks! It works for me. Had the same problem on Debian Woody with
newest binutils.

Geert

On Fri, 2002-03-22 at 01:58, Julian Anastasov wrote:
> 
>       Hello,
> 
> On Tue, 19 Mar 2002, Jerry Thomas wrote:
> 
> > I have been trying to compile lvs 1.0.0 into 2.4.18 and i haven't had any 
> > luck
> > i'm getting this.
> >
> > drivers/media/media.o drivers/scsi/scsidrv.o drivers/pci/driver.o 
> > drivers/video/video.o \
> >         net/network.o \
> >         /usr/src/linux-2.4.18/arch/i386/lib/lib.a 
> > /usr/src/linux-2.4.18/lib/lib.a /usr/src/linux-2.4.18/arch/i386/lib/lib.a \
> >         --end-group \
> >         -o vmlinux
> > net/network.o: In function `ip_vs_init':
> > net/network.o(.text.init+0x2018): undefined reference to 
> > `ip_vs_control_cleanup'
> > make[1]: *** [vmlinux] Error 1
> > make[1]: Leaving directory `/usr/src/linux-2.4.18'
> > make: *** [stamp-build] Error 2
> 
>       Try the attached patch (cd ipvs* ; patch -p1 < ctl1.diff)
> 
> > anybody got any ideas?
> 
>       and let me know if it solves the problem
> 
> Regards
> 
> --
> Julian Anastasov <ja@xxxxxx>
> ----
> 

> --- ipvs-1.0.0/ipvs/ip_vs_ctl.c.orig  Wed Feb 27 02:50:18 2002
> +++ ipvs-1.0.0/ipvs/ip_vs_ctl.c       Fri Mar 22 00:53:57 2002
> @@ -2044,7 +2044,7 @@
>  };
>  
>  
> -int __init ip_vs_control_init(void)
> +int ip_vs_control_init(void)
>  {
>       int ret;
>       int idx;
> @@ -2082,7 +2082,7 @@
>       return 0;
>  }
>  
> -void __exit ip_vs_control_cleanup(void)
> +void ip_vs_control_cleanup(void)
>  {
>       EnterFunction(2);
>       ip_vs_trash_cleanup();
-- 
Geert Vanderkelen
Developer/Security Chief
Ypsilon.Net AG

PGP key:
http://keyserver.pgp.com/pks/lookup?op=get&exact=off&search=0xAC71EB1E
Fingerprint: CCF7 0C94 E3BA 5F8F 9DEE  8E73 B58C 9DFB AC71 EB1E



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