jslhs / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

Cannot make with --enable-libx264 #71

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
run ./configure with --enable-libx264
2.
run make
3.
error

What is the expected output? What do you see instead?
Expected: successful compile.
Outcome:
#make
LD ffmbc_g
/home/hughht5/ffmbc/FFmbc-0.6.1/libavcodec/libavcodec.a(libx264.o): In function 
`X264_init':
/home/hughht5/ffmbc/FFmbc-0.6.1/libavcodec/libx264.c:418: undefined reference 
to `x264_encoder_open_119'
collect2: ld returned 1 exit status
make: *** [ffmbc_g] Error 1

What version of the product are you using? On what operating system?
V 6.0.1
OS Ubuntu 11.10

Please provide any additional information below:

configured with
./configure --enable-bzlib --enable-libdc1394 --enable-libdirac 
--enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg 
--enable-libschroedinger --enable-libspeex --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-nonfree 
--enable-libx264 

Original issue reported on code.google.com by hugh...@gmail.com on 30 Nov 2011 at 3:09

GoogleCodeExporter commented 8 years ago
I believe it wants me to install an old version of x264, I am using the latest 
git versions

Original comment by hugh...@gmail.com on 30 Nov 2011 at 3:11

GoogleCodeExporter commented 8 years ago
You have to recompile libx264.o
Delete libavcodec/libx264.o and type make again

Original comment by baptiste...@gmail.com on 30 Nov 2011 at 9:16

GoogleCodeExporter commented 8 years ago
I tried doing that and double checked. It still failed with the same error.
I also tried a make clean before running make but this also fails.

Please help

Hugh

Original comment by hugh...@gmail.com on 9 Dec 2011 at 10:47

GoogleCodeExporter commented 8 years ago
Make sure you don't have multiple installation of x264 laying around, in 
/usr/lib or in /usr/local/lib.

Original comment by baptiste...@gmail.com on 9 Dec 2011 at 9:47

GoogleCodeExporter commented 8 years ago
Thanks so much for the quick response.

Do you know if this will mess up my installation of ffmpeg? I need ffmpeg
and ffmbc running side by side.

Original comment by hugh...@gmail.com on 11 Dec 2011 at 7:22