[x264-devel] Latest git version fail to compile on openSUSE 11.2 Factory with --enable-mp4-output

Jason Garrett-Glaser darkshikari at gmail.com
Thu Sep 24 02:03:42 CEST 2009


On Wed, Sep 23, 2009 at 4:46 PM, Rodney Baker <rodney.baker at iinet.net.au> wrote:
> Hi all.
>
> I just tried to update x264 to the latest git release (ffmpeg now requires
>>=libx264-76) and ran the following;
>
> git pull
> make distclean
> ./configure --enable-shared --enable-mp4-output
> make
>
> The build failed with the following error:
>
> gcc -shared -o libx264.so.76 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/set.o common/quant.o common/vlc.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/x86/mc-c.o common/x86/predict-c.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-32.o
> common/x86/pixel-32.o -Wl,-soname,libx264.so.76 -lm -lpthread -lgpac_static -s
> /usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld: cannot
> find -lgpac_static
> collect2: ld returned 1 exit status
> make: *** [libx264.so.76] Error 1
>
> Without --enable-mp4-output it compiled correctly. On previous revisions I
> have used --enable-mp4-output without any problems. Is there another package I
> need to update, downgrade or install to support this in the latest git
> version?

As has always been true, you need gpac if you want to compile with mp4
output.  This hasn't changed.

However, you don't need mp4 output if you're trying to use x264 with
ffmpeg, as ffmpeg has its own mp4 muxer.

Dark Shikari


More information about the x264-devel mailing list