Hi Horms,
I have solved the problem by installing the fedora ipvsadm rpm , the easy way
:).
Anyway thank you, also I want to thank Jan Klopper and Peter Mueller for your
suggestions.
Regards,
liujun
>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
>_______________________________________________
>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
>
|