Date: Wed, 29 Feb 2012 15:09:45 +0100 From: Andy Wodfer <wodfer@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Help compiling ffmpeg from source Message-ID: <CABgB0xS5Yyvo7otHvLdkx5zJfb9Lk=XzVEvAhuaPE=ONoWJRpA@mail.gmail.com> In-Reply-To: <4F4E2D3D.3020905@herveybayaustralia.com.au> References: <CABgB0xSi%2Bgd_udfSFUckYtk31=HJjTVqJWv%2BNsRGcktdpLL%2BKw@mail.gmail.com> <4F4E2D3D.3020905@herveybayaustralia.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 29, 2012 at 2:50 PM, Da Rock < freebsd-questions@herveybayaustralia.com.au> wrote: > On 02/29/12 23:48, Andy Wodfer wrote: > >> 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 >> > Thats right, I remember this one- really simple but will get you every > time! You need a newer gcc version (probably 4.6 will get you out of > trouble if I remember correctly). > > The port already sets this, it will only bite when you're working solo. > > Ok - thanks! I'm currently doing this: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html I will report back on how it goes. :-) Cheers, Andy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABgB0xS5Yyvo7otHvLdkx5zJfb9Lk=XzVEvAhuaPE=ONoWJRpA>