Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44452 - control-center-1.4.0.5-r1 fails with undefined reference to esd_sample_getid
Summary: control-center-1.4.0.5-r1 fails with undefined reference to esd_sample_getid
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-12 06:04 UTC by Holly
Modified: 2004-04-25 13:53 UTC (History)
0 users

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


Attachments
control-center-1.4.0.5-esdfix.patch (control-center-1.4.0.5-esdfix.patch,489 bytes, patch)
2004-03-28 05:07 UTC, Richard Westwell
Details | Diff
control-center-1.4.0.5-r2.ebuild (control-center-1.4.0.5-r2.ebuild,1.31 KB, text/plain)
2004-03-28 05:08 UTC, Richard Westwell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holly 2004-03-12 06:04:01 UTC
emerging dvdrip stopped at control-center. it might have happend, that I compiled libs, that are linked here, without the esd-useflag, but I can't find out which it is. and i'm also not sure, if this causes the error.



Reproducible: Always
Steps to Reproduce:
1. emerge -v dvdrip
2.
3.

Actual Results:  
Making all in sound-properties
make[3]: Entering directory
`/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/capplets/sound-properties'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I. -I../../intl -I../../intl
-I./../../control-center -DGNOMELOCALEDIR=\""/usr/share/locale"\" -I/usr/include
-I/usr/
include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/
gtk-1.2 -I/usr/X11R6/include -DGNOMESYSCONFDIR=\""/etc"\" 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include  -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include-Os -pipe
-mcpu=i686 -funroll-loops -fomit-frame-pointer -Wall -Wunused  -c sound-properties.c
../../xml-i18n-merge ../../po sound-properties.desktop.in
sound-properties.desktop -d          -p
/bin/sh ../../libtool --mode=link gcc  -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include-Os -pipe -mcpu=i686 -funroll-loops -fomit-frame-pointer
-Wall -Wunused   -o sound-properties  sound-properties.o
../../control-center/libcapplet.la -rdynam
ic -L/usr/lib -L/usr/X11R6/lib -L/usr/lib -lORBitCosNaming -lORBit -lIIOP
-lORBitutil -lglib -lm -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE
-lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -laudiofile
-lm -ldb1 -lglib  -lgnorba
Merging translations into sound-properties.desktop.
mkdir .libs
gcc -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include-Os -pipe -mcpu=i686 -funroll-loops
-fomit-frame-pointer -Wall -Wunused -o .libs/sound-properties sound-properties.o
-rdynamic -rdynamic  ../../control-center/.libs/libcapplet.so -L/usr/lib
-L/usr/X11R6/lib /usr/lib/libORBitCosNaming.so /usr/lib/libORBit.so
/usr/lib/libIIOP.so /usr/lib/libORBitutil.so -lm /usr/lib/libgnomeui.so
/usr/lib/libart_lgpl.so /usr/lib/libgdk_imlib.so -lSM -lICE /usr/lib/libgtk.so
/usr/lib/libgdk.so /usr/lib/libgmodule.so -ldl -lXi -lXext -lX11
/usr/lib/libgnome.so /usr/lib/libgnomesupport.so /usr/lib/libaudiofile.so -lm
-ldb1 /usr/lib/libglib.so /usr/lib/libgnorba.so
sound-properties.o(.text+0x2925): In function `reload_esd_samples':
: undefined reference to `esd_sample_getid'
sound-properties.o(.text+0x294d): In function `reload_esd_samples':
: undefined reference to `esd_sample_free'
collect2: ld returned 1 exit status
make[3]: *** [sound-properties] Fehler 1
make[3]: Leaving directory
`/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/capplets/sound-properties'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
`/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/capplets'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5'
make: *** [all-recursive-am] Fehler 2

!!! ERROR: gnome-base/control-center-1.4.0.5-r1 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! (no error message)


Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 i686 VIA Nehemiah
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe -mcpu=i686 -funroll-loops -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /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="-Os -pipe -mcpu=i686 -funroll-loops -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.21/sites/www.ibiblio.org/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://194.83.57.11/sites/www.ibiblio.org/gentoo/
http://194.83.57.15/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://heartofgold.phren.net/gentoo-portage"
USE="X Xaw3d aalib acpi adns alsa apache2 apm arts avi berkdb bidi bonobo cdr
cle266 crypt cups curl dedicated dga directfb doc dvb dvd dvdr encode esd
ethereal evo fam fastcgi fbcon flac flash foomaticdb gb gd gd-external gdbm ggi
gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib
ipv6 jabber jack java jikes joystick jpeg kde ladcca lcd lcms libg++ libgda
libwww lirc mad maildir matroska mcal mikmod mmx motif mozilla mpeg mpi msn
mysql nas ncurses netcdf nls nocd nptl oav odbc oggvorbis opengl oss pam pcmcia
pda pdflib perl plotutils png pnp postgres ppds python qt quicktime readline
samba sasl scanner sdl slang slp snmp socks5 speex spell sqlite sse ssl svga
tcpd tetex theora tiff truetype usb video_cards_cle266 videos wmf wxwindows x86
xface xinerama xml xml2 xmms xosd xv yaz zlib zvbi"
Comment 1 Richard Westwell 2004-03-28 05:07:16 UTC
Created attachment 28210 [details, diff]
control-center-1.4.0.5-esdfix.patch
Comment 2 Richard Westwell 2004-03-28 05:08:09 UTC
Created attachment 28211 [details]
control-center-1.4.0.5-r2.ebuild
Comment 3 Richard Westwell 2004-03-28 05:11:47 UTC
I had the same problem myself
(as this is something that is required for gnucash as well)

I've attached a couple of files, a patch and a new ebuild that seem to work
it was just a case of adding -lesd within one of the Makefile.am files
and then rerunning automake
Comment 4 foser (RETIRED) gentoo-dev 2004-03-28 07:38:10 UTC
I think this is -as you say- a problem on your side with libs/esound, without further evidence that doesn't justify this patch (which forces esound).
Comment 5 foser (RETIRED) gentoo-dev 2004-04-25 13:53:40 UTC
i believe had esound installed and later on removed it without knowing exactly the consequences. This is one. 

Closing