[Mplayer-users] mplayer compile error

Rajesh Fowkar rfowkar at yahoo.com
Fri Jun 1 02:03:21 CEST 2001


Hi,

I downloaded the latest cvs .tar.gz file :

mplayer-main-current.tar.bz2

But when I compile mplayer I get the following error :

------------------------------------- <SNIP> ------------------------------------------
ar r libencore.a encore.o mom_access.o bitstream.o mom_util.o mot_code.o mot_est_comp.o mot_est_mb.o mot_util.o putvlc.o rc_hist.o rc_q2.o rgb2yuv.o text_bits.o text_code.o text_code_mb.o text_dct.o vop_code.o
make[2]: Leaving directory `/home/rajesh/tmp/compile/main/encore'
gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -Iloader -Ilibvo   -o mplayer mplayer.o find_sub.o aviprint.o dll_init.o dec_audio.o aviwrite.o aviheader.o asfheader.o demux_avi.o demux_asf.o demux_mpg.o demuxer.o stream.o codec-cfg.o subreader.o linux/getch2.o linux/timer-lx.o linux/shmem.o xa/xa_gsm.o lirc_mp.o cfgparser.o mixer.o dvdauth.o spudec.o   -Lmp3lib -lMP3 -Llibac3 -lac3 -lm -ltermcap -Lloader -lloader -Lloader/DirectShow -lDS_Filter -lstdc++ -ldl -Llibmpeg2 -lmpeg2 -Lopendivx -ldecore -Llibvo -lvo -L/usr/X11R6/lib  -lSDL -lpthread -lXxf86dga -lX11 -lXext -lXv -lXxf86vm -lvgagl -lvga -lpng -lz  -Lencore -lencore -lpthread
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[1]: *** [mplayer] Error 1
make[1]: Leaving directory `/home/rajesh/tmp/compile/main'
make: *** [build] Error 2
------------------------------------- <SNIP> ------------------------------------------

Why I am getting the above error ? Something seems to be missing on my debian box. Can 
anybody point out what needs to be installed. I will be really thankfull. After trying
out mplayer I have become its addict. But after the corruption of my partition table I have
reinstalled debian and now when I try to compile mplayer I get the above message. It is
really frustrating not to be able to use mplayer for the last 2 days.

I have got the following libraries which the above error seems to be referring to :

debian:/home/rajesh/tmp/compile/main# dpkg -l | grep stdc
ii  libstdc++2.10          2.95.2-13              The GNU stdc++ library
ii  libstdc++2.10-dev      2.95.3-3               The GNU stdc++ library (development files)
ii  libstdc++2.10-glibc2.2 2.95.3-3               The GNU stdc++ library
ii  libstdc++2.9-glibc2.1  2.91.66-4              The GNU stdc++ library (old egcs version)


Thanks in advance.

Warm Regards



-- 
------------------------------------------------------------------------------
Rajesh Fowkar                       rfowkar at goatelecom.com
Kurtarkar Nagari,Bldg-C,T4,         http://rajesh.computers.webjump.com
Santacruz,Ponda-Goa-403401-INDIA    Powered By : Debian GNU/Linux (Potato)
					         Kernel 2.4.5 & Mutt 1.3.15i
						 IceWM 1.0.8-6  & KDE 2.1
"The expert at anything was once a beginner."  -Hayes 
------------------------------------------------------------------------------

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list