[MPlayer-users] Compile fails

pl p_l at tfz.net
Sat Dec 1 23:57:24 CET 2001


On Sat, Dec 01, 2001 at 07:15:37PM +0100, Dirk Vornheder wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html &
>  http://gcc.gnu.org/gcc-2.96.html if you still have questions or problems]
> 
> Hi !
> 
> Compile of latest version from cvs fails:
> 
> ar rc libgui.a skin/skin.o skin/font.o skin/cut.o bitmap/bitmap.o 
> bitmap/tga/tga.o bitmap/bmp/bmp.o bitmap/png/png.o                wm/ws.o 
> wm/wsconv.o app.o events.o timer.o error.o mplayer/mplayer.o 
> mplayer/widgets.o mplayer/play.o mplayer/psignal.o mplayer/gtk/menu.o 
> mplayer/gtk/mb.o mplayer/gtk/about.o mplayer/gtk/pl.o mplayer/gtk/sb.o 
> mplayer/gtk/fs.o mplayer/gtk/opts.o
> make[1]: Leaving directory `/privat/tv/main/Gui'
> gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer 
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
> -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
> -I/usr/lib/glib/include -I/usr/X11R6/include  -o mplayer mplayer.o ima4.o 
> xacodec.o cpudetect.o mp_msg.o ac3-iec958.o find_sub.o dec_audio.o 
> dec_video.o msvidc.o fli.o codec-cfg.o subreader.o lirc_mp.o cfgparser.o 
> mixer.o spudec.o my_profile.o dll_init.o -Llibmpdemux -lmpdemux   
> -llirc_client -Lloader -lloader -Lloader/DirectShow -lDS_Filter -lstdc++ 
> -lrte -Llibmpeg2 -lmpeg2 -Llibao2 -lao2 -Lmp3lib -lMP3 -Llibac3 -lac3 
> -lasound  -lvorbis -logg -lm  -Llibvo
> -lvo -L/usr/X11R6/lib -lX11 -lXext  -lnsl -lGL -lm -lXxf86dga -lXv -lXxf86vm 
> -lXinerama   -lnsl
>   -lpng -lz -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread  -laa 
> -ldvdread -lpthread -ldl -rdynamic  -Llinux -losdep -Lpostproc -lpostproc 
> -Lxa -lxa -ldivxdecore opendivx/postprocess.o  -lm  -LGui -lgui -L/usr/lib 
> -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext 
> -lX11 -lm -L/usr/lib -lglib -lpng -lz -lz
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped
> make: *** [mplayer] Error 1
> gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer 
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
> -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
> -I/usr/lib/glib/include -I/usr/X11R6/include  -o mplayer mplayer.o ima4.o 
> xacodec.o cpudetect.o mp_msg.o ac3-iec958.o find_sub.o dec_audio.o 
> dec_video.o msvidc.o fli.o codec-cfg.o subreader.o lirc_mp.o cfgparser.o 
> mixer.o spudec.o my_profile.o dll_init.o -Llibmpdemux -lmpdemux   
> -llirc_client -Lloader -lloader -Lloader/DirectShow -lDS_Filter -lstdc++ 
> -lrte -Llibmpeg2 -lmpeg2 -Llibao2 -lao2 -Lmp3lib -lMP3 -Llibac3 -lac3 
> -lasound  -lvorbis -logg -lm  -Llibvo
> -lvo -L/usr/X11R6/lib -lX11 -lXext  -lnsl -lGL -lm -lXxf86dga -lXv -lXxf86vm 
> -lXinerama   -lnsl
>   -lpng -lz -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread  -laa 
> -ldvdread -lpthread -ldl -rdynamic  -Llinux -losdep -Lpostproc -lpostproc 
> -Lxa -lxa -ldivxdecore opendivx/postprocess.o  -lm  -LGui -lgui -L/usr/lib 
> -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext 
> -lX11 -lm -L/usr/lib -lglib -lpng -lz -lz
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped
> make: *** [mplayer] Error 1
> 
> I use gcc 2.95.3 !
...but you didn't RTFM.

Thus spake DOCS/faq.html:
Q:  When compiling MEncoder, it segfaults at linking !!!
A:  Dunno, upgrading binutils should help. Not our fault, do NOT report!

> 
> Dirk
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 

-- 
Best regards,
  pl



More information about the MPlayer-users mailing list