LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: When I compile ipvsadm-1.21, I met a error like this

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: When I compile ipvsadm-1.21, I met a error like this
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 13 Sep 2002 10:18:17 +0900
On Fri, Sep 13, 2002 at 09:42:48AM +0900, wrote:
> OS: redhat 7.1
> Kernel version: 
> Linux localhost.localdomain 2.4.2-2 
> 
> 
> [root@localhost src]# cd ipvsadm-1.21
> [root@localhost ipvsadm-1.21]# ls
> config_stream.c  debian           ipvsadm.8        ipvsadm-restore.8  
> ipvsadm.sh       libipvs   SCHEDULERS
> config_stream.h  dynamic_array.c  ipvsadm.c        ipvsadm-save       
> ipvsadm.spec     Makefile  VERSION
> contrib          dynamic_array.h  ipvsadm-restore  ipvsadm-save.8     
> ipvsadm.spec.in  README
> [root@localhost ipvsadm-1.21]# 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 -DHAVE_NET_IP_VS_H -o ipvsadm.o -c ipvsadm.c
> In file included from ipvsadm.c:119:
> libipvs/libipvs.h:14:23: net/ip_vs.h: No such file or directory
> make: *** [ipvsadm.o] Error 1
> [root@localhost ipvsadm-1.21]# 
> 
> I tried 3 or 4 times but always happen like that..
> 
> Who can help me.. please.. 
> 
> I should make a load balance server but  linux virtual server is very 
> difficult..
> 
> so I'm thinking about Ultramonkey.. or WLBS..

You are missing the ip_vs.h include file. This can be found as part of
the ipvs tar ball which is found on www.linuxvirtualserver.org.

-- 
Horms
        


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