LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

error in installing ipvsadm

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: error in installing ipvsadm
From: Ravi Kumar Munnangi <munnangi_ivar@xxxxxxxxx>
Date: Tue, 24 Jun 2003 22:09:08 -0700 (PDT)
  I have patched the linux 2.4.18 kernel with ipvs.
  Then trying to install the administration
package,ipvsadm-1.21.
 when I have given the make command, the output is as
follows:

[root@ganeshl ipvsadm-1.21]# make
gcc -Wall -Wunused -Wstrict-prototypes -g -O2
-I/usr/src/linux/include -I.. -I.
-DVERSION=\"1.21\"
-DSCHEDULERS=\""rr|wrr|lc|wlc|lblc|dh|sh"\"
-DHAVE_POPT -DHAVE_NET_IP_VS_H -o ipvsadm.o -c
ipvsadm.c
In file included from ipvsadm.c:119:
libipvs/libipvs.h:14:23: net/ip_vs.h: No such file or
directory
In file included from ipvsadm.c:119:
libipvs/libipvs.h:45: warning: `struct
ip_vs_rule_user' declared inside parameter list
libipvs/libipvs.h:45: warning: its scope is only this
definition or declaration, which is probably not what
you want
libipvs/libipvs.h:52: warning: `struct
ip_vs_service_user' declared inside parameter list
libipvs/libipvs.h:54: warning: `struct
ip_vs_service_user' declared inside parameter list
libipvs/libipvs.h:59: warning: `struct
ip_vs_service_user' declared inside parameter list
libipvs/libipvs.h:63: warning: `struct
ip_vs_dest_user' declared inside parameter list
libipvs/libipvs.h:65: warning: `struct
ip_vs_dest_user' declared inside parameter list
libipvs/libipvs.h:71: parse error before "fwmark"
libipvs/libipvs.h:71: warning: function declaration
isn't a prototype
ipvsadm.c:199: `IP_VS_SO_SET_MAX' undeclared here (not
in a function)
ipvsadm.c:199: `IP_VS_BASE_CTL' undeclared here (not
in a function)
ipvsadm.c:199: confused by earlier errors, bailing out
make: *** [ipvsadm.o] Error 1


please help me come out of this error!
  Iam a linux newbie
ravikumar

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
<Prev in Thread] Current Thread [Next in Thread>