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

Bug 114568

Summary: compilation of cdrdao-1.2.0-r1 fails, libao is not linked during build
Product: Gentoo Linux Reporter: Björn Sundman <bjorn_sundman>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Björn Sundman 2005-12-05 13:46:18 UTC
during compilation of gcdmaster a few missing references from libao library.
Adding library to makefile solves problem.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-05 13:49:53 UTC
Please, post actual error messages instead of describing the problem, post
emerge --info output and reopen then. TIA.
Comment 2 Björn Sundman 2005-12-10 05:39:39 UTC
Hello Jakub,

Error message from emerge cdrdao:
SoundIF-ao.o: In function `SoundIF::SoundIF()':
SoundIF-ao.cc:(.text+0xe): undefined reference to `ao_initialize'
SoundIF-ao.cc:(.text+0x2b): undefined reference to `ao_default_driver_id'
SoundIF-ao.o: In function `SoundIF::SoundIF()':
SoundIF-ao.cc:(.text+0x7e): undefined reference to `ao_initialize'
SoundIF-ao.cc:(.text+0x9b): undefined reference to `ao_default_driver_id'
SoundIF-ao.o: In function `SoundIF::~SoundIF()':
SoundIF-ao.cc:(.text+0x117): undefined reference to `ao_shutdown'
SoundIF-ao.o: In function `SoundIF::~SoundIF()':
SoundIF-ao.cc:(.text+0x155): undefined reference to `ao_shutdown'
SoundIF-ao.o: In function `SoundIF::start()':
SoundIF-ao.cc:(.text+0x19a): undefined reference to `ao_open_live'
SoundIF-ao.o: In function `SoundIF::play(Sample*, long)':
SoundIF-ao.cc:(.text+0x21e): undefined reference to `ao_play'
SoundIF-ao.o: In function `SoundIF::end()':
SoundIF-ao.cc:(.text+0x268): undefined reference to `ao_close'
collect2: ld returned 1 exit status
make[3]: *** [gcdmaster] Error 1
make[3]: Leaving directory `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/xdao'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/xdao'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0'
make: *** [all] Error 2

emerge --info:
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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 /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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl
dvd eds emboss encode esd exif expat fam ffmpeg foomaticdb fortran gcj gdbm gif
glut gnome gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java jpeg kde lcms
lesstif libwww lzw lzw-tiff mng motif mp3 mpeg ncurses nls opengl pam pcre
pdflib perl png postgres python qt quicktime readline sdl spell ssl tcpd tetex
tiff truetype truetype-fonts type1-fonts udev usb userlocales xml2 xmms xpm xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

Make exectues the following line:
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   -march=k8 -pipe -fno-inline   -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
-lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangoxft-1.0 -lpangox-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 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0      -lnsl

regards
Bjorn
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-10 05:43:11 UTC

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