From owner-freebsd-questions@FreeBSD.ORG Wed Feb 29 14:09:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5857106566B for ; Wed, 29 Feb 2012 14:09:47 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3A9DC8FC0A for ; Wed, 29 Feb 2012 14:09:46 +0000 (UTC) Received: by lagv3 with SMTP id v3so694476lag.13 for ; Wed, 29 Feb 2012 06:09:46 -0800 (PST) Received-SPF: pass (google.com: domain of wodfer@gmail.com designates 10.152.112.132 as permitted sender) client-ip=10.152.112.132; Authentication-Results: mr.google.com; spf=pass (google.com: domain of wodfer@gmail.com designates 10.152.112.132 as permitted sender) smtp.mail=wodfer@gmail.com; dkim=pass header.i=wodfer@gmail.com Received: from mr.google.com ([10.152.112.132]) by 10.152.112.132 with SMTP id iq4mr409072lab.28.1330524586086 (num_hops = 1); Wed, 29 Feb 2012 06:09:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=YOut7VM9VwBKhg5Cd54BdsgwWJpLQkjEYCPrZpBEsZI=; b=UqTWbwjbev+scM6/VcPyhz1Ke+xRBQVUOCUaka106X1xj9LwdeJW8s50hmH0MhAuX1 58COM/ERZRCzQG/GQLx0RoC+GIFLN8WTzAwEPeOY2fm6sSdC5Gyck8XEOSlRcHV+Bxdu BAhshIX7AfrZwwtJS/SxnihFKtd5zSgHf7iQg= MIME-Version: 1.0 Received: by 10.152.112.132 with SMTP id iq4mr333466lab.28.1330524585986; Wed, 29 Feb 2012 06:09:45 -0800 (PST) Received: by 10.152.112.34 with HTTP; Wed, 29 Feb 2012 06:09:45 -0800 (PST) In-Reply-To: <4F4E2D3D.3020905@herveybayaustralia.com.au> References: <4F4E2D3D.3020905@herveybayaustralia.com.au> Date: Wed, 29 Feb 2012 15:09:45 +0100 Message-ID: From: Andy Wodfer To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Help compiling ffmpeg from source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 14:09:47 -0000 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