William G. Scott wrote:
> In file included from h264.h:32,
>                   from h264.c:31:
> cabac.h: In function 'decode_significance_x86':
> cabac.h:693: warning: cast from pointer to integer of different size
> cabac.h:694: warning: cast from pointer to integer of different size
> cabac.h: In function 'decode_significance_8x8_x86':
> cabac.h:742: warning: cast from pointer to integer of different size
> h264.c: In function 'hl_decode_mb_internal':
> h264.c:2413: warning: suggest parentheses around arithmetic in operand  
> of ^
> h264.c:2419: warning: suggest parentheses around arithmetic in operand  
> of ^
> {standard input}:9509:suffix or operands invalid for `add'
> {standard input}:9521:suffix or operands invalid for `add'

The configure script configures for x86_32 in spite of being told you 
want to build for x86_64. This worked for me:

diff -r1.12 ffmpeg.info
21a22,23
 >   ### Fix for selecting x86_32 in spite of --arch=x86_64
 >   perl -pi -e '$c++ if m,arch="x86_32",; 
s,arch="x86_32",arch="x86_64", if $c==2' configure

I also had to configure with:

--cc=gcc-4.0 --arch=x86_64 --extra-cflags="-I/sw64/include -m64" 
--extra-ldflags=-m64

Jon


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) 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/devconference
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to