LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

ipvs-1.0.9 error when compiling

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: ipvs-1.0.9 error when compiling
From: Markus Markert <mma@xxxxxxxxxxxxxx>
Date: Mon, 26 May 2003 18:17:09 +0200
hi list,

i have downloaded the source of ipvs-1.0.9.tar.gz.
as i know, the suse 2.4.19 kernel has already the support for netfilter and 
lvs. 

which modules must i insmod?

so i want to compile the ipvs and ipvsadm and they bring me the following 
errors:

[ipvs with make]
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -DCONFIG_IP_VS_DEBUG 
-g -O2 -Wall -Wstrict-prototypes -I/usr/src/linux/include -include 
/usr/src/linux/include/linux/modversions.h   -c -o ip_vs_conn.o ip_vs_conn.c
ip_vs_conn.c: In function `ip_vs_tunnel_xmit':
ip_vs_conn.c:939: too many arguments to function `ip_select_ident'
make: *** [ip_vs_conn.o] Error 1

[ipvsadm with 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  -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


has anybody a answer for me, why it don't work?

greetings

markus
-- 
-----------------------------------------------------------
Suchtreffer AG
Bleicherstrasse 20
D-78467 Konstanz
Germany

fon:       +49-(0)7531-89207-17
fax:       +49-(0)7531-89207-13
e-mail:   mma@xxxxxxxxxxxxxx
internet: http://www.suchtreffer.de
-----------------------------------------------------------
In a world without walls and fences,
who need gates?

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