monipol wrote:
> Thanks, Jon. I'm cc'ing ffmpeg's maintainer.
> 
> On 14/09/2009, at 12:21, Jon Connell wrote:
> 
>> ffmpeg fails to build on x86_64 (OS 10.6). Here's an example of a
>> compilation failure (gas barfing on the inline assembler):
[]
>> cabac.h: In function ‘decode_significance_x86’:
>> cabac.h:693: warning: cast from pointer to integer of different size
[]
>> Some googling suggests that this is a problem associated with gcc 4.2,
>> and configuring with "--cc=gcc-4.0" does get this bit of ffmpeg to  
>> build.
>>
>> However, the configure architecture is still x86_32, however (gcc

I don't think this is the right solution. The problem with "cast from 
pointer to integer of different size" can be fixed by introducing an 
additional (uintptr_t) cast. See nedit.patch for examples.

Unfortunately, the guy who best understood these x86_64 update problems 
  has just left Fink.

-- 
Martin


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to