LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: new babies question

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: new babies question
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 25 Mar 2005 11:00:34 +0900
On Thu, Mar 24, 2005 at 07:07:29PM +0800, liujun wrote:
> Hi All,
>     I cannot compile the ipvsadm-1.24 when I want to do a LVS-DR test (I am 
> using fedora3  kernel 2.6.9-1.667).    
>     Based the information I got from the archives and the site 
> http://www.linuxvirtualserver.org/, linux 2.6 kernel has lvs built in, so I 
> just need to download the ipvsadm from 
> http://www.linuxvirtualserver.org/software/ipvs.html#kernel-2.6, and do make, 
> make install. But I cannot make sucessfully. the error info see the bottom.
> 
>    shall I patch kernel? what should I do?
> 
>    Any help will be appreciated!
> 
> jack@hlg
> 
> make -C libipvs
> make[1]: Entering directory `/u01/ipvsadm-1.24/libipvs'
> gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include  
> -DHAVE_NET_IP_VS_H -c -o libipvs.o libipvs.c
> In file included from libipvs.c:23:
> libipvs.h:14:23: net/ip_vs.h: 没有那个文件或目??

Looks like you don't have ip_vs.h in /usr/include/net/.
Try adding the version from whichever kernel you are using
there or somewhere else in your include path.


-- 
Horms

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