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

Bug 19747

Summary: libesd.a cannot find libasound symbols
Product: Gentoo Linux Reporter: Jeld The Dark Elf <jeld>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeld The Dark Elf 2003-04-22 00:21:33 UTC
The case where I noticed this is compile of libgtkhtml 3.0.1. It uses static
esound libraries and when esound is compiled with alsa USE flag the compile fails. 
reporting missing references in multiple functions in libesd.a



Reproducible: Always
Steps to Reproduce:
1. USE='alsa' emerge esound
2. unmask libgtkhtml-3.0.1
3. emerge libgtkhtml

Actual Results:  
creating gtest
/usr/lib/libesd.a(audio.o)(.text+0xa): In function `print_state':
: undefined reference to `snd_pcm_status_sizeof'
/usr/lib/libesd.a(audio.o)(.text+0x17): In function `print_state':
: undefined reference to `snd_pcm_status_sizeof'
/usr/lib/libesd.a(audio.o)(.text+0x41): In function `print_state':
: undefined reference to `snd_pcm_status'
/usr/lib/libesd.a(audio.o)(.text+0x51): In function `print_state':
: undefined reference to `snd_pcm_status_get_state'
/usr/lib/libesd.a(audio.o)(.text+0x1b4): In function `print_state':
: undefined reference to `snd_strerror'
/usr/lib/libesd.a(audio.o)(.text+0x1f8): In function `initAlsa':
: undefined reference to `snd_pcm_open'
/usr/lib/libesd.a(audio.o)(.text+0x213): In function `initAlsa':
: undefined reference to `snd_pcm_nonblock'
/usr/lib/libesd.a(audio.o)(.text+0x218): In function `initAlsa':
: undefined reference to `snd_pcm_hw_params_sizeof'
/usr/lib/libesd.a(audio.o)(.text+0x225): In function `initAlsa':
: undefined reference to `snd_pcm_hw_params_sizeof'
/usr/lib/libesd.a(audio.o)(.text+0x24c): In function `initAlsa':
: undefined reference to `snd_pcm_hw_params_any'
/usr/lib/libesd.a(audio.o)(.text+0x26b): In function `initAlsa':
: undefined reference to `snd_pcm_hw_params_set_access'
/usr/lib/libesd.a(audio.o)(.text+0x289): In function `initAlsa':
: undefined reference to `snd_pcm_hw_params_set_format'
/usr/lib/libesd.a(audio.o)(.text+0x2a7): In function `initAlsa':
: undefined reference to `snd_pcm_hw_params_set_channels'
/usr/lib/libesd.a(audio.o)(.text+0x2ca): In function `initAlsa':
: undefined reference to `snd_pcm_hw_params_set_rate_near'
/usr/lib/libesd.a(audio.o)(.text+0x323): In function `initAlsa':
: undefined reference to `snd_pcm_hw_params_set_periods_integer'
/usr/lib/libesd.a(audio.o)(.text+0x350): In function `initAlsa':
: undefined reference to `snd_pcm_hw_params_set_periods_min'
/usr/lib/libesd.a(audio.o)(.text+0x36b): In function `initAlsa':
: undefined reference to `snd_pcm_hw_params_set_buffer_size_near'
/usr/lib/libesd.a(audio.o)(.text+0x37e): In function `initAlsa':
: undefined reference to `snd_pcm_hw_params'
/usr/lib/libesd.a(audio.o)(.text+0x3b0): In function `initAlsa':
: undefined reference to `snd_pcm_dump'
/usr/lib/libesd.a(audio.o)(.text+0x3c8): In function `initAlsa':
: undefined reference to `snd_strerror'
/usr/lib/libesd.a(audio.o)(.text+0x3fd): In function `initAlsa':
: undefined reference to `snd_strerror'
/usr/lib/libesd.a(audio.o)(.text+0x434): In function `initAlsa':
: undefined reference to `snd_strerror'
/usr/lib/libesd.a(audio.o)(.text+0x46a): In function `esd_audio_devices':
: undefined reference to `snd_ctl_card_info_sizeof'
/usr/lib/libesd.a(audio.o)(.text+0x47e): In function `esd_audio_devices':
: undefined reference to `snd_ctl_card_info_sizeof'
/usr/lib/libesd.a(audio.o)(.text+0x4b4): In function `esd_audio_devices':
: undefined reference to `snd_card_next'
/usr/lib/libesd.a(audio.o)(.text+0x4fd): In function `esd_audio_devices':
: undefined reference to `snd_ctl_open'
/usr/lib/libesd.a(audio.o)(.text+0x517): In function `esd_audio_devices':
: undefined reference to `snd_ctl_card_info'
/usr/lib/libesd.a(audio.o)(.text+0x52a): In function `esd_audio_devices':
: undefined reference to `snd_ctl_card_info_get_name'
/usr/lib/libesd.a(audio.o)(.text+0x54a): In function `esd_audio_devices':
: undefined reference to `snd_ctl_card_info_get_name'
/usr/lib/libesd.a(audio.o)(.text+0x583): In function `esd_audio_devices':
: undefined reference to `snd_ctl_close'
/usr/lib/libesd.a(audio.o)(.text+0x58b): In function `esd_audio_devices':
: undefined reference to `snd_card_next'
/usr/lib/libesd.a(audio.o)(.text+0x614): In function `esd_audio_devices':
: undefined reference to `snd_strerror'
/usr/lib/libesd.a(audio.o)(.text+0x640): In function `esd_audio_devices':
: undefined reference to `snd_ctl_close'
/usr/lib/libesd.a(audio.o)(.text+0x654): In function `esd_audio_devices':
: undefined reference to `snd_strerror'
/usr/lib/libesd.a(audio.o)(.text+0x6ec): In function `esd_audio_open':
: undefined reference to `snd_output_stdio_attach'
/usr/lib/libesd.a(audio.o)(.text+0x7bc): In function `esd_audio_open':
: undefined reference to `snd_pcm_close'
/usr/lib/libesd.a(audio.o)(.text+0x858): In function `esd_audio_open':
: undefined reference to `snd_pcm_close'
/usr/lib/libesd.a(audio.o)(.text+0x88d): In function `esd_audio_open':
: undefined reference to `snd_pcm_close'
/usr/lib/libesd.a(audio.o)(.text+0x930): In function `esd_audio_open':
: undefined reference to `snd_card_next'
/usr/lib/libesd.a(audio.o)(.text+0x9fc): In function `esd_audio_read':
: undefined reference to `snd_pcm_bytes_to_frames'
/usr/lib/libesd.a(audio.o)(.text+0xa14): In function `esd_audio_read':
: undefined reference to `snd_pcm_readi'
/usr/lib/libesd.a(audio.o)(.text+0xa48): In function `esd_audio_read':
: undefined reference to `snd_pcm_prepare'
/usr/lib/libesd.a(audio.o)(.text+0xa6a): In function `esd_audio_read':
: undefined reference to `snd_strerror'
/usr/lib/libesd.a(audio.o)(.text+0xa9e): In function `esd_audio_read':
: undefined reference to `snd_pcm_resume'
/usr/lib/libesd.a(audio.o)(.text+0xad0): In function `esd_audio_read':
: undefined reference to `snd_pcm_prepare'
/usr/lib/libesd.a(audio.o)(.text+0xbdc): In function `esd_audio_write':
: undefined reference to `snd_pcm_bytes_to_frames'
/usr/lib/libesd.a(audio.o)(.text+0xbf4): In function `esd_audio_write':
: undefined reference to `snd_pcm_writei'
/usr/lib/libesd.a(audio.o)(.text+0xc27): In function `esd_audio_write':
: undefined reference to `snd_pcm_prepare'
/usr/lib/libesd.a(audio.o)(.text+0xc49): In function `esd_audio_write':
: undefined reference to `snd_strerror'
/usr/lib/libesd.a(audio.o)(.text+0xc7d): In function `esd_audio_write':
: undefined reference to `snd_pcm_resume'
/usr/lib/libesd.a(audio.o)(.text+0xcb0): In function `esd_audio_write':
: undefined reference to `snd_pcm_prepare'
/usr/lib/libesd.a(audio.o)(.text+0xddb): In function `esd_audio_close':
: undefined reference to `snd_pcm_close'
/usr/lib/libesd.a(audio.o)(.text+0xde5): In function `esd_audio_close':
: undefined reference to `snd_pcm_close'
/usr/lib/libesd.a(audio.o)(.text+0xe64): In function `esd_audio_flush':
: undefined reference to `snd_pcm_drain'
/usr/lib/libesd.a(audio.o)(.text+0xbb5): In function `esd_audio_read':
: undefined reference to `snd_pcm_frames_to_bytes'
/usr/lib/libesd.a(audio.o)(.text+0xd95): In function `esd_audio_write':
: undefined reference to `snd_pcm_frames_to_bytes'
collect2: ld returned 1 exit status
make[2]: *** [testgtkhtml] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libgtkhtml-3.0.1/work/gtkhtml-3.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgtkhtml-3.0.1/work/gtkhtml-3.0.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-extra/libgtkhtml-3.0.1 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-04-22 03:49:11 UTC
try USE="alsa" emerge alsa-lib esound

i can't reproduce this though, although please keep in mind that libgtkhtml-3.0.1 is masked and therefore unsupported. 
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-05-01 05:42:25 UTC
no traffic. reopen if you've got more info.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-09-28 14:14:34 UTC
reclosing