[MPlayer-users] mencoder compile error
Rajesh Fowkar
hsejar at gmx.co.uk
Fri Nov 23 23:19:44 CET 2001
Felix Buenemann saw fit to inform me that:
>On Wednesday, 21. November 2001 21:47, you wrote:
>> On Thu, Nov 22, 2001 at 12:37:29AM +0000, Rajesh Fowkar wrote:
>> [...]
>>
>> > >From the error it looks as if some encore2.h is missing. Which package
>> > contains this file ? What else I need to compile mencoder ?
>>
>> divx4linux contains this file.
>> Check DOC/encoding.html to get the latest version & install it.
>> Check --with-extraincdir & --with-extralibdir if it's not found.
>> Check configure.log.
>pl: you should add divx4 encore check to configure and also check for lame
>libs, only if both found #define ENABLE_MENCODER and in mecoder.c do
>something like:
I had read the DOC/encoding.html and downloaded avifile from the cvs and
thought that divX4linux is part of it. I was wrong. Today I downloaded the
divX4linux.gz file and installed it using install.sh script.
After that I recompiled avifile and ./configure gave me this :
------------------------------------------------------------------
Configuration:
Compiler C: gcc -g -O2 -march=i586 -ffast-math -pipe
Compiler C++: c++ -g -O2 -march=i586 -ffast-math -pipe
Install path: /usr/local
Qt: no
Sdl: yes
Xft: yes
Oss audio: yes
Sun audio: no
Mga_vid: no
Plugins:
ac3passthrough yes (with SBLive only)
divx4 yes (DivX :-), OpenDivX, DivX4)
ffmpeg yes (DivX :-), OpenDivX, MJPEG, AC3)
os motion jpeg yes (MJPEG)
win32 yes (DivX, WMF1/2, DV, MJPEG, Ati, Asus,...)
MAD yes (MPEG Layer I/II/III)
ogg/vorbis no
lame runtime yes
------------------------------------------------------------------
I have got lame installed too.(Yes libraries)
Now if I do make mencoder (cvs 23112001) it goes on without problem however
make install gives me this :
---------- SNIP ----------------------------------------------------------
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 -o mencoder
libao2/afmt.o divx4_vbr.o mencoder.o libvo/aclib.o libvo/img_format.o
ima4.o xacodec.o cpudetect.o mp_msg.o ac3-iec958.o dec_audio.o dec_video.o
msvidc.o codec-cfg.o cfgparser.o my_profile.o dll_init.o -Llibmpeg2 -lmpeg2
-Llibmpdemux -lmpdemux -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lm
-L/usr/lib -lSDL -lpthread -lXxf86dga -lXxf86vm -lXxf86dga -lXxf86vm -lXv
-lXxf86vm -lvgagl -lvga -lpng -lz -lnsl -lXinerama -lz -Lloader
-lloader -Lloader/DirectShow -lDS_Filter -lstdc++ -lmp3lame -Lmp3lib -lMP3
-Llibac3 -lac3 -ldvdread -lpthread -ldl -Llinux -losdep -Lpostproc
-lpostproc -Lxa -lxa -ldivxdecore opendivx/postprocess.o -lmp3lame
-ldivxencore -lm -ltermcap -lm
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make: *** [mencoder] Error 1
---------- SNIP ----------------------------------------------------------
Why is it giving Segmentation fault and core dump ?
I am on debian GCC 2.95.
I have got the following now on my system :
-------------------------------------------------------------------------
ii avifile 0.6-1 avifile - Runtime Libraries
ii lame 3.89-1 lame - mp3 encoder & libraries runtime
ii gcc 2.95.4-6 The GNU C compiler.
-------------------------------------------------------------------------
Thanks for all the help.
Thanks in advance.
Peace
--
Rajesh
http://www.symonds.net/~rajesh/ ***** Powered By: Debian GNU/Linux
Kernel 2.4.14(ext3)
:
[Linux One Stanza Tip] From : <bish at nde.vsnl.net.in>
LOST #027 -**< Sub : Default colours on terminals >**-
To change the default colours to a white foreground on a blue
background on, append following to .bashrc or .bash_profile
setterm -background blue -store
setterm -foreground white -half-bright off -store
clear
More information about the MPlayer-users
mailing list