LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Fwd: Problem Installation IPVSADM-1.24

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Fwd: Problem Installation IPVSADM-1.24
From: Malcolm <lists@xxxxxxxxxxxxxxxx>
Date: Sat, 02 Dec 2006 10:16:38 +0000
Fabricio,

What's wrong with apt-get install ipvsadm ?

You have the wrong kernel for building from source, you need a stock kernel.



Fabricio Oliveira wrote:
Hi,

Helps me please, is with problem of installation in versao of the
IPVSADM-1.24, is using kernel 2.6.17 SO Ubuntu 6,10, however when executing
make install appears the following message.



root@oliveira-desktop:/tmp/ipvsadm-1.24# make install
make -C libipvs
make[1]: Entrando no diretório `/tmp/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
libipvs.c:14:19: error: stdio.h: Arquivo ou diretório inexistente
libipvs.c:15:20: error: stdlib.h: Arquivo ou diretório inexistente
libipvs.c:16:20: error: unistd.h: Arquivo ou diretório inexistente
libipvs.c:17:20: error: string.h: Arquivo ou diretório inexistente
libipvs.c:18:19: error: errno.h: Arquivo ou diretório inexistente
libipvs.c:19:24: error: netinet/in.h: Arquivo ou diretório inexistente
libipvs.c :20:23: error: sys/types.h: Arquivo ou diretório inexistente
libipvs.c:21:24: error: sys/socket.h: Arquivo ou diretório inexistente
In file included from libipvs.c:23:
libipvs.h:14:23: error: net/ip_vs.h: Arquivo ou diretório inexistente
In file included from libipvs.c:23:
libipvs.h:119: error: expected ')' before 'fwmark'
libipvs.c:27: error: field 'svc' has incomplete type
libipvs.c:28: error: field 'dest' has incomplete type
libipvs.c:32: error: 'NULL' undeclared here (not in a function)
libipvs.c: In function 'ipvs_init':
libipvs.c:38: error: 'socklen_t' undeclared (first use in this function)
libipvs.c:38: error: (Each undeclared identifier is reported only once
libipvs.c:38: error: for each function it appears in.)
libipvs.c:38: error: expected ';' before 'len'
libipvs.c:40: error: 'len' undeclared (first use in this function)
libipvs.c:40: error: invalid application of 'sizeof' to incomplete type
'struct ip_vs_getinfo'




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