Re: [Mingw-w64-public] can't compile ffmpeg 0.6 with mingw-w64-bin_i686-mingw_20100619

2010-06-23 Thread Doug Semler
On Wed, Jun 23, 2010 at 1:38 PM, Kolb, Jeremy jk...@wsi.com wrote:
 I keep getting compile errors



 $ ./configure --enable-shared --disable-static --enable-cross-compile
 --enable-cross-compile --cross-prefix=x86_64-w64-mingw32- --arch=amd64
 --target-os=mingw32 --enable-w32threads



 make

 ...



 libswscale/swscale_template.c: In function 'sws_init_swScale_3DNow':

 libswscale/swscale_template.c:2965:44: warning: assignment from incompatible
 poi

 nter type [enabled by default]

 libswscale/swscale_template.c:2980:44: warning: assignment from incompatible
 poi

 nter type [enabled by default]

 libswscale/swscale_template.c:3025:40: warning: assignment from incompatible
 poi

 nter type [enabled by default]

 libswscale/swscale.c: In function 'sws_scale':

 libswscale/swscale.c:1925:19: warning: to be safe all intermediate pointers
 in c

 ast from 'uint8_t **' to 'const uint8_t **' must be 'const' qualified
 [-Wcast-qu

 al]

 libswscale/swscale.c:1948:19: warning: to be safe all intermediate pointers
 in c

 ast from 'uint8_t **' to 'const uint8_t **' must be 'const' qualified
 [-Wcast-qu

 al]

 C:\Users\jkolb\AppData\Local\Temp\ccxfMncr.s: Assembler messages:

 C:\Users\jkolb\AppData\Local\Temp\ccxfMncr.s:15685: Error: operand type
 mismatch

  for `cmp'

 make: *** [libswscale/swscale.o] Error 1



 Is there a way around this w/o disabling mmx/3dnow etc.?



Without looking at the code, I wouldn't be surprised if this is inline
assembly code that was written for 32 bit assembler.

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] can't compile ffmpeg 0.6 with mingw-w64-bin_i686-mingw_20100619

2010-06-23 Thread Ruben Van Boxem
2010/6/23 Doug Semler dougsem...@gmail.com

 Without looking at the code, I wouldn't be surprised if this is inline
 assembly code that was written for 32 bit assembler.


You should ask/report this on the ffmpeg mailing list. I was planning on
doing that myself, but  I've tried to subscribe to both ffmpeg-users and
ffmpeg-dev and haven't heard back yet.

You could try configure --disable-asm, but as far as I remember it didn't
help much in my case.
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] can't compile ffmpeg 0.6 with mingw-w64-bin_i686-mingw_20100619

2010-06-23 Thread Kolb, Jeremy
I just figured it out.

 

http://ffmpeg.arrozcru.org/forum/viewtopic.php?f=8t=1225p=4874#p4874

 

Seems to have the solution, but Ramiro has not made the change (at least for 
ffmpeg-0.6).

 

Jeremy

 

From: Ruben Van Boxem [mailto:vanboxem.ru...@gmail.com] 
Sent: Wednesday, June 23, 2010 2:05 PM
To: Doug Semler
Cc: Kolb, Jeremy; mingw-w64-public@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] can't compile ffmpeg 0.6 with 
mingw-w64-bin_i686-mingw_20100619

 

2010/6/23 Doug Semler dougsem...@gmail.com

Without looking at the code, I wouldn't be surprised if this is inline
assembly code that was written for 32 bit assembler.


You should ask/report this on the ffmpeg mailing list. I was planning on doing 
that myself, but  I've tried to subscribe to both ffmpeg-users and ffmpeg-dev 
and haven't heard back yet.

You could try configure --disable-asm, but as far as I remember it didn't help 
much in my case.

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public