[MPlayer-users] libfame problems

Roland Haeder mplayer at autoinstaller.de
Fri Oct 25 21:27:04 CEST 2002


Hi!

Hardware:
- ASUS AMD Dual-Board (yeah...)
- SB-Live! Value PCI with ALSA 0.5 libraries
- nVidia GeForce ][ MX 200 (with working OpenGL)

Software:
- SuSE Linux 8.0 with Kernel 2.4.19-MOSIX-SMP (http://www.mosix.org)

I have downloaded the latest pre9 and I cannot compile it within the
libfame. This directory is missing in your source tar ball.

How may I fix it?

I Have tried it with the libfame (see http://freshmeat.net) but it stops
with a linking error:

/usr/i486-suse-linux/bin/ld: Warning: size of symbol `ospeed' changed
from 2 to 4 in /lib/libncurses.so.5
libvo/libvo.a(vo_gif89a.o): In function `draw_frame':
vo_gif89a.o(.text+0x4e): undefined reference to `MakeMapObject'
vo_gif89a.o(.text+0x130): undefined reference to `EGifPutExtension'
vo_gif89a.o(.text+0x151): undefined reference to `EGifPutImageDesc'
vo_gif89a.o(.text+0x170): undefined reference to `EGifPutLine'
vo_gif89a.o(.text+0x179): undefined reference to `FreeMapObject'
libvo/libvo.a(vo_gif89a.o): In function `flip_page':
vo_gif89a.o(.text+0x1fe): undefined reference to `MakeMapObject'
vo_gif89a.o(.text+0x2d9): undefined reference to `EGifPutExtension'
vo_gif89a.o(.text+0x2fa): undefined reference to `EGifPutImageDesc'
vo_gif89a.o(.text+0x319): undefined reference to `EGifPutLine'
vo_gif89a.o(.text+0x322): undefined reference to `FreeMapObject'
libvo/libvo.a(vo_gif89a.o): In function `gif_reduce':
vo_gif89a.o(.text+0x41d): undefined reference to `QuantizeBuffer'
libvo/libvo.a(vo_gif89a.o): In function `config':
vo_gif89a.o(.text+0x573): undefined reference to `MakeMapObject'
vo_gif89a.o(.text+0x634): undefined reference to `EGifOpenFileName'
vo_gif89a.o(.text+0x67d): undefined reference to `EGifPutScreenDesc'
libvo/libvo.a(vo_gif89a.o): In function `uninit':
vo_gif89a.o(.text+0x780): undefined reference to `EGifPutComment'
vo_gif89a.o(.text+0x78e): undefined reference to `EGifCloseFile'
libao2/libao2.a(ao_alsa9.o): In function `control':
ao_alsa9.o(.text+0x3a): undefined reference to `snd_mixer_selem_id_sizeof'
ao_alsa9.o(.text+0x4b): undefined reference to `snd_mixer_selem_id_sizeof'
ao_alsa9.o(.text+0x62): undefined reference to
`snd_mixer_selem_id_set_index'
ao_alsa9.o(.text+0x70): undefined reference to `snd_mixer_selem_id_set_name'
ao_alsa9.o(.text+0xac): undefined reference to `snd_mixer_attach'
ao_alsa9.o(.text+0xdc): undefined reference to `snd_mixer_selem_register'
ao_alsa9.o(.text+0x108): undefined reference to `snd_mixer_load'
ao_alsa9.o(.text+0x130): undefined reference to `snd_mixer_find_selem'
ao_alsa9.o(.text+0x145): undefined reference to
`snd_mixer_selem_id_get_index'
ao_alsa9.o(.text+0x14f): undefined reference to
`snd_mixer_selem_id_get_name'
ao_alsa9.o(.text+0x18d): undefined reference to
`snd_mixer_selem_get_playback_volume_range'
ao_alsa9.o(.text+0x200): undefined reference to
`snd_mixer_selem_set_playback_volume'
ao_alsa9.o(.text+0x228): undefined reference to
`snd_mixer_selem_set_playback_volume'
ao_alsa9.o(.text+0x25c): undefined reference to
`snd_mixer_selem_get_playback_volume'
libao2/libao2.a(ao_alsa9.o): In function `init':
ao_alsa9.o(.text+0x352): undefined reference to `snd_card_next'
ao_alsa9.o(.text+0x7c2): undefined reference to `snd_pcm_info_malloc'
ao_alsa9.o(.text+0x804): undefined reference to `snd_pcm_info_get_device'
ao_alsa9.o(.text+0x830): undefined reference to `snd_pcm_info_get_subdevice'
ao_alsa9.o(.text+0x8a5): undefined reference to `snd_pcm_info_free'
ao_alsa9.o(.text+0xb90): undefined reference to `snd_pcm_nonblock'
ao_alsa9.o(.text+0xbdb): undefined reference to `snd_pcm_hw_params_sizeof'
ao_alsa9.o(.text+0xbf2): undefined reference to `snd_pcm_hw_params_sizeof'
ao_alsa9.o(.text+0xc03): undefined reference to `snd_pcm_sw_params_sizeof'
ao_alsa9.o(.text+0xc1a): undefined reference to `snd_pcm_sw_params_sizeof'
ao_alsa9.o(.text+0xc3a): undefined reference to `snd_pcm_hw_params_any'
ao_alsa9.o(.text+0xc6f): undefined reference to `snd_pcm_access_mask_sizeof'
ao_alsa9.o(.text+0xc81): undefined reference to `snd_pcm_access_mask_none'
ao_alsa9.o(.text+0xc8c): undefined reference to `snd_pcm_access_mask_set'
ao_alsa9.o(.text+0xc9a): undefined reference to `snd_pcm_access_mask_set'
ao_alsa9.o(.text+0xca5): undefined reference to `snd_pcm_access_mask_set'
ao_alsa9.o(.text+0xcbd): undefined reference to
`snd_pcm_hw_params_set_access_mask'
ao_alsa9.o(.text+0xce7): undefined reference to
`snd_pcm_hw_params_set_access'
ao_alsa9.o(.text+0xd28): undefined reference to
`snd_pcm_hw_params_set_format'
ao_alsa9.o(.text+0xd69): undefined reference to
`snd_pcm_hw_params_set_channels'
ao_alsa9.o(.text+0xda9): undefined reference to
`snd_pcm_hw_params_set_rate_near'
ao_alsa9.o(.text+0xde9): undefined reference to
`snd_pcm_hw_params_set_period_size'
ao_alsa9.o(.text+0xe3f): undefined reference to
`snd_pcm_hw_params_get_periods_max'
ao_alsa9.o(.text+0xe8b): undefined reference to
`snd_pcm_hw_params_set_periods'
ao_alsa9.o(.text+0xec2): undefined reference to `snd_pcm_hw_params'
ao_alsa9.o(.text+0xefa): undefined reference to
`snd_pcm_hw_params_get_buffer_size'
ao_alsa9.o(.text+0xf62): undefined reference to `snd_pcm_sw_params_current'
ao_alsa9.o(.text+0xfa2): undefined reference to
`snd_pcm_sw_params_set_avail_min'
ao_alsa9.o(.text+0xfe0): undefined reference to `snd_pcm_sw_params'
ao_alsa9.o(.text+0x1058): undefined reference to `snd_pcm_prepare'
ao_alsa9.o(.text+0x108d): undefined reference to
`snd_pcm_format_description'
libao2/libao2.a(ao_alsa9.o): In function `xrun':
ao_alsa9.o(.text+0x10d2): undefined reference to `snd_pcm_status_sizeof'
ao_alsa9.o(.text+0x10e3): undefined reference to `snd_pcm_status_sizeof'
ao_alsa9.o(.text+0x10fe): undefined reference to `snd_pcm_status'
ao_alsa9.o(.text+0x1125): undefined reference to `snd_pcm_status_get_state'
ao_alsa9.o(.text+0x1148): undefined reference to
`snd_pcm_status_get_trigger_tstamp'
ao_alsa9.o(.text+0x11ba): undefined reference to `snd_pcm_prepare'
libao2/libao2.a(ao_alsa9.o): In function `play_normal':
ao_alsa9.o(.text+0x1233): undefined reference to `snd_pcm_writei'
ao_alsa9.o(.text+0x1250): undefined reference to `snd_pcm_wait'
ao_alsa9.o(.text+0x12b7): undefined reference to `snd_pcm_resume'
ao_alsa9.o(.text+0x12e2): undefined reference to `snd_pcm_prepare'
libao2/libao2.a(ao_alsa9.o): In function `play_mmap':
ao_alsa9.o(.text+0x136d): undefined reference to `snd_pcm_avail_update'
ao_alsa9.o(.text+0x13b3): undefined reference to `snd_pcm_start'
ao_alsa9.o(.text+0x13cc): undefined reference to `snd_pcm_wait'
ao_alsa9.o(.text+0x13fe): undefined reference to `snd_pcm_mmap_begin'
ao_alsa9.o(.text+0x1441): undefined reference to `snd_pcm_mmap_commit'
ao_alsa9.o(.text+0x145d): undefined reference to `snd_pcm_state'
ao_alsa9.o(.text+0x1473): undefined reference to `snd_pcm_state'
libao2/libao2.a(ao_alsa9.o): In function `get_space':
ao_alsa9.o(.text+0x14b6): undefined reference to `snd_pcm_status_malloc'
ao_alsa9.o(.text+0x14e6): undefined reference to `snd_pcm_status'
ao_alsa9.o(.text+0x151d): undefined reference to `snd_pcm_status_get_state'
ao_alsa9.o(.text+0x1554): undefined reference to `snd_pcm_status_get_avail'
ao_alsa9.o(.text+0x1581): undefined reference to `snd_pcm_status_get_avail'
ao_alsa9.o(.text+0x15fb): undefined reference to `snd_pcm_status_get_avail'
ao_alsa9.o(.text+0x1652): undefined reference to `snd_pcm_status_free'
libao2/libao2.a(ao_alsa9.o): In function `get_delay':
ao_alsa9.o(.text+0x1691): undefined reference to `snd_pcm_status_malloc'
ao_alsa9.o(.text+0x16f0): undefined reference to `snd_pcm_status'
ao_alsa9.o(.text+0x1753): undefined reference to `snd_pcm_status_get_state'
ao_alsa9.o(.text+0x1771): undefined reference to `snd_pcm_status_get_delay'
ao_alsa9.o(.text+0x179f): undefined reference to `snd_pcm_status_free'
libao2/libao2.a(ao_alsa9.o): In function `uninit':
ao_alsa9.o(.text+0x17de): undefined reference to `snd_pcm_drain'
libao2/libao2.a(ao_alsa9.o): In function `reset':
ao_alsa9.o(.text+0x187a): undefined reference to `snd_pcm_drain'
ao_alsa9.o(.text+0x18aa): undefined reference to `snd_pcm_prepare'
libao2/libao2.a(ao_alsa9.o): In function `audio_pause':
ao_alsa9.o(.text+0x193a): undefined reference to `snd_pcm_drain'
libao2/libao2.a(ao_alsa9.o): In function `audio_resume':
ao_alsa9.o(.text+0x198d): undefined reference to `snd_pcm_prepare'
libmpdemux/libmpdemux.a(audio_in.o): In function `audio_in_read_chunk':
audio_in.o(.text+0x213): undefined reference to `snd_pcm_readi'
libmpdemux/libmpdemux.a(audio_in.o): In function `audio_in_uninit':
audio_in.o(.text+0x42c): undefined reference to `snd_output_close'
libmpdemux/libmpdemux.a(audio_in.o): In function `audio_in_start_capture':
audio_in.o(.text+0x499): undefined reference to `snd_pcm_start'
libmpdemux/libmpdemux.a(ai_alsa.o): In function `ai_alsa_setup':
ai_alsa.o(.text+0xd): undefined reference to `snd_pcm_hw_params_sizeof'
ai_alsa.o(.text+0x1e): undefined reference to `snd_pcm_hw_params_sizeof'
ai_alsa.o(.text+0x2f): undefined reference to `snd_pcm_sw_params_sizeof'
ai_alsa.o(.text+0x40): undefined reference to `snd_pcm_sw_params_sizeof'
ai_alsa.o(.text+0x59): undefined reference to `snd_pcm_hw_params_any'
ai_alsa.o(.text+0x8b): undefined reference to `snd_pcm_hw_params_set_access'
ai_alsa.o(.text+0xbd): undefined reference to `snd_pcm_hw_params_set_format'
ai_alsa.o(.text+0xf1): undefined reference to
`snd_pcm_hw_params_set_channels'
ai_alsa.o(.text+0x101): undefined reference to
`snd_pcm_hw_params_get_channels'
ai_alsa.o(.text+0x132): undefined reference to
`snd_pcm_hw_params_set_rate_near'
ai_alsa.o(.text+0x16a): undefined reference to
`snd_pcm_hw_params_set_buffer_time_near'
ai_alsa.o(.text+0x1a8): undefined reference to
`snd_pcm_hw_params_set_period_time_near'
ai_alsa.o(.text+0x1d9): undefined reference to `snd_pcm_hw_params'
ai_alsa.o(.text+0x1ff): undefined reference to `snd_pcm_hw_params_dump'
ai_alsa.o(.text+0x217): undefined reference to
`snd_pcm_hw_params_get_period_size'
ai_alsa.o(.text+0x223): undefined reference to
`snd_pcm_hw_params_get_buffer_size'
ai_alsa.o(.text+0x259): undefined reference to `snd_pcm_sw_params_current'
ai_alsa.o(.text+0x268): undefined reference to
`snd_pcm_sw_params_set_sleep_min'
ai_alsa.o(.text+0x29d): undefined reference to
`snd_pcm_sw_params_set_avail_min'
ai_alsa.o(.text+0x2cb): undefined reference to
`snd_pcm_sw_params_set_start_threshold'
ai_alsa.o(.text+0x2fa): undefined reference to
`snd_pcm_sw_params_set_stop_threshold'
ai_alsa.o(.text+0x329): undefined reference to `snd_pcm_sw_params'
ai_alsa.o(.text+0x34f): undefined reference to `snd_pcm_sw_params_dump'
ai_alsa.o(.text+0x37f): undefined reference to `snd_pcm_dump'
libmpdemux/libmpdemux.a(ai_alsa.o): In function `ai_alsa_xrun':
ai_alsa.o(.text+0x3c6): undefined reference to `snd_pcm_status_sizeof'
ai_alsa.o(.text+0x3d7): undefined reference to `snd_pcm_status_sizeof'
ai_alsa.o(.text+0x3f3): undefined reference to `snd_pcm_status'
ai_alsa.o(.text+0x41a): undefined reference to `snd_pcm_status_get_state'
ai_alsa.o(.text+0x441): undefined reference to
`snd_pcm_status_get_trigger_tstamp'
ai_alsa.o(.text+0x4d8): undefined reference to `snd_pcm_status_dump'
ai_alsa.o(.text+0x4ea): undefined reference to `snd_pcm_prepare'
libmpdemux/libmpdemux.a(ai_alsa.o): In function `ai_alsa_init':
ai_alsa.o(.text+0x5a0): undefined reference to `snd_output_stdio_attach'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

When I make a distclean and compile without any parameters for the
configure script I got the executable linked.

I have called configure like this:
./configure --enable-mmx --enable-mmx2 --enable-3dnow --enable-3dnowex
--enable-sse --enable-sse2 --enable-gui --enable-termcap --disable-live
--enable-freetype --enable-gif --enable-png --enable-jpeg --enable-lzo
--enable-libfame --enable-vorbis --enable-faad --enable-dga=2
--enable-vesa --enable-svga --enable-sdl --enable-aa --enable-ggi
--enable-gui --enable-termcap --enable-freetype --enable-gif
--enable-png --enable-jpeg --enable-lzo --enable-libfame --enable-vorbis
--enable-faad --enable-dga=2 --enable-vesa --enable-svga --enable-sdl
--enable-aa --enable-ggi --disable-directx --enable-xv --enable-vm
--enable-x11 --enable-bl --disable-lirc --disable-dxr2 --disable-dxr3

And I have downloaded, compiled and installed all neccessary libs. (like
GGI, TermCap, FAAD, Vorbis and so on.

Any ideas?

Regards,
   Roland






More information about the MPlayer-users mailing list