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
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.
no traffic. reopen if you've got more info.
reclosing