[Ffmpeg-devel] Build ffmpeg on Win32

yj yunjnz
Fri Mar 10 09:51:38 CET 2006


Oh,
you are right,
I re-installed mingw and it's OK.
Thank you very very much.


--- Steve Lhomme <steve.lhomme at free.fr> wrote:

> I just tried it and it works fine for me (apart from
> that configure 
> error which is a bad understanding of the Windows
> API that provides some 
> memory alignement features, even provided in MinGW)
> 
> There's probably something wrong with your
> MinGW+Msys installation. An 
> option could be an environment variable set that
> will make it look in 
> the wrong include directories. Otherwise I suggest
> trying on another 
> (fresh) machine or reinstalling it on yours.
> 
> yj wrote:
> > Hi,
> > As I parsed yesterday, the error information after
> > issuing command: ./configure:
> > 
> > 
> > big/little test failed
> > Error, no memalign() but SSE enabled, disable it
> or
> > use --enable-memalign-hack
> > 
> > if issue configure command with option
> > --enable-memalign-hack,
> > 
> > configuration will be successful, but still prompt
> the
> > information: big/little test failed.
> > 
> > after the configuration, Type make, here is the
> error
> > information:
> > 
> > make -C libavutil all
> > make[1]: Entering directory
> > `/h/linuxproj/mpegtest/ffmpeg/libavutil'
> > gcc -O3 -g -Wall -Wno-switch 
> > -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H
> > -DBUILD_AVUTIL -I.. -D_FILE_OFFSET_BITS=64 -D
> > _LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o
> mathematics.o
> > mathematics.c
> > In file included from mathematics.c:24:
> > common.h:162: error: syntax error before
> > "uint_fast64_t"
> > common.h:162: warning: type defaults to `int' in
> > declaration of `uint_fast64_t'
> > common.h:162: warning: data definition has no type
> or
> > storage class
> > In file included from common.h:257,
> >                  from mathematics.c:24:
> > bswap.h:20: error: syntax error before "bswap_16"
> > bswap.h:20: error: syntax error before "x"
> > bswap.h:21: warning: return type defaults to `int'
> > bswap.h: In function `bswap_16':
> > bswap.h:23: error: `x' undeclared (first use in
> this
> > function)
> > bswap.h:23: error: (Each undeclared identifier is
> > reported only once
> > bswap.h:23: error: for each function it appears
> in.)
> > bswap.h: At top level:
> > bswap.h:28: error: syntax error before "bswap_32"
> > bswap.h:28: error: syntax error before "x"
> > bswap.h:29: warning: return type defaults to `int'
> > bswap.h: In function `bswap_32':
> > bswap.h:32: error: `x' undeclared (first use in
> this
> > function)
> > bswap.h: At top level:
> > bswap.h:43: error: syntax error before "bswap_64"
> > bswap.h:43: error: syntax error before "x"
> > bswap.h:44: warning: return type defaults to `int'
> > bswap.h: In function `bswap_64':
> > bswap.h:52: error: syntax error before "uint64_t"
> > bswap.h:52: warning: no semicolon at end of struct
> or
> > union
> > bswap.h:54: error: syntax error before "uint32_t"
> > bswap.h:54: warning: no semicolon at end of struct
> or
> > union
> > bswap.h: At top level:
> > bswap.h:55: warning: type defaults to `int' in
> > declaration of `l'
> > bswap.h:55: warning: data definition has no type
> or
> > storage class
> > bswap.h:56: error: syntax error before '}' token
> > bswap.h:56: warning: type defaults to `int' in
> > declaration of `r'
> > bswap.h:56: warning: data definition has no type
> or
> > storage class
> > bswap.h:57: error: syntax error before '.' token
> > In file included from mathematics.c:24:
> > common.h:313: error: syntax error before "inverse"
> > common.h:313: warning: type defaults to `int' in
> > declaration of `inverse'
> > common.h:313: warning: data definition has no type
> or
> > storage class
> > common.h:357: error: syntax error before
> "ff_log2_tab"
> > common.h:357: warning: type defaults to `int' in
> > declaration of `ff_log2_tab'
> > common.h:357: warning: data definition has no type
> or
> > storage class
> > common.h:435: error: syntax error before
> "ff_sqrt_tab"
> > common.h:435: warning: type defaults to `int' in
> > declaration of `ff_sqrt_tab'
> > common.h:435: warning: data definition has no type
> or
> > storage class
> > common.h:437: error: syntax error before "ff_gcd"
> > common.h:437: error: syntax error before "a"
> > common.h:437: warning: type defaults to `int' in
> > declaration of `ff_gcd'
> > common.h:437: warning: data definition has no type
> or
> > storage class
> > In file included from mathematics.c:25:
> > integer.h:33: error: syntax error before
> "uint16_t"
> > integer.h:33: warning: no semicolon at end of
> struct
> > or union
> > integer.h:34: warning: type defaults to `int' in
> > declaration of `AVInteger'
> > integer.h:34: warning: data definition has no type
> or
> > storage class
> > integer.h:36: error: syntax error before
> "av_add_i"
> > integer.h:36: error: syntax error before "a"
> > integer.h:36: warning: type defaults to `int' in
> > declaration of `av_add_i'
> > integer.h:36: warning: data definition has no type
> or
> > storage class
> > integer.h:37: error: syntax error before
> "av_sub_i"
> > integer.h:37: error: syntax error before "a"
> > integer.h:37: warning: type defaults to `int' in
> > declaration of `av_sub_i'
> > integer.h:37: warning: data definition has no type
> or
> > storage class
> > integer.h:38: error: syntax error before "a"
> > integer.h:39: error: syntax error before
> "av_mul_i"
> > integer.h:39: error: syntax error before "a"
> > integer.h:39: warning: type defaults to `int' in
> > declaration of `av_mul_i'
> > integer.h:39: warning: data definition has no type
> or
> > storage class
> > integer.h:40: error: syntax error before "a"
> > integer.h:41: error: syntax error before
> "av_shr_i"
> > integer.h:41: error: syntax error before "a"
> > integer.h:41: warning: type defaults to `int' in
> > declaration of `av_shr_i'
> > integer.h:41: warning: data definition has no type
> or
> > storage class
> > integer.h:42: error: syntax error before
> "av_mod_i"
> > integer.h:42: error: syntax error before '*' token
> > integer.h:42: warning: type defaults to `int' in
> > declaration of `av_mod_i'
> > integer.h:42: warning: data definition has no type
> or
> > storage class
> > integer.h:43: error: syntax error before
> "av_div_i"
> > integer.h:43: error: syntax error before "a"
> > integer.h:43: warning: type defaults to `int' in
> > declaration of `av_div_i'
> > integer.h:43: warning: data definition has no type
> or
> > storage class
> > integer.h:44: error: syntax error before
> "av_int2i"
> > integer.h:44: error: syntax error before "a"
> > integer.h:44: warning: type defaults to `int' in
> > declaration of `av_int2i'
> > integer.h:44: warning: data definition has no type
> or
> > storage class
> > integer.h:45: error: syntax error before
> "av_i2int"
> > integer.h:45: error: syntax error before "a"
> > integer.h:45: warning: type defaults to `int' in
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





More information about the ffmpeg-devel mailing list