LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problems compiling ipvsadm

To: Andy Marsh <andy_marsh1@xxxxxxxxxxx>
Subject: Re: Problems compiling ipvsadm
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 8 Nov 2000 09:33:27 -0800
On Wed, Nov 08, 2000 at 02:10:56PM +0000, Andy Marsh wrote:
> Hi all,
> 
> I've looked through the mailing list archives and can't find any info on 
> this topic. I am having difficulty compiling version 1.12 of ipvsadm on a 
> 2.2.14 kernel. I have loaded the IPVS modules (all of them, I hope this is 
> right). When I type:
> 
> make install
> 
> in the ipvsadm source directory I get the following:
> gcc -Wall -Wunused -g -O2 -I/usr/src/linux/include -DHAVE_POPT -c ipvsadm.c
> ipvsadm.c: In function `parse_options':
> ipvsadm.c:338: warning: passing arg 3 of `poptGetContext' from incompatible 
> pointer type
> ipvsadm.c:394: warning: passing arg 3 of `poptGetContext' from incompatible 
> pointer type

You can ignore these warnings


> ipvsadm.c:417: structure has no member named `vfwmark'
> ipvsadm.c:432: structure has no member named `vfwmark'
> ipvsadm.c:444: structure has no member named `vfwmark'
> ipvsadm.c:445: structure has no member named `vfwmark'
> ipvsadm.c:555: warning: assignment discards `const' from pointer target type
> ipvsadm.c: In function `process_options':
> ipvsadm.c:815: structure has no member named `vfwmark'
> ipvsadm.c:852: structure has no member named `vfwmark'
> ipvsadm.c: In function `usage_exit':
> ipvsadm.c:1066: warning: implicit declaration of function `NVERSION'
> ipvsadm.c:1070: warning: int format, pointer arg (arg 4)
> ipvsadm.c:1070: warning: int format, pointer arg (arg 5)
> ipvsadm.c:1070: warning: too few arguments for format

You are including kernel headers that have been patched with
the wrong version of LVS.

-- 
Horms


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