LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Retry - Help with kernel 2.4.23 and redhat9

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Retry - Help with kernel 2.4.23 and redhat9
From: "Moti Levy" <moti@xxxxxxxxx>
Date: Fri, 19 Dec 2003 01:07:30 -0500
----- Original Message ----- 
From: "Horms" <horms@xxxxxxxxxxxx>
To: "LinuxVirtualServer.org users mailing list."
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, December 18, 2003 11:11 PM
Subject: Re: Retry - Help with kernel 2.4.23 and redhat9


> On Thu, Dec 18, 2003 at 02:23:38PM -0500, Moti Levy wrote:
> > Hi to all
> > I am having a problem compiling 2.4.23 on Red Hat Linux release 9
(Shrike)
> > kerenl downloaded from kernel.org
>
> [snip]
>
> > ip_vs_ctl.c:97: request for member `counter' in something not a
structure or
> > union
> > make[3]: *** [ip_vs_ctl.o] Error 1
> > make[3]: Leaving directory `/usr/src/linux-2.4.23/net/ipv4/ipvs'
> > make[2]: *** [first_rule] Error 2
> > make[2]: Leaving directory `/usr/src/linux-2.4.23/net/ipv4/ipvs'
> > make[1]: *** [_subdir_ipv4/ipvs] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.4.23/net'
> > make: *** [_dir_net] Error 2
> >
> > any idea's ?
>
> Yes.
>
> I don't think that you are using the 2.4.23 LVS code.
> I suspect that you are using the 2.4.23 kernel patched with lvs 1.0.10
> for some reason. Thus the problem.
>
> I have been able to reproduce your error by unpacking 2.4.23
> and then running make installsource from the ipvs-1.0.10 tree.
>
> Try using the 2.4.23 kernel tree completely unpatched.
> It includes LVS. In fact the LVS in 2.4.23 is slightly newer than
> 1.0.10 and has been modified to compile with 2.4.23.
>
> If you really, really want to use 2.4.23 + 1.0.10 for some reason
> then you will need to start by merging the changes to
> update_defense_level() in ip_vs_ctl.c.
>
> -- 
> Horms
>

Thanks ,
cd /usr/src && rm -rf linux-* && tar zxvf /root/linux-2.4.23 did the trick
sorry for wasting your time .


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