[Ffmpeg-devel] Re: Configure with msys/mingw

Christian Jacquemin Christian.Jacquemin
Wed Jul 26 16:59:21 CEST 2006


Thank you Gianluigi for the details of your config.

I have upgraded the bintutils/gcc/runtime from the tarballs
on mplayer site, and checked the versions of gcc, make, sh
and ld... but the same error was still produced
by ld at the check_cc and check_ld step :

gcc
-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
-o /tmp/ffmpeg-conf-13700-3384-12653 /tmp/ffmpeg-conf-18966-3384-28567.o -lm
c:\mingw\bin\..\lib\gcc\mingw32\4.1.1\..\..\..\..\mingw32\bin\ld.exe: Can't open
output def file $(@:.dll=.def)

I have finally decided to remove the problematic
argument --output-def,$(@:.dll=.def) from the configuration
file

diff -d -u configure configure_new
--- configure   Wed Jul 26 12:35:10 2006
+++ configure_new       Wed Jul 26 12:35:32 2006
@@ -892,7 +892,7 @@
     if test "$mingwce" = "yes"; then
         protocols="no"
     fi
-
FFLDFLAGS='-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)'
+    FFLDFLAGS='-Wl,--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)'
     SLIBPREF=""
     SLIBSUF=".dll"
     EXESUF=".exe"

Everything works fine then (configure and make).
I do not produce the avcodec.def, avformat.def
and avutil.def files but I however succeed to
link with the produced ffmpeg dlls.

I am sorry about that, but I am not good enough
at shell programming to make a better debugging
and produce a patch for the configuration file.

-Christian

--
Christian Jacquemin, LIMSI-CNRS & University Paris 11,
BP 133, 91403 ORSAY Cedex, France
htt://www.limsi.fr/Individu/jacquemi/






More information about the ffmpeg-devel mailing list