[Ffmpeg-devel] ffmpeg compile - fault (in win xp)

Víctor Paesa wzrlpy
Sun Oct 29 09:31:38 CET 2006


Hi,
> I compiled ffmpeg source for window
>
> And used MinGW, MSys
>
> It has a configure error ??Exec bash not found ??
>
> I updated bash.exe file to msys??s bin folder
>
> So . /configure --enable-shared --disable-static --enable-memalign-hack
> command did well
>
> And I typed ??make??
>
> But it caused compile error
>
> Like below ??
>
>
>
> Info: resolving _mjpeg_decoder by linking to __imp__mjpeg_decoder (auto-
> import)
>
> Info: resolving _mjpeg_encoder by linking to __imp__mjpeg_encoder (auto-
> import)
>
> Info: resolving _ff_frame_rate_tab by linking to __imp__ff_frame_rate_tab
> (auto-import)
>
> Info: resolving _av_crc04C11DB7 by linking to __imp__av_crc04C11DB7 (auto-
> import)
>
> gxf.o(.text+0xa34): In function `gxf_header':
>
> d:/projects/ffmpeg/libavformat/gxf.c:204: variable 'ff_frame_rate_tab'
> can't be auto-imported. Please read the documentation for ld's --enable-
> auto-import for details.
>
> Creating library file: libavformat.dll.a
>
> make[1]: *** [avformat-50.dll] Error 1
>
> make[1]: Leaving directory `/d/projects/ffmpeg/libavformat'
>
> make: *** [lib] Error 2
>
>
>
> I don??t know what -enable-auto-import flag said.
>
> And what??s mean ??auto-import???
>
> I used the latest version ffmpeg sources that received by SVN
>

Read and follow this:
http://arrozcru.no-ip.org/ffmpeg_wiki/

Since there is an error at the linking stage I believe you're not
using the proper version of ld (part of binutils package), use the one
recommended there.

By the way, is a good idea to give version numbers in bug reports.

You may get help on -enable-auto-import by typing "info ld" on most
platforms, if you don't have it, Google works also well:

http://www.google.es/search?q=enable-auto-import

Regards,
V?ctor




More information about the ffmpeg-devel mailing list