[XviD-devel] dshow gcc-3.3.1 patch

Reini Urban rurban at x-ray.at
Thu Aug 5 18:40:48 CEST 2004


Milan Cutka schrieb:

> RU> add the --allow-multiple-definition linker flag, because
> RU> I get
> 
> RU>    multiple definition of `_QACONTAINERFLAGS'
> RU>    CAbout.obj(.bss+0x0):CAbout.cpp: first defined here
>  
> RU> /cygdrive/p/DX90SDK/Samples/C++/DirectShow/BaseClasses/strmbase.lib(ddmm.o)(.bss+0x0):ddmm.cpp:
> RU>    multiple definition of `_QACONTAINERFLAGS'
> RU>    CAbout.obj(.bss+0x0):CAbout.cpp: first defined here
> 
> RU> in about all strmbase.lib object files. (new stream.h in the dx90 summer
> RU> 2004 update ?)
> 
> IIRC it's a bug in mingw headers. In mingw/include/ocidl.h file look
> for QACONTAINERFLAGS. There should be line like:
> 
>     enum tagQACONTAINERFLAGS
> 
> which  is wrong. Change it to:
> 
>      typedef enum tagQACONTAINERFLAGS
> 
> and recompile whole project.

This is true for the latest w32api-2.5.tar.gz headers (20040515),
but I used just the older default cygwin mingw headers from cygwin 
setup: gcc-mingw-core-20031020-1.tar.bz2, which has no wrong
/usr/include/mingw/ocidl.h

I'll try to trace that down, since the idea of my build is to use it 
with the cygwin setup version, and not the latest mingw builds (3.4.x).
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/



More information about the XviD-devel mailing list