Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55684 - Keepalived 1.1.6 and 1.1.5 doesn't compile in Kernel 2.6
Summary: Keepalived 1.1.6 and 1.1.5 doesn't compile in Kernel 2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-30 08:28 UTC by Erasmo
Modified: 2010-09-10 18:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild file for version 1.1.7 (keepalived-1.1.7.ebuild,1.31 KB, patch)
2004-06-30 08:31 UTC, Erasmo
Details | Diff
Digest file for 1.1.7 ebuild (digest-keepalived-1.1.7,68 bytes, patch)
2004-06-30 08:32 UTC, Erasmo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erasmo 2004-06-30 08:28:46 UTC
When I try to emerge Keepalived version 1.1.6 or 1.1.5 on Kernel 2.6 I got some errors:

make[2]: Leaving directory `/var/tmp/portage/keepalived-1.1.6/work/keepalived-1.1.6/keepalived/libipvs-2.6'
Building ../bin/keepalived
libipvs-2.6/libipvs.o(.text+0x0): In function `ipvs_cmp_services':
: multiple definition of `ipvs_cmp_services'
libipvs-2.6/libipvs.a(libipvs.o)(.text+0x0): first defined here
libipvs-2.6/libipvs.o(.text+0x7d): In function `ipvs_cmp_dests':
: multiple definition of `ipvs_cmp_dests'
.....
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/keepalived-1.1.6/work/keepalived-1.1.6/keepalived'
make: *** [all] Error 2

!!! ERROR: sys-cluster/keepalived-1.1.6 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! make failed (myconf=--prefix=/)

Reproducible: Always
Steps to Reproduce:
emerge /usr/portage/sys-cluster/keepalived-1.1.6

Actual Results:  
make[2]: Leaving directory 
`/var/tmp/portage/keepalived-1.1.6/work/keepalived-1.1.6/keepalived/libipvs-2.6' 
Building ../bin/keepalived 
libipvs-2.6/libipvs.o(.text+0x0): In function `ipvs_cmp_services': 
: multiple definition of `ipvs_cmp_services' 
libipvs-2.6/libipvs.a(libipvs.o)(.text+0x0): first defined here 
libipvs-2.6/libipvs.o(.text+0x7d): In function `ipvs_cmp_dests': 
: multiple definition of `ipvs_cmp_dests' 
..... 
collect2: ld returned 1 exit status 
make[1]: *** [all] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/keepalived-1.1.6/work/keepalived-1.1.6/keepalived' 
make: *** [all] Error 2 
 
!!! ERROR: sys-cluster/keepalived-1.1.6 failed. 
!!! Function src_compile, Line 26, Exitcode 2 
!!! make failed (myconf=--prefix=/) 


The version 1.1.7 works fine on Kernal 2.6. I made a custom ebuild for version 
1.1.7 (downloaded from the project's web page) and works perfect.
Comment 1 Erasmo 2004-06-30 08:31:36 UTC
Created attachment 34490 [details, diff]
Ebuild file for version 1.1.7
Comment 2 Erasmo 2004-06-30 08:32:11 UTC
Created attachment 34491 [details, diff]
Digest file for 1.1.7 ebuild
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2004-08-30 07:02:56 UTC
I checked in the ebuild for 1.1.7.
Thanks for your help.
Comment 4 Michael Imhof (RETIRED) gentoo-dev 2004-08-30 07:03:40 UTC
closing.