Mailing List Archive

ipvsadm make problem
Hi,

I have Redhat6.2 Linux 2.2.14. I am trying to make ipvsadm. Error follows...

[root@Intranet ipvsadm]# pwd
/usr/src/ipvs-0.9.11-2.2.14/ipvsadm
[root@Intranet ipvsadm]# make
ipvsadm.c: In function `process_options':
ipvsadm.c:310: warning: passing arg 3 of `poptGetContext' from incompatible poin
ter type
ipvsadm.c:468: structure has no member named `vfwmark'
ipvsadm.c:472: warning: passing arg 3 of `poptGetContext' from incompatible poin
ter type
ipvsadm.c:487: structure has no member named `vfwmark'
ipvsadm.c:502: structure has no member named `vfwmark'
ipvsadm.c:514: structure has no member named `vfwmark'
ipvsadm.c:515: structure has no member named `vfwmark'
ipvsadm.c:633: warning: assignment discards `const' from pointer target type
ipvsadm.c:686: structure has no member named `vfwmark'
make: *** [ipvsadm.o] Error 1
[root@Intranet ipvsadm]#

Any help is appreciated.

Venkatesh.
Re: ipvsadm make problem [ In reply to ]
On Wed, Mar 07, 2001 at 03:50:33PM -0000, venkateswaran wrote:
> Hi,
>
> I have Redhat6.2 Linux 2.2.14. I am trying to make ipvsadm. Error follows...
>
> [root@Intranet ipvsadm]# pwd
> /usr/src/ipvs-0.9.11-2.2.14/ipvsadm
> [root@Intranet ipvsadm]# make
> ipvsadm.c: In function `process_options':
> ipvsadm.c:310: warning: passing arg 3 of `poptGetContext' from incompatible poin
> ter type
> ipvsadm.c:468: structure has no member named `vfwmark'
> ipvsadm.c:472: warning: passing arg 3 of `poptGetContext' from incompatible poin
> ter type

These are just warnings, they have been fixed in later versions of ipvsadm.


> ipvsadm.c:487: structure has no member named `vfwmark'
> ipvsadm.c:502: structure has no member named `vfwmark'
> ipvsadm.c:514: structure has no member named `vfwmark'
> ipvsadm.c:515: structure has no member named `vfwmark'
> ipvsadm.c:633: warning: assignment discards `const' from pointer target type
> ipvsadm.c:686: structure has no member named `vfwmark'

Have you applied the kernel patch that correlates to the version
of ipvsadm you are trying to compile?

If you are using Red Hat 6.2 you may want to look at Ultra Monkey
(http://ultramonkey.org/) that has RPMs of ipvsadm and a kernel with
LVS built in to save you having to compile things yourself.

--
Horms
Senior Software Engineer, VA Linux Systems
email: horms@vergenet.net, horms@valinux.com
web: http://vergenet.net/~horms/