LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Error compiling new version 1.2.3

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] Error compiling new version 1.2.3
From: manman <mbaldov@xxxxxxxxx>
Date: Wed, 18 Jul 2012 16:14:18 +0200
Hi all,

I have this issue: when I compiling new version of keepalived (v. 1.2.3) on
a Ubuntu Server 10.04.4 LTS, I get the following error:
___________________________________________________________________


make[2]: Leaving directory `/usr/local/src/keepalived-1.2.3/keepalived/core'

make[2]: Entering directory
`/usr/local/src/keepalived-1.2.3/keepalived/vrrp'

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_daemon.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_data.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_parser.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_notify.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_scheduler.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_sync.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_index.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_netlink.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_arp.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_if.c

vrrp_if.c: In function âif_mii_readâ:

vrrp_if.c:107: warning: dereferencing type-punned pointer will break
strict-aliasing rules

vrrp_if.c: In function âif_mii_statusâ:

vrrp_if.c:134: warning: dereferencing type-punned pointer will break
strict-aliasing rules

vrrp_if.c: In function âif_mii_probeâ:

vrrp_if.c:176: warning: dereferencing type-punned pointer will break
strict-aliasing rules

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_track.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_ipaddress.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_iproute.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_ipsecah.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_ndisc.c

gcc -g -O2 -DETHERTYPE_IPV6=0x86dd  -I/usr/src/linux/include -I../include
-I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITHOUT_LVS_
-D_WITHOUT_IPVS_SYNCD_  -c vrrp_vmac.c

vrrp_vmac.c: In function ânetlink_link_setmodeâ:

vrrp_vmac.c:96: error: âIFLA_MACVLAN_MODEâ undeclared (first use in this
function)

vrrp_vmac.c:96: error: (Each undeclared identifier is reported only once

vrrp_vmac.c:96: error: for each function it appears in.)

vrrp_vmac.c:97: error: âMACVLAN_MODE_PRIVATEâ undeclared (first use in this
function)

make[2]: *** [vrrp_vmac.o] Error 1

make[2]: Leaving directory `/usr/local/src/keepalived-1.2.3/keepalived/vrrp'

make[1]: *** [all] Error 1

make[1]: Leaving directory `/usr/local/src/keepalived-1.2.3/keepalived'

make: *** [all] Error 2
____________________________________________________________________________

The previous version isn't affect to this error and I compiled it without
problems.

Please, Can someone help me?

Regards.
Man
_______________________________________________
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>
  • [lvs-users] Error compiling new version 1.2.3, manman <=