[MEncoder-users] -x264encopts is not an MEncoder option

Albert Scholtalbers compuvision.sr at gmail.com
Fri Sep 3 19:02:41 CEST 2010


>
> --enable-shared
>
Just to be sure, you did configure x264 with:

When I do that ./configure --enable-shared and I run suso make afterwards I
get the following error

gcc -shared -o libx264.so.104 common/mc.o common/predict.o common/pixel.o
common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o
common/common.o common/mdate.o common/rectangle.o common/set.o
common/quant.o common/deblock.o common/vlc.o common/mvpred.o
common/bitstream.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o
encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o
encoder/encoder.o encoder/lookahead.o common/threadpool.o common/x86/mc-c.o
common/x86/predict-c.o common/x86/const-a.o common/x86/cabac-a.o
common/x86/dct-a.o common/x86/deblock-a.o common/x86/mc-a.o
common/x86/mc-a2.o common/x86/pixel-a.o common/x86/predict-a.o
common/x86/quant-a.o common/x86/sad-a.o common/x86/cpu-a.o
common/x86/dct-64.o common/x86/bitstream-a.o  -Wl,-soname,libx264.so.104 -lm
-lpthread -Wl,-Bsymbolic -s
/usr/bin/ld: common/x86/cabac-a.o: relocation R_X86_64_32 against
`x264_cabac_range_lps' can not be used when making a shared object;
recompile with -fPIC
common/x86/cabac-a.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libx264.so.104] Error 1

According to this fellow it should be with ./configure --enable-pic
--enable-shared
But that gave the same problem.

Than I found this webiste http://ubuntuforums.org/showthread.php?t=786095
and following their instruction made this happen:
Checking for x264 ... yes (in libavcodec: yes)

Unfortunately with make & make install it gave me the same result ->
when I gave the same command but with /usr/bin/mencoder it worked, but that
seems the old version that comes with apt-get install mencoder......

So one step closer and looking for more flaws in compiling mplayer


More information about the MEncoder-users mailing list