Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 107437

Summary: cdrdao dies in compile with error "undefined reference to ao_initialize in SoundIF::SoundIF()"
Product: Gentoo Linux Reporter: Ilya Schurov <ivsgentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ilya Schurov 2005-09-27 12:40:37 UTC
Tried to emerge cdrdao in order to satisfy k3b's dependencies. Compilation
failed with message:

SoundIF-ao.o(.text+0x12): In function `SoundIF::SoundIF()':
: undefined reference to `ao_initialize'
SoundIF-ao.o(.text+0x28): In function `SoundIF::SoundIF()':
: undefined reference to `ao_default_driver_id'
SoundIF-ao.o(.text+0x72): In function `SoundIF::SoundIF()':
: undefined reference to `ao_initialize'
<...>



Reproducible: Always
Steps to Reproduce:
1.emerge cdrdao

Actual Results:  
Make failed

Expected Results:  
Cdrdao emerged correctly

Error message follows:
x86_64-pc-linux-gnu-g++ -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
-I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include
-I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0
-I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/atk-1.0   -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/libgnomeuimm-2.6
-I/usr/lib64/libgnomeuimm-2.6/include -I/usr/include/libgnomemm-2.6
-I/usr/lib64/libgnomemm-2.6/include -I/usr/include/libgnomecanvasmm-2.6
-I/usr/lib64/libgnomecanvasmm-2.6/include -I/usr/include/gconfmm-2.6
-I/usr/lib64/gconfmm-2.6/include -I/usr/include/libglademm-2.4
-I/usr/lib64/libglademm-2.4/include -I/usr/include/libgnomeui-2.0
-I/usr/include/gnome-vfsmm-2.6 -I/usr/lib64/gnome-vfsmm-2.6/include
-I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include
-I/usr/include/libgnome-2.0 -I/usr/include/glibmm-2.4
-I/usr/lib64/glibmm-2.4/include -I/usr/include/gdkmm-2.4
-I/usr/lib64/gdkmm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0
-I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/atk-1.0 -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0
-I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/libglade-2.0 -I/usr/include/libxml2
-I/usr/include/libbonoboui-2.0   -O2 -march=k8 -O2 -pipe   -o gcdmaster 
AddFileDialog.o AddSilenceDialog.o AudioCDProject.o AudioCDView.o
BlankCDDialog.o CdDevice.o CdTextDialog.o DeviceConfDialog.o DeviceList.o
DumpCDProject.o DuplicateCDProject.o gcdmaster.o GenericView.o guiUpdate.o
Icons.o MessageBox.o ProcessMonitor.o ProgressDialog.o Project.o
ProjectChooser.o RecordCDSource.o RecordCDTarget.o RecordHDTarget.o
RecordTocDialog.o RecordTocSource.o SampleDisplay.o SampleManager.o Settings.o
TextEdit.o TocEdit.o TocEditView.o TocInfoDialog.o TrackDataScrap.o
TrackInfoDialog.o TrackManager.o xcdrdao.o SoundIF-ao.o -L../dao -ldao
-L../paranoia -lcdda_paranoia -L../trackdb -ltrackdb -L../scsilib/export -lscg
-lschily -Wl,--export-dynamic -pthread -lgnomeuimm-2.6 -lgnomemm-2.6
-lgnomecanvasmm-2.6 -lgconfmm-2.6 -lglademm-2.4 -lgnomeui-2 -lSM -lICE
-lgnomevfsmm-2.6 -lgtkmm-2.4 -lglade-2.0 -lgdkmm-2.4 -latkmm-1.6 -lpangomm-1.4
-lbonoboui-2 -lxml2 -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0
-lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lglibmm-2.4 -lgnomevfs-2 -lgobject-2.0
-lsigc-2.0 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0
-ldl -lgthread-2.0 -lglib-2.0   -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6
-lgtk-x11-2.0 -lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0      -lnsl
SoundIF-ao.o(.text+0x12): In function `SoundIF::SoundIF()':
: undefined reference to `ao_initialize'
SoundIF-ao.o(.text+0x28): In function `SoundIF::SoundIF()':
: undefined reference to `ao_default_driver_id'
SoundIF-ao.o(.text+0x72): In function `SoundIF::SoundIF()':
: undefined reference to `ao_initialize'
SoundIF-ao.o(.text+0x88): In function `SoundIF::SoundIF()':
: undefined reference to `ao_default_driver_id'
SoundIF-ao.o(.text+0xed): In function `SoundIF::start()':
: undefined reference to `ao_open_live'
SoundIF-ao.o(.text+0x17e): In function `SoundIF::play(Sample*, long)':
: undefined reference to `ao_play'
SoundIF-ao.o(.text+0x1bc): In function `SoundIF::end()':
: undefined reference to `ao_close'
SoundIF-ao.o(.text+0x1ed): In function `SoundIF::~SoundIF()':
: undefined reference to `ao_shutdown'
SoundIF-ao.o(.text+0x207): In function `SoundIF::~SoundIF()':
: undefined reference to `ao_shutdown'
SoundIF-ao.o(.text+0x22d): In function `SoundIF::~SoundIF()':
: undefined reference to `ao_shutdown'
SoundIF-ao.o(.text+0x247): In function `SoundIF::~SoundIF()':
: undefined reference to `ao_shutdown'
collect2: ld returned 1 exit status
make[3]: *** [gcdmaster] Error 1
make[3]: Leaving directory `/var/tmp/portage/cdrdao-1.2.0/work/cdrdao-1.2.0/xdao'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cdrdao-1.2.0/work/cdrdao-1.2.0/xdao'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.2.0/work/cdrdao-1.2.0'
make: *** [all] Error 2
===

emerge info follows:
user@heartofgold ~ $ emerge --info cdrdao
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r0,
2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi bash-completion berkdb bitmap-fonts cdr crypt cups eds
emboss encode fam foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 guile
imagemagick imlib ipv6 jpeg libwww lzw lzw-tiff mp3 mpeg ncurses nls nvidia
opengl pam pdflib perl png python qt quicktime readline sdl spell ssl tcltk tcpd
tetex tiff truetype-fonts type1-fonts usb userlocales xml2 xpm xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-27 12:44:50 UTC

*** This bug has been marked as a duplicate of 100040 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-27 12:47:41 UTC
Please, try to re-emerge media-libs/libao and report back; if it still does not
work then, I'll reopen the other bug.