LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Error on compling

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Error on compling
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 26 Nov 2004 16:24:20 +0900
On Fri, Nov 26, 2004 at 01:36:14AM +1100, Graham wrote:
> Has anyone had the following error - and whats the fix
> 
> ip_vs_ctl.c:98: error: request for member `counter' in something not a
> structure or union

That usually indicates that you are applying LVS to a version
of the kernel other than that which it was intended for.
Or alternatively you are applying to a kernel that already
has other patches. Fixing this is usually a fairly trivial matter
of finding the structure in the kernel source and changing which
element is used. Ditto for functions that change the number of
arguments. Off the top of my head I don't recall encountering that
particular error, so I don't have a fix at hand.

-- 
Horms

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