LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problem with the lvs-snmp module

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Problem with the lvs-snmp module
From: "tong" <tong@xxxxxxxxx>
Date: Fri, 7 Dec 2001 19:19:20 +0800
I just went through a similar problem and I have an idea.
Your "libipvs.h,  ip_vs.h" files are located somewhere in your Linux
system.  So you can login as root.  Go to the / directory and perform
a find like
    find . -name 'ip_vs.h' -print
to local the directories.  The in your Makefile, include those directories
e.g. -I/usr/src....
and edit your lvs.c and change the lines like <net/ip_vs.h> to "ip_vs.h".
Try if that works.

Regards,
Tong

----- Original Message -----
From: "Dirk Haller" <dirk12345@xxxxxx>
To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, December 07, 2001 7:07 PM
Subject: Problem with the lvs-snmp module


> Hi,
>
> i am trying to get the lvs-snmp module running. I have a ipvs patched
kernel
> 2.4.16.
> i patched ipvs-0.9.4 with the necessary patch, and i built the libs with
>
> # make libs
> # make libs-install
>
> and now i tried to "make" the ucd-snmp-lvs-module, and i get the following
> error message:
> ----------------------------------------------------------------------
> # make
> gcc  -I/usr/src/linux/include  -DHAVE_NET_IP_VS_H -fPIC -shared  -c -o
lvs.o
> lvs.c
>
> In file included from lvs.h:11,
>                  from lvs.c:30:
> /usr/local/include/ipvs/libipvs.h:5: net/ip_vs.h: No such file or
directory
> make: *** [lvs] Error 1
> ------------------------------------------------------------------------
>
> can somebody give me a hint what i can do???
>
> CYA Dirk
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>



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