LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Can't compile ipvsadm

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Can't compile ipvsadm
From: Lawrence Strydom <lawrence.strydom@xxxxxxxxxxxxx>
Date: 30 Jan 2003 17:06:50 +0200
Hi all,

What am I doing wrong here?
I download and uncompress a 2.4.18.kernel.
I download the kernel patch linux-2.4.19-ipvs-1.0.4.patch.gz
I patch the kernel and rebuild it with lvs support.
I reboot 
I Download ipvsadm-1.21-3.src.rpm and install it.
I change to  /usr/src/ and untar ipvsadm
I cd to ipvsadm-1.21
make install

and..........

ir:/usr/src/packages/SOURCES # cd ipvsadm-1.21/
lvsdir:/usr/src/packages/SOURCES/ipvsadm-1.21 # make install
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 -DHAV
E_NET_IP_VS_H -o ipvsadm.o -c ipvsadm.c
ipvsadm.c: In function `parse_options':
ipvsadm.c:342: `POPT_ARGFLAG_OPTIONAL' undeclared (first use in this
function)
ipvsadm.c:342: (Each undeclared identifier is reported only once
ipvsadm.c:342: for each function it appears in.)
make: *** [ipvsadm.o] Error 1

!!!!!! WTF?

I tried using different versions of ipvsadm but to no avail. I keep
getting the same error. 

Any help / pointers will be much appreciated.

Thanks

Lawrence



-- 
=============================================================================
Lawrence Strydom
Systems Integrator
MidAfrica Software Distributors 
3'rd Floor Nedbank Plaza
York Street
George

Tel SB: +27 (0)44 8013800
Direct: +27 (0)44 8013821
Fax:    +27 (0)44 8013815
Mobile: =27 (0)833 809341

email: lawrence.strydom@xxxxxxxxxxxxx
web: www.midafrica.com
     



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