Help compiling ffmpeg from source

Andy Wodfer wodfer at gmail.com
Wed Feb 29 13:48:46 UTC 2012


I'm on FreeBSD 8.2 STABLE (AMD64).

I need to install the latest ffmpeg 0.10, but it fails when compiling. I
must admit I very rarely do it this way. Normally all software is installed
from ports, but I couldn't find this version of ffmpeg there.

Heres what I do:

./configure
gmake

and the problem looks like this:

[snip]
/var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)' is not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit
base/index expression
/var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27045: Error: `ff_h264_lps_range(%r9d,%r12d,2)' is not
a valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)' is not a
valid 64 bit base/index expression
/var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64 bit
base/index expression
/var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is not a
valid 64 bit base/index expression
gmake: *** [libavcodec/h264_cabac.o] Error 1

Any idea what I can do to fix this?

Thanks!
Andy


More information about the freebsd-questions mailing list