Re: [Keepalived-devel] 1.2 on RHEL5.5 64bit failing to compile
Status: Beta
Brought to you by:
acassen
|
From: Vincent B. <be...@lu...> - 2010-10-06 18:08:42
|
OoO Pendant le repas du mercredi 06 octobre 2010, vers 19:52, Paul Hirose <pth...@uc...> disait : >>> gcc -g -O2 -I/usr/src/kernels/2.6.18-194.11.3.el5-x86_64/include/ -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -c vrrp_arp.c >> >> Try this fix: >> http://cgit.luffy.cx/keepalived/commit/?h=fixes&id=2efcfd116517d3d26952f3adce62c19be4c434da > That patch works fine :) vrrp_arp.c now builds on 32bit and 64bit RHEL5.5. > I'm now having the following: > gcc -g -O2 -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -c vrrp_if.c > vrrp_if.c: In function ‘if_mii_read’: > vrrp_if.c:106: warning: dereferencing type-punned pointer will break strict-aliasing rules > vrrp_if.c: In function ‘if_mii_status’: > vrrp_if.c:133: warning: dereferencing type-punned pointer will break strict-aliasing rules > vrrp_if.c: In function ‘if_mii_probe’: > vrrp_if.c:175: warning: dereferencing type-punned pointer will break strict-aliasing rules This can be ignored. > gcc -g -O2 -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -c vrrp_ndisc.c > vrrp_ndisc.c: In function ‘ndisc_send_unsolicited_na’: > vrrp_ndisc.c:133: error: ‘ETHERTYPE_IPV6’ undeclared (first use in this function) > vrrp_ndisc.c:133: error: (Each undeclared identifier is reported only once > vrrp_ndisc.c:133: error: for each function it appears in.) > make[2]: *** [vrrp_ndisc.o] Error 1 > make[2]: Leaving directory `/var/tmp/keepalived-1.2.0/keepalived/vrrp' > make[1]: *** [all] Error 1 > make[1]: Leaving directory `/var/tmp/keepalived-1.2.0/keepalived' > make: *** [all] Error 2 configure with: ./configure CFLAGS="-g -O2 -Wall -DETHERTYPE_IPV6=0x86dd" ETHERTYPE_IPV6 is defined in recent version of /usr/include/net/ethernet.h. -- printk("autofs: Out of inode numbers -- what the heck did you do??\n"); 2.0.38 /usr/src/linux/fs/autofs/root.c |