LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Troubles with IPPFVSADM

To: Wensong Zhang <wensong@xxxxxxxxxxxx>
Subject: Re: Troubles with IPPFVSADM
Cc: neilson@xxxxxxxxxxxxxxx, linux-virtualserver@xxxxxxxxxxxx
From: klynn@xxxxxxxxxxxxx
Date: Fri, 20 Nov 1998 08:15:51 -0800 (PST)
I had that problem with timer.h after I built the linux kernel with
virtual server support.

I believe it happens when you enable the high res timing features in the
kernel.

I fixed it by adding "#include <linux/timer.h>" to the headers in
ippfvsadm.c

Kevin

On Fri, 20 Nov 1998, Wensong Zhang wrote:

> At 22:46 98-11-19 -0300, you wrote:
> >
> >     Heya Wensong ... ! Remember me ?! I think not ! hehehehehe :-P
> >
> 
> Yeah, I remember you. Have you make the SNAT work for you? hehehe :-D
> 
> >     Well ... Me and my doubts ! hehehehehehe ... could you help me another
> >time ?! :-)
> >     I´m receiving the following error during  compilation of ippfvsadm.c
> >..
> >
> >gcc -O2 -I/usr/src/linux/include -o ippfvsadm ippfvsadm.c
> >In file included from ippfvsadm.c:57:
> >/usr/src/linux/include/linux/ip_fw.h:266: field `timer' has incomplete type
> >make: *** [ippfvsadm] Error 1
> >
> >     My kernel version is 2.0.35 and sucessfully applied the patch version
> >vs-0.4 ...
> >
> >     Some clue can help me Wensong ?!
> 
> Have you built the Linux kernel with virtual server support?
> 
> After building the kernel successfully, then build ippfvsadm. There should
> be no problem to build in RedHat 5.1 or Slackware 3.x.
> 
> >
> >     Thank you a lot !!!
> >
> >     Neilson Henriques
> >
> 
> You are welcome,
> 
> Wensong
> 
> 


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