[Mplayer-dvb] Compiler Error

Thomas Braun tbraun at uni-paderborn.de
Sun Sep 30 20:35:09 CEST 2001


Hi,
i hope you can help me,
i am using mplayer since 0.17a and this one compiles fine.
now i own a tv-box and want to view divx,... on tv.
i found your project makes it. my dvb-s card works allready
with vdr and so on. mplayer-0.17 plays divx on my
celeron 800. i have read docus, threads and patched libavcodec,
#define DVB and so on. But it stops compiling with many of those
messages:
[..]
DS_VideoDecoder.o(.basic_string<char, string_char_traits<char>,
__default_alloc_template<true, 0>
>::gnu.linkonce.t.compare(basic_string<char, string_char_traits<char>,
__default_alloc_template<true, 0> > const &, unsigned int, unsigned int)
const+0x1f): undefined reference to `__out_of_range(char const *)'
loader/DirectShow/libDS_Filter.a(allocator.o): In function
`__malloc_alloc_template<0>::_S_oom_malloc(unsigned int)':
allocator.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned
int)+0x1a): undefined reference to `cerr'
allocator.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned
int)+0x1f): undefined reference to `ostream::operator<<(char const *)'
allocator.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned
int)+0x2b): undefined reference to `endl(ostream &)'
make: *** [mplayer] Fehler 1

I tried it without Dshow and it hook there:
[..]
gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Iloader
-Ilibvo  -I/usr/local/src/DVB/ost/include   -o mplayer mplayer.o mp_msg.o
open.o parse_es.o ac3-iec958.o find_sub.o aviprint.o dec_audio.o
dec_video.o aviwrite.o aviheader.o asfheader.o demux_avi.o demux_asf.o
demux_mpg.o demux_mov.o demuxer.o stream.o codec-cfg.o subreader.o
linux/getch2.o linux/timer-lx.o linux/shmem.o xa/xa_gsm.o xa/rle8.o
lirc_mp.o cfgparser.o mixer.o dvdauth.o spudec.o  dll_init.o   -Lmp3lib
-lMP3 -Llibac3 -lac3   -lm  -Lloader -lloader  -Llibavcodec -lavcodec
-Llibmpeg2 -lmpeg2 -Llibao2 -lao2 -Llibvo -lvo  -L/usr/X11R6/lib
-L/usr/local/lib -lGL  -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL
-lpthread -lXxf86dga -lX11 -lXext -lXv -lXxf86vm  -lpng -lz  -lnsl
-ldvdread -Lencore -lencore -Lopendivx -ldecore  -ldl -lpthread
collect2: ld terminated with signal 11 [Speicherzugriffsfehler]
make: *** [mplayer] Fehler 1

					^^^^^^^^^^^^^^^^^^^^^^^^
					memoryaccessfault

i am using gcc 2.95.3 and GNU ld 2.11. 2.4.9er kernel glibc 2.2.1 (ask me
what you else need)

I tried this on a athlon 700, 2.4.5 and 2.2 kernel, 0.50pre1 and some CVS
versions, patched and original. All the same error.

I think there is a generally problem. But 0.17a compiled correct and some
others programs, too. There are some changes that triggers this error.

I hope you understand my bad english and could help me.
I've tried it with irc and some help channels but their are
all saying:  "ask somewhere else, but not here. leave us
alone !". Anyone knows a user-friendly newbee channel?

btw.: there are some msg lines missing in help_mp-de.h.

thank you
thomas

-- 
 /--------------\/---------------------\
/| Thomas Braun |     tbraun at upb.de    |\
\|  PC/HW-Guru  | E3.148 Tel.: 60-3322 |/
 \--------------/\---------------------/




More information about the MPlayer-dvb mailing list