Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80736 - xorg-x11-6.8.0-r4 compile fails with "multiple definition of..." errors from ld
Summary: xorg-x11-6.8.0-r4 compile fails with "multiple definition of..." errors from ld
Status: RESOLVED DUPLICATE of bug 78147
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-04 09:04 UTC by Shaun Crampton
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun Crampton 2005-02-04 09:04:00 UTC
Tried to emerge xorg-x11, compile fails about 5 minutes in with many multiple definition of... errors.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
make[5]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs/Xserver/hw/vfb'
i686-pc-linux-gnu-gcc -o Xorg -O2 -march=athlon-xp -pipe -fno-strict-aliasing
-ansi -pedantic -Wno-return-type -w     -L../../exports/lib   xkb/xf86KillSrv.o
xkb/xf86VT.o xkb/xf86Private.o
../../programs/Xserver/hw/xfree86/drivers/drvConf.o
../../programs/Xserver/hw/xfree86/input/drvConf.o        
../../programs/Xserver/hw/xfree86/drivers/libdriver.a
../../programs/Xserver/hw/xfree86/ramdac/libramdac.a
../../programs/Xserver/hw/xfree86/ddc/libddc.a
../../programs/Xserver/hw/xfree86/i2c/libi2c.a              
../../programs/Xserver/hw/xfree86/xaa/libxaa.a
../../programs/Xserver/hw/xfree86/vgahw/libvgahw.a
../../programs/Xserver/hw/xfree86/fbdevhw/libfbdevhw.a        
../../programs/Xserver/hw/xfree86/xf8_32bpp/libxf8_32bpp.a            
../../programs/Xserver/hw/xfree86/xf8_16bpp/libxf8_16bpp.a
../../programs/Xserver/hw/xfree86/xf24_32bpp/libxf24_32bpp.a           
../../programs/Xserver/hw/xfree86/xf4bpp/libxf4bpp.a../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a
../../programs/Xserver/hw/xfree86/shadowfb/libshadowfb.a afb/libafb.a
../../programs/Xserver/hw/xfree86/input/libidriver.a 
../../programs/Xserver/hw/xfree86/common/xf86Init.o
../../programs/Xserver/hw/xfree86/common/xf86IniExt.o
../../programs/Xserver/hw/xfree86/common/libxf86.a
../../programs/Xserver/hw/xfree86/rac/librac.a     
../../programs/Xserver/hw/xfree86/parser/libxf86config.a
../../programs/Xserver/hw/xfree86/vbe/libvbe.a
../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a
../../programs/Xserver/hw/xfree86/os-support/libint10.a              
../../programs/Xserver/hw/xfree86/common/libxf86.a miext/shadow/libshadow.a
dix/libdix.a os/libos.a ../../exports/lib/libXau.a  fb/libfb.a cfb16/libcfb16.a
cfb24/libcfb24.a                 cfb32/libcfb32.a                cfb/libcfb.a
mfb/libmfb.a dix/libxpstubs.a mi/libmi.a composite/libcomposite.a
damageext/libdamage.a miext/damage/libdamage.a xfixes/libxfixes.a
miext/cw/libcw.a                  Xext/libext.a xkb/libxkb.a Xi/libxinput.a    
              lbx/liblbx.a                   ../../lib/lbxutil/liblbxutil.a
dbe/libdbe.a record/librecord.a  XTrap/libxtrap.a GL/glx/libglx.a              
 GL/mesa/GLcore/libGLcore.a                GL/dri/libdri.a randr/librandr.a
render/librender.a ../../programs/Xserver/hw/xfree86/common/libxf86.a mi/libmi.a
../../programs/Xserver/hw/xfree86/scanpci/libscanpci.a
../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a                
../../programs/Xserver/hw/xfree86/ddc/libddc.a     ../../lib/font/libXfont.a
-L/usr/lib  -lfreetype dix/libxpstubs.a -lz -lm                -lpam -rdynamic
-ldl -lpam_misc  -lXau -lXdmcp -lXau   -Wl,-rpath-link,../../exports/lib
cfb24/libcfb24.a(cfbcmap.o)(.text+0x50): In function `cfbExpandDirectColors':
: multiple definition of `cfbExpandDirectColors'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x50): first defined here
cfb24/libcfb24.a(cfbcmap.o)(.text+0x60): In function `cfbCreateDefColormap':
: multiple definition of `cfbCreateDefColormap'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x60): first defined here
cfb24/libcfb24.a(cfbcmap.o)(.text+0x70): In function `cfbClearVisualTypes':
: multiple definition of `cfbClearVisualTypes'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x70): first defined here
cfb24/libcfb24.a(cfbcmap.o)(.text+0x80): In function `cfbSetVisualTypes':
: multiple definition of `cfbSetVisualTypes'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x80): first defined here
cfb24/libcfb24.a(cfbcmap.o)(.text+0xb0): In function `cfbInitVisuals':
: multiple definition of `cfbInitVisuals'
cfb16/libcfb16.a(cfbcmap.o)(.text+0xb0): first defined here
cfb32/libcfb32.a(cfbcmap.o)(.text+0x50): In function `cfbExpandDirectColors':
: multiple definition of `cfbExpandDirectColors'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x50): first defined here
cfb32/libcfb32.a(cfbcmap.o)(.text+0x60): In function `cfbCreateDefColormap':
: multiple definition of `cfbCreateDefColormap'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x60): first defined here
cfb32/libcfb32.a(cfbcmap.o)(.text+0x70): In function `cfbClearVisualTypes':
: multiple definition of `cfbClearVisualTypes'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x70): first defined here
cfb32/libcfb32.a(cfbcmap.o)(.text+0x80): In function `cfbSetVisualTypes':
: multiple definition of `cfbSetVisualTypes'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x80): first defined here
cfb32/libcfb32.a(cfbcmap.o)(.text+0xb0): In function `cfbInitVisuals':
: multiple definition of `cfbInitVisuals'
cfb16/libcfb16.a(cfbcmap.o)(.text+0xb0): first defined here
cfb/libcfb.a(cfbcmap.o)(.text+0x50): In function `cfbExpandDirectColors':
: multiple definition of `cfbExpandDirectColors'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x50): first defined here
cfb/libcfb.a(cfbcmap.o)(.text+0x60): In function `cfbCreateDefColormap':
: multiple definition of `cfbCreateDefColormap'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x60): first defined here
cfb/libcfb.a(cfbcmap.o)(.text+0x70): In function `cfbClearVisualTypes':
: multiple definition of `cfbClearVisualTypes'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x70): first defined here
cfb/libcfb.a(cfbcmap.o)(.text+0x80): In function `cfbSetVisualTypes':
: multiple definition of `cfbSetVisualTypes'
cfb16/libcfb16.a(cfbcmap.o)(.text+0x80): first defined here
cfb/libcfb.a(cfbcmap.o)(.text+0xb0): In function `cfbInitVisuals':
: multiple definition of `cfbInitVisuals'
cfb16/libcfb16.a(cfbcmap.o)(.text+0xb0): first defined here
mfb/libmfb.a(mfbgc.o)(.text+0xa80): In function `mfbGetInverseAlu':
: multiple definition of `mfbGetInverseAlu'
../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbgc.o)(.text+0xa80):
first defined here
mfb/libmfb.a(mfbfont.o)(.text+0x10): In function `mfbRealizeFontWeak':
: multiple definition of `mfbRealizeFontWeak'
../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbfont.o)(.text+0x10):
first defined here
mfb/libmfb.a(mfbfont.o)(.text+0x30): In function `mfbUnrealizeFontWeak':
: multiple definition of `mfbUnrealizeFontWeak'
../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbfont.o)(.text+0x30):
first defined here
mfb/libmfb.a(maskbits.o)(.text+0x60): In function `mergeGetRopBits':
: multiple definition of `mergeGetRopBits'
../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(maskbits.o)(.text+0x60):
first defined here
mfb/libmfb.a(mfbpushpxl.o)(.text+0x450): In function `mfbPushPixelsWeak':
: multiple definition of `mfbPushPixelsWeak'
../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbpushpxl.o)(.text+0x540):
first defined here
mfb/libmfb.a(mfbclip.o)(.text+0x570): In function `mfbPixmapToRegionWeak':
: multiple definition of `mfbPixmapToRegionWeak'
../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbclip.o)(.text+0x5f0):
first defined here
mfb/libmfb.a(mfbmisc.o)(.text+0x80): In function `mfbQueryBestSizeWeak':
: multiple definition of `mfbQueryBestSizeWeak'
../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbmisc.o)(.text+0x80):
first defined here
collect2: ld returned 1 exit status
make[4]: *** [Xorg] Error 1
make[4]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.0-r4 failed.
!!! Function src_compile, Line 266, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.



Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 26 2004, 09:51:11)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks prelink sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.mirror.sdv.fr http://ftp.easynet.nl/mirror/gentoo/
http://www.gigaload.org/gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib aim alsa apache2 apm arts artswrappersuid audiofile avi
bash-completion bitmap-fonts cdparanoia cdr composite crypt cups dga directfb
divx4linux dri dvd dvdr dvdread encode esd f77 fam fbcon flac flash font-server
foomaticdb fortran gd gdbm gif gimpprint gmp gnome gpm gstreamer gtk gtk+ gtk2
guile hardenedphp imagemagick imlib ipv6 jabber java javascript jpeg jpeg2k
junit kde ldap libg++ libwww live lzw-tiff mad matroska
media-video/mplayer:libcaca mikmod mmx mng monkey motif mpeg msn mysql ncurses
nls nodrm oggvorbis ooo-kde opengl oss pam pdflib perl png postgres povray ppds
python qt quicktime readline samba scanner sdl slang softmmu speex spell sse ssl
svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb
wmf xinexml xml2 xmms xv xvid yahoo zlib video_cards_radeon linguas_en_GB"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Adam Jackson 2005-02-04 10:03:23 UTC
this is fixed by my most recent commits to {c,m}fb{un,}map.h in Xorg head.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-04 18:06:35 UTC
Remember to search before filing bugs. E.g. bug #79497, bug #78147, etc.

*** This bug has been marked as a duplicate of 78147 ***