Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78519 - xfce4-session-4.2.0 fails to compile: undefined reference to compose
Summary: xfce4-session-4.2.0 fails to compile: undefined reference to compose
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-18 07:51 UTC by Alexander Brüning
Modified: 2005-03-08 01:40 UTC (History)
0 users

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


Attachments
patch to compile xfce4-session (4.2.0-properties-bug.diff,446 bytes, patch)
2005-03-08 01:33 UTC, Michael Platov
Details | Diff
ebuild that applies patch above (xfce4-session-4.2.0.ebuild,711 bytes, text/plain)
2005-03-08 01:40 UTC, Michael Platov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Brüning 2005-01-18 07:51:38 UTC
I'm trying to emerge xfce-base/xfce4-session-4.2.0 (update from 4.1.99.3) but compiling fails with the folowing:

xfce4_session-xfsm-properties.o(.text+0xead): In function `xfsm_properties_load' :
: undefined reference to `compose'
xfce4_session-xfsm-properties.o(.text+0xf29): In function `xfsm_properties_load' :
: undefined reference to `compose'
xfce4_session-xfsm-properties.o(.text+0xffe): In function `xfsm_properties_load' :
: undefined reference to `compose'
xfce4_session-xfsm-properties.o(.text+0x104a): In function `xfsm_properties_load ':
: undefined reference to `compose'
xfce4_session-xfsm-properties.o(.text+0x1096): In function `xfsm_properties_load ':
: undefined reference to `compose'
xfce4_session-xfsm-properties.o(.text+0x10e2): more undefined references to `com pose' follow
collect2: ld returned 1 exit status
make[2]: *** [xfce4-session] Error 1
make[2]: Leaving directory `/var/tmp/portage/xfce4-session-4.2.0/work/xfce4-sess ion-4.2.0/xfce4-session'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce4-session-4.2.0/work/xfce4-sess ion-4.2.0'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:





My emerge info:

Portage 2.0.51-r13 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Sep 19 2004, 20:35:10)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.4_p6, 1.7.9, 1.9.4, 1.5, 1.8.5-r2, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r2, 2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -pipe -fomit-frame-pointer -mfpmath=sse -msse2 -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/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/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -fomit-frame-pointer -mfpmath=sse -msse2 -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/
http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X Xaw3d aalib acl acpi adns aim alsa apache2 apm arts
audiofile avi bcmath berkdb bidi bindist bitmap-fonts bonobo bootsplash bzlib
cdparanoia cdr cjk codecs cpdflib crypt ctype cups curl curlwrappers dbx dga dio
divx4linux dmx dvd dvdr dvdread encode escreen esd etwin exif f77 fftw flac
flash font-server foomaticdb fortran freetype ftp gd gdbm gif gimpprint gnome
gpm gstreamer gtk gtk2 gtkhtml guile iconv icq imagemagick imap imlib ipv6
jabber java javascript joystick jpeg kde ladcca lcms ldap libcaca libedit libg++
libsamplerate libwww live mad maildir memlimit mhash mikmod mime ming mmx mmx2
mng motif mozdevelop mozilla moznocompose moznoirc mozp3p mozsvg mp3 mpeg
ncurses network nls nocd nptl nvidia offensive oggvorbis openal opengl oscar oss
pam pdflib perl pie plotutils png posix ppds python qemu-fast qt quicktime
readline rtc samba sdl session shared sharedmem slang slp sockets softmmu speex
spell sse sse2 ssl stats svg szip tcltk tcpd theora tidy tiff transcode truetype
truetype-fonts type1-fonts unicode usb videos wmf x86 xfs xine xml2 xmms xosd
xpm xrandr xv xvid zlib"
Unset:  LDFLAGS
Comment 1 Alexander Brüning 2005-01-18 10:57:25 UTC
My CFLAGS were the problem, ebuild is OK.
Comment 2 Greg Hasseler 2005-02-21 10:11:03 UTC
I experienced the same problem. The following worked for me:

CFLAGS="-march=pentium4 -O3 -pipe" emerge xfce4
Comment 3 Michael Platov 2005-03-08 01:33:22 UTC
Created attachment 52904 [details, diff]
patch to compile xfce4-session

patch that fixes this issue, according to disscussion on:
http://www.os-cillation.de/cgi-bin/yabb/YaBB.cgi?board=Help;action=display;num=1106318164
Comment 4 Michael Platov 2005-03-08 01:40:35 UTC
Created attachment 52906 [details]
ebuild that applies patch above

This is patched ebuild for xfce4-session-2.4.0 that fixes 2.4.0 compilation
issue on x86 according to:
http://www.os-cillation.de/cgi-bin/yabb/YaBB.cgi?board=Help;action=display;num=1106318164


I'm not proffessional in creating ebuilds so I'm not sure if everything work
correctly in it. I can only say that with this ebuild I can compile this
package on my machine.