[FFmpeg-devel] FFMPEG GCC4.4.0 MinGW...

JIA Pei jp4work
Fri Aug 7 01:05:53 CEST 2009

Hi, All:

I'm trying to compile ffmpeg under windowsXP+GCC4.4.0

I strictly follow http://www.mingw.org/wiki/HOWTO_Install ...
install MinGW
and then http://www.mingw.org/wiki/MSYS to install Msys.

The only thing is I replace the old GCC3.4.5 to GCC 4.4.0 .

After I set up all the configurations, I start compiling ffmpeg.

However, what I've got during compilation is:

gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-users at mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.

And, the last several lines of my "config.err" is

type mktemp
./configure: line 537: type: mktemp: not found
BEGIN /tmp/ffconf.XXXXX.CESHH3.500.5272.c
1 int main(void){ return 0; }
END /tmp/ffconf.XXXXX.CESHH3.500.5272.c
gcc -c -o /tmp/ffconf.XXXXX.CESHH3.500.5272.o
gcc -o /tmp/ffconf.XXXXX.CESHH3.500.5272.exe
Info: resolving __fmode by linking to __imp___fmode (auto-import)
Info: resolving __fpreset by linking to __imp___fpreset
warning: auto-importing has been activated without --enable-auto-import
specified on the command line.
This should work unless it involves constant data structures referencing
symbols from auto-imported DLLs.
undefined reference to `__cpu_features_init'
undefined reference to `_pei386_runtime_relocator'
fu000001.o:(.idata$2+0xc): undefined reference to `libmsvcrt_a_iname'
fu000002.o:(.idata$2+0xc): undefined reference to `libmsvcrt_a_iname'
fu000004.o:(.idata$2+0xc): undefined reference to `libmsvcrt_a_iname'
fu000005.o:(.idata$2+0xc): undefined reference to `libmsvcrt_a_iname'
nmth000000.o:(.idata$4+0x0): undefined reference to `_nm___fmode'
nmth000003.o:(.idata$4+0x0): undefined reference to `_nm___fpreset)
collect2: ld returned 1 exit status
C compiler test failed.

No idea how to solve this problem.

Please help.

Best Regards

Welcome to Vision Open
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.err
Type: application/octet-stream
Size: 38675 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090807/5b42c296/attachment.obj>

More information about the ffmpeg-devel mailing list