Help building keepalived

Gustavo Mateus gustavo at gustavo.eti.br
Mon Apr 23 14:00:13 BST 2007


Well, for now I'm gonna use ldirectord.

I'm planning to run 15 to 20 Virtual servers on the director.
What is recommended in this case? One ldirectord configuration file and 
one process for all VS of individual files and a process for each one?

thanks


Frank Zwart wrote:
> http://sourceforge.net/mailarchive/forum.php?thread_name=000001c756e3%2478e09ea0%240200a8c0%40tuxman&forum_name=keepalived-devel 
>
>
> Alexandre Cassen says this is fixed in the next release.
>
>
> Frank Zwart
>
>
> Gustavo Mateus wrote:
>> Hi,
>>
>> I know this is not the right place for this kind of problem but I 
>> think someone here can help me.
>>
>> I'm building keepalived-1.1.13 in a slackware 11 box with 2.6.20.3 
>> kernel
>>
>> ./configure runs fine, no errors or warnings.
>>
>> When I run make I get this
>>
>> [...]
>> make[2]: Entering directory 
>> `/root/download/lvs/keepalived-1.1.13/keepalived/vrrp'
>> gcc -g -O2  -I/usr/src/linux/include -I../include -I../../lib -Wall 
>> -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LINKWATCH_ 
>> -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_  -c vrrp_arp.c
>> In file included from /usr/include/net/ethernet.h:26,
>>                 from ../include/vrrp_arp.h:29,
>>                 from vrrp_arp.c:29:
>> /usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
>> /usr/src/linux/include/linux/types.h:22: error: previous declaration 
>> of 'dev_t' was here
>> /usr/include/sys/types.h:67: error: conflicting types for 'gid_t'
>> /usr/src/linux/include/linux/types.h:54: error: previous declaration 
>> of 'gid_t' was here
>> /usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
>> /usr/src/linux/include/linux/types.h:24: error: previous declaration 
>> of 'mode_t' was here
>> /usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
>> /usr/src/linux/include/linux/types.h:25: error: previous declaration 
>> of 'nlink_t' was here
>> /usr/include/sys/types.h:82: error: conflicting types for 'uid_t'
>> /usr/src/linux/include/linux/types.h:53: error: previous declaration 
>> of 'uid_t' was here
>> In file included from /usr/include/sys/types.h:133,
>>                 from /usr/include/net/ethernet.h:26,
>>                 from ../include/vrrp_arp.h:29,
>>                 from vrrp_arp.c:29:
>> /usr/include/time.h:105: error: conflicting types for 'timer_t'
>> /usr/src/linux/include/linux/types.h:31: error: previous declaration 
>> of 'timer_t' was here
>> In file included from /usr/include/sys/types.h:220,
>>                 from /usr/include/net/ethernet.h:26,
>>                 from ../include/vrrp_arp.h:29,
>>                 from vrrp_arp.c:29:
>> /usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
>> /usr/src/linux/include/linux/types.h:21: error: previous declaration 
>> of 'fd_set' was here
>> In file included from /usr/include/net/ethernet.h:26,
>>                 from ../include/vrrp_arp.h:29,
>>                 from vrrp_arp.c:29:
>> /usr/include/sys/types.h:235: error: conflicting types for 'blkcnt_t'
>> /usr/src/linux/include/linux/types.h:152: error: previous declaration 
>> of 'blkcnt_t' was here
>> vrrp_arp.c: In function 'send_gratuitous_arp':
>> vrrp_arp.c:84: warning: pointer targets in initialization differ in 
>> signedness
>> make[2]: *** [vrrp_arp.o] Error 1
>> make[2]: Leaving directory 
>> `/root/download/lvs/keepalived-1.1.13/keepalived/vrrp'
>> make[1]: *** [all] Error 1
>> make[1]: Leaving directory 
>> `/root/download/lvs/keepalived-1.1.13/keepalived'
>> make: *** [all] Error 2
>>
>>
>> Googleing the problem I found that it may be a conflit between glibc 
>> and the kernel headers.
>>
>> Did someone have this problem (maybe not with keeplived but with 
>> other app)?
>>
>> thanks
>>
>> Gustavo
>>
>>
>> _______________________________________________
>> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
>> Send requests to lvs-users-request at LinuxVirtualServer.org
>> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
>


Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list