LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Can't build ipvsadm on Debian lenny.

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] Can't build ipvsadm on Debian lenny.
From: Trần Trọng Tấn <giobuon@xxxxxxxxx>
Date: Tue, 20 Oct 2009 11:20:51 +0700
I got this error when trying to compile ipvsadm 1.25:
debian:~/ipvsadm-1.25# make install
make -C libipvs
make[1]: Entering directory `/root/ipvsadm-1.25/libipvs'
gcc -Wall -Wunused -Wstrict-prototypes -g -fPIC -DLIBIPVS_USE_NL
-DHAVE_NET_IP_VS_H -c -o libipvs.o libipvs.c
In file included from libipvs.h:13,
                 from libipvs.c:23:
ip_vs.h:15:29: error: netlink/netlink.h: No such file or directory
ip_vs.h:16:31: error: netlink/genl/genl.h: No such file or directory
ip_vs.h:17:31: error: netlink/genl/ctrl.h: No such file or directory

I googled and tried to figure out what cause this but found nothing. Here
some spec about my config:

debian:/usr/src# uname -r
2.6.31.4-custom

debian:/usr/src# ls -la
total 85296
drwxrwsr-x  7 root src      4096 2009-10-20 17:48 .
drwxr-xr-x 13 root root     4096 2009-10-19 22:16 ..
lrwxrwxrwx  1 root src        14 2009-10-20 17:48 linux -> linux-2.6.31.4
drwxrwxr-x 25 root root     4096 2009-10-20 01:02 linux-2.6.31.4
-rw-r--r--  1 root src  61453127 2009-10-13 06:13 linux-2.6.31.4.tar.bz2
Please help,
TIA,
-giobuon
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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