[MPlayer-users] mpst://host//path broken; partial fix

alpha0x89 at yahoo.de alpha0x89 at yahoo.de
Tue Jun 1 19:06:53 CEST 2004


On Monday 31 May 2004 22:49, Hans Korneder wrote:
> > I can't even compile the netstream server. I get a lot of ": undefined
> > reference to" messages when I type "make" in TOOLS/netstream, both with
> > MPlayer-1.0pre4 and dev-CVS-040527-18:58.
>
> what references were undefined?
> I also had several refs missing, in my case the zlib was causing the
> trouble. Adding "-lz" in the Makefile made it for me.

Setting "CFLAGS  = $(OPTFLAGS) $(INCLUDE) -lz" in Makefile doesn't help for 
me. Here are some significant lines of output:

../../libmpdemux/libmpdemux.a(audio_in.o)(.text+0x62): In function 
`audio_in_read_chunk':
: undefined reference to `snd_pcm_readi'
../../libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0xfc): In function 
`_GLOBAL__I_rtspStreamOverT
: undefined reference to `SECOND'
../../libmpdemux/libmpdemux.a(demux_ogg.o)(.text+0x30a4): In function 
`demux_ogg_open':
: undefined reference to `theora_info_init'
../../libmpdemux/libmpdemux.a(ai_alsa1x.o)(.text+0xc): In function 
`ai_alsa_xrun':
: undefined reference to `snd_pcm_status_sizeof'
: undefined reference to `use_gui'
../../mp_msg.o(.text+0x159): In function `mp_msg_c':
: undefined reference to `gtkMessageBox'
collect2: ld returned 1 exit status




More information about the MPlayer-users mailing list