[Ffmpeg-devel] Win32 unresolved external symbol

Dario Andrade dario
Fri Sep 2 03:37:52 CEST 2005


 
> > I use gcc.exe (GCC) 3.2.3 (mingw special 20030504-1), under
> > Windows XP SP2,
> > and CYGWIN_NT-5.1 installed.
> >
> > My configure command is:
> >
> > ./configure  --enable-mingw32 --enable-shared
> > --source-path=c:/work/nct/ffmpeg --disable-ffserver --disable-ffplay
> > --enable-memalign-hack --enable-gpl --enable-x264 --disable-encoders
> > --disable-decoders --enable-codec=H264_DECODER --enable-
> codec=X264_ENCODER
> > --enable-codec=MPEG4_DECODER --enable-codec=MPEG4_ENCODER
> > --enable-codec=SPEEX_ENCODER --enable-codec=SPEEX_DECODER
> >
> 
> It's not clear whether you are running in mingw/msys or cygwin (although
> it
> appears from your other comments you are using cygwin).
> 

It's cygwin. I don't have MSYS installed.

> I'm pretty sure that --enable-mingw doesn't set -mno-cygwin, so you have a
> forced dll dependency on cygwin.dll
> 
> Not sure how you are using mingw's gcc with cygwin, as cygwin has its own
> version of gcc.

No, the resulting dll does not depend on cygwin.dll. This switch is somewhat
old by now and later versions of mingw provide an altered gcc that can do
what this switch used to do. (see
http://www.mingw.org/mingwfaq.shtml#faq-mingw32-gcc.exe)

Cheers,
Dario Andrade





More information about the ffmpeg-devel mailing list