[gephex-devel] Information about ffmpeg compile problems on windows

georg at kexbox.org georg at kexbox.org
Mon Jun 27 16:43:27 CEST 2005


Quoting "Philipp Promesberger [c]" <coma at gephex.org>:

> georg at kexbox.org wrote:
>
>> Quoting "Philipp Promesberger [c]" <coma at gephex.org>:
>>
>>> I'm not sure on how to proceed with this...I suspect those weird 
>>> linker warnings are the reason for this, so I'll try to find out 
>>> what's happening there for now...
>>
>>
>> Before you invest (waste?) too much time with this (I already did ;),
>
> No...if i understood this post correctly this is not concerning the 
> version I'm playing around with ATM. The patch only fixes some 
> compile errors of a different version. I'll try this if i can't get 
> the newest version to work somehow.

I believe the post is about a very recent version. I am talking about
the following:

> I get the same error.  The patch below fixes it, but I don't know why :/

> I'm using gcc.exe (GCC) 3.2.3 (mingw special 20030504-1).

Index: libavformat/Makefile
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/Makefile,v
retrieving revision 1.80
diff -u -r1.80 Makefile
--- libavformat/Makefile	11 Jan 2005 08:16:04 -0000	1.80
+++ libavformat/Makefile	3 Mar 2005 16:34:11 -0000
<at>  <at>  -101,7 +101,8  <at>  <at>

$(SLIB): $(OBJS)
ifeq ($(CONFIG_WIN32),yes)
-	$(CC) $(SHFLAGS) -Wl,--output-def,$( <at> :.dll=.def) -o $ <at>  $(OBJS)
$(PPOBJS) $(EXTRALIBS) $(VPATH)/../libavcodec/avcodec.dll
+	$(CC) $(SHFLAGS) -Wl,--output-def,$( <at> :.dll=.def) -o $ <at>  $(OBJS)
$(PPOBJS) $(EXTRALIBS)
+# $(VPATH)/../libavcodec/avcodec.dll
	-lib /machine:i386 /def:$( <at> :.dll=.def)
else
	$(CC) $(SHFLAGS) -o $ <at>  $(OBJS) $(PPOBJS) $(EXTRALIBS)

[...]

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the gephex-devel mailing list