[MPlayer-users] Error during 'make' of TOOLS/netstream for the netstream server

Rashid S. Tuweiq rtuweiq at seas.upenn.edu
Sat Nov 29 06:09:16 CET 2003


Hello, 
 
I successfully did a 'config', 'make' and 'make install' for MPlayer. I 
played a sample video and it is working just fine. Then, I was trying to 
'make' the netstream server binary that comes with MPlayer in 
TOOLS/netstream and I got the following error messages (see below). Any 
ideas would be greatly appreciated. It seems that it is something with 
MPlayer and Netstream rather then with my env settings or anything 
specific to my computer. 
 
Also, I got this same exact error messages with all 3 of the following 
versions of MPlayer: 1.0pre1, 1.0pre2 and the most recent cvs snapshot 
tarball of MPlayer Mplayer-current. 
 
I appreciate all the help I can get.
thanks 
--rashid 
 
[rtuweiq at localhost netstream]$ make 
cc -c -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math 
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64  -I../.. -I../../loader  -o netstream.o 
netstream.c 
cc -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math 
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64  -I../.. -I../../loader  -g netstream.o 
../../mp_msg.c ../../osdep/shmem.c -o netstream 
../../libmpdemux/libmpdemux.a ../../libmpdvdkit2/libmpdvdkit.a 
../../libvo/aclib.o ../../libmpcodecs/img_format.o ../../libao2/afmt.o 
../../sub_cc.o ../../m_option.o ../../m_struct.o ../../subreader.o 
-lasound -ldl -lpthread   -lz -lpthread 
../../libmpdemux/libmpdemux.a(cache2.o)(.text+0x58): In function 
`cache_read': 
: undefined reference to `usec_sleep' 
../../libmpdemux/libmpdemux.a(cache2.o)(.text+0x740): In function 
`stream_enable_cache': 
: undefined reference to `usec_sleep' 
../../libmpdemux/libmpdemux.a(demux_ts.o)(.text+0x633): In function 
`demux_open_ts': 
: undefined reference to `dvdsub_lang' 
../../libmpdemux/libmpdemux.a(demux_ts.o)(.text+0x648): In function 
`demux_open_ts': 
: undefined reference to `audio_lang' 
../../libmpdemux/libmpdemux.a(demux_ts.o)(.text+0x1f2f): In function 
`ts_parse': 
: undefined reference to `dvdsub_lang' 
../../libmpdemux/libmpdemux.a(demux_ts.o)(.text+0x208d): In function 
`ts_parse': 
: undefined reference to `dvdsub_lang' 
../../libmpdemux/libmpdemux.a(demux_ty.o)(.text+0x22ac): In function 
`demux_close_ty': 
: undefined reference to `sub_justify' 
../../libmpdemux/libmpdemux.a(demux_ty_osd.o)(.text+0xd9): In function 
`ty_processuserdata': 
: undefined reference to `sub_justify' 
../../subreader.o(.text+0x40f9): In function `sub_filenames': 
: undefined reference to `dvdsub_lang' 
../../subreader.o(.text+0x4533): In function `sub_filenames': 
: undefined reference to `dvdsub_lang' 
collect2: ld returned 1 exit status 
make: *** [netstream] Error 1 
 
 
* Also, in case you are wondering, here are the results of running ./config 
in the MPlayer main directory:
 
Config files successfully generated by ./configure ! 
 
  Install prefix: /usr/local 
  Data directory: /usr/local/share/mplayer 
  Config direct.: /usr/local/etc/mplayer 
 
  Byte order: Little Endian 
  Optimizing for: pentium4 mmx mmx2 sse sse2 mtrr 
 
  Languages: 
    Messages/GUI: en 
    Manual pages: en (no localization selected, use --language=all) 
 
  Enabled optional drivers: 
    Input: ftp network edl tv mpdvdkit2 vcd 
    Codecs: flac(internal) libavcodec faad2 
    Audio output: alsa9 oss mpegpes(file) 
    Video output: xvidix cvidix vesa jpeg png mpegpes(file) fbdev opengl 
dga xv x11 xover tga 
  Disabled optional drivers: 
    Input: tv-v4l2 tv-v4l tv-bsdbt848 live.com matroska cdda dvdread 
dvdcss smb 
    Codecs: qtx opendivx xvid libdv real xanim dshow/dmo win32 libtheora 
libvorbis libmad liblzo gif 
    Audio output: sgi sun esd arts dxr2 nas win32 sdl macosx 
    Video output: winvidix bl zr dxr3 dxr2 directx sdl gif89a svga aa ggi 
xmga mga xvmc directfb tdfx_vid tdfxfb 3dfx 



More information about the MPlayer-users mailing list