[MPlayer-users] Compile mplayer error, pls help

Steve Kieu haiquy at yahoo.com
Thu Oct 25 10:25:24 CEST 2001


Hi,

I got this error...

gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
-fomit-frame-pointer -Iloader -Ilibvo 
-I/usr/local/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 -lasound  -lm -ltermcap -Lloader
-lloader -Lloader/DirectShow -lDS_Filter -lstdc++
-Llibavcodec -lavcodec -Llibmpeg2 -lmpeg2 -Llibao2
-lao2 -Llibvo -lvo  -L/usr/X11R6/lib -L/usr/local/lib
-lGL  -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
-lXxf86dga -lX11 -lXext -lXv -lXxf86vm -lvgagl -lvga
-lpng -lz  -lnsl    -Lencore -lencore -Lopendivx
-ldecore  -ldl -lpthread
loader/DirectShow/libDS_Filter.a(DS_VideoDecoder.o):
In function
`DS_VideoDecoder::DS_VideoDecoder(CodecInfo const &,
BITMAPINFOHEADER const &, int)':
DS_VideoDecoder.o(.text+0x47f): undefined reference to
`cerr'
DS_VideoDecoder.o(.text+0x484): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x490): undefined reference to
`endl(ostream &)'
DS_VideoDecoder.o(.text+0x7e3): undefined reference to
`cout'
DS_VideoDecoder.o(.text+0x7e8): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x7f8): undefined reference to
`hex(ios &)'

DS_VideoDecoder.o(.text+0x801): undefined reference to
`ostream::operator<<(int)'
DS_VideoDecoder.o(.text+0x811): undefined reference to
`dec(ios &)'
DS_VideoDecoder.o(.text+0x81a): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x826): undefined reference to
`endl(ostream &)'
loader/DirectShow/libDS_Filter.a(DS_VideoDecoder.o):
In function `DS_VideoDecoder::DecodeInternal(void *,
unsigned int, int, CImage *)':
DS_VideoDecoder.o(.text+0xa57): undefined reference to
`cerr'
DS_VideoDecoder.o(.text+0xa5c): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0xa68): undefined reference to
`endl(ostream &)'
DS_VideoDecoder.o(.text+0xa9b): undefined reference to
`cout'
DS_VideoDecoder.o(.text+0xaa0): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0xaac): undefined reference to
`endl(ostream &)'
loader/DirectShow/libDS_Filter.a(DS_VideoDecoder.o):
In function `DS_VideoDecoder::SetDestFmt(int, unsigned
int)':
DS_VideoDecoder.o(.text+0x10b8): undefined reference
to `cerr'
DS_VideoDecoder.o(.text+0x10bd): undefined reference
to `ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x10c9): undefined reference
to `endl(ostream &)'

DS_VideoDecoder.o(.text+0x120c): undefined reference
to `cerr'
DS_VideoDecoder.o(.text+0x1211): undefined reference
to `ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x1221): undefined reference
to `hex(ios &)'
DS_VideoDecoder.o(.text+0x122a): undefined reference
to `ostream::operator<<(long)'
DS_VideoDecoder.o(.text+0x123a): undefined reference
to `dec(ios &)'
DS_VideoDecoder.o(.text+0x1246): undefined reference
to `endl(ostream &)'
loader/DirectShow/libDS_Filter.a(DS_VideoDecoder.o):
In function `DS_VideoDecoder::GetValue(char const *,
int &)':
DS_VideoDecoder.o(.text+0x1449): undefined reference
to `cerr'
DS_VideoDecoder.o(.text+0x144e): undefined reference
to `ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x145a): undefined reference
to `endl(ostream &)'
loader/DirectShow/libDS_Filter.a(DS_VideoDecoder.o):
In function `DS_VideoDecoder::SetValue(char const *,
int)':
DS_VideoDecoder.o(.text+0x17e2): undefined reference
to `cerr'
DS_VideoDecoder.o(.text+0x17e7): undefined reference
to `ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x17f3): undefined reference
to `endl(ostream &)'
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)+0x19): undefined reference to `cerr'
allocator.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned
int)+0x1e): undefined reference to
`ostream::operator<<(char const *)'
allocator.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned
int)+0x2a): undefined reference to `endl(ostream &)'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

Version MPlayer-0.50 ; System Debian Testing,
gcc-2.95.4 

Please help. I am not subscibe to the list so pls cc
me 
Thanks,




=====
S.KIEU

http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Manage your files online.



More information about the MPlayer-users mailing list