LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ipvs-1.0.9 error when compiling

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: ipvs-1.0.9 error when compiling
Cc: Horms <horms@xxxxxxxxxxxx>
Cc: Wensong Zhang <wensong@xxxxxxxxxxxx>
From: Roberto Nibali <ratz@xxxxxx>
Date: Wed, 04 Jun 2003 13:09:21 +0200
Hi guys,

[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)

you don't have popt (or your version is too old).
Horms,
        This one comes up occassionally. Can you trap it with configure
(or whatever)?

My 2 cents:

This would be a nice addition, as I too fall into that trap every time on every box I do compile ipvsadm and I do remove that POPT_ARGFLAG_OPTIONAL every time because it is easier than to find it (yes I know, freshmeat show it as first link, but then you get rpm only for popt-1.8*).

OTOH, it wouldn't hurt if people had to supply a parameter after -p every time 
:).

Regards,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc

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