Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47158

ActiveQt can not be compiled with MinGW (x86 and x64)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.5.0
    • ActiveX Support
    • None

    Description

      A Thread can be found here:
      Qt OpenSource Forum

      +++
      Here is what I was able to copy from the Windows CMD Shell:

      C:/mingw32/i686-w64-mingw32/include/activscp.h:179:1: note: 'const GUID IID_IActiveScriptParse32' previously defined here
      DEFINE_GUID(IID_IActiveScriptParse32, 0xbb1a2ae2, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:1741:1: error: redefinition of 'const GUID IID_IActiveScriptParse64'
      DEFINE_GUID(IID_IActiveScriptParse64, 0xc7ef7658, 0xe1ee, 0x480e, 0x97,0xea, 0xd5,0x2c,0xb4,0xd7,0x6d,0x17);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:180:1: note: 'const GUID IID_IActiveScriptParse64' previously defined here
      DEFINE_GUID(IID_IActiveScriptParse64, 0xc7ef7658, 0xe1ee, 0x480e, 0x97, 0xea, 0xd5, 0x2c, 0xb4, 0xd7, 0x6d, 0x17);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:1926:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedureOld32'
      DEFINE_GUID(IID_IActiveScriptParseProcedureOld32, 0x1cff0050, 0x6fdd, 0x11d0, 0x93,0x28, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:183:1: note: 'const GUID IID_IActiveScriptParseProcedureOld32' previously defined here
      DEFINE_GUID(IID_IActiveScriptParseProcedureOld32, 0x1cff0050, 0x6fdd, 0x11d0, 0x93, 0x28, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:2035:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedureOld64'
      DEFINE_GUID(IID_IActiveScriptParseProcedureOld64, 0x21f57128, 0x08c9, 0x4638, 0xba,0x12, 0x22,0xd1,0x5d,0x88,0xdc,0x5c);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:184:1: note: 'const GUID IID_IActiveScriptParseProcedureOld64' previously defined here
      DEFINE_GUID(IID_IActiveScriptParseProcedureOld64, 0x21f57128, 0x08c9, 0x4638, 0xba, 0x12, 0x22, 0xd1, 0x5d, 0x88, 0xdc, 0x5c);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:2154:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedure32'
      DEFINE_GUID(IID_IActiveScriptParseProcedure32, 0xaa5b6a80, 0xb834, 0x11d0, 0x93,0x2f, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:185:1: note: 'const GUID IID_IActiveScriptParseProcedure32' previously defined here
      DEFINE_GUID(IID_IActiveScriptParseProcedure32, 0xaa5b6a80, 0xb834, 0x11d0, 0x93, 0x2f, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:2266:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedure64'
      DEFINE_GUID(IID_IActiveScriptParseProcedure64, 0xc64713b6, 0xe029, 0x4cc5, 0x92,0x00, 0x43,0x8b,0x72,0x89,0x0b,0x6a);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:186:1: note: 'const GUID IID_IActiveScriptParseProcedure64' previously defined here
      DEFINE_GUID(IID_IActiveScriptParseProcedure64, 0xc64713b6, 0xe029, 0x4cc5, 0x92, 0x00, 0x43, 0x8b, 0x72, 0x89, 0x0b, 0x6a);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:2388:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedure2_32'
      DEFINE_GUID(IID_IActiveScriptParseProcedure2_32, 0x71ee5b20, 0xfb04, 0x11d1, 0xb3,0xa8, 0x00,0xa0,0xc9,0x11,0xe8,0xb2);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:187:1: note: 'const GUID IID_IActiveScriptParseProcedure2_32' previously defined here
      DEFINE_GUID(IID_IActiveScriptParseProcedure2_32, 0x71ee5b20, 0xfb04, 0x11d1, 0xb3, 0xa8, 0x00, 0xa0, 0xc9, 0x11, 0xe8, 0xb2);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:2471:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedure2_64'
      DEFINE_GUID(IID_IActiveScriptParseProcedure2_64, 0xfe7c4271, 0x210c, 0x448d, 0x9f,0x54, 0x76,0xda,0xb7,0x04,0x7b,0x28);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:188:1: note: 'const GUID IID_IActiveScriptParseProcedure2_64' previously defined here
      DEFINE_GUID(IID_IActiveScriptParseProcedure2_64, 0xfe7c4271, 0x210c, 0x448d, 0x9f, 0x54, 0x76, 0xda, 0xb7, 0x04, 0x7b, 0x28);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:2564:1: error: redefinition of 'const GUID IID_IActiveScriptEncode'
      DEFINE_GUID(IID_IActiveScriptEncode, 0xbb1a2ae3, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:181:1: note: 'const GUID IID_IActiveScriptEncode' previously defined here
      DEFINE_GUID(IID_IActiveScriptEncode, 0xbb1a2ae3, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:2711:1: error: redefinition of 'const GUID IID_IActiveScriptHostEncode'
      DEFINE_GUID(IID_IActiveScriptHostEncode, 0xbee9b76e, 0xcfe3, 0x11d1, 0xb7,0x47, 0x00,0xc0,0x4f,0xc2,0xb0,0x85);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:182:1: note: 'const GUID IID_IActiveScriptHostEncode' previously defined here
      DEFINE_GUID(IID_IActiveScriptHostEncode, 0xbee9b76e, 0xcfe3, 0x11d1, 0xb7, 0x47, 0x00, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:2805:1: error: redefinition of 'const GUID IID_IBindEventHandler'
      DEFINE_GUID(IID_IBindEventHandler, 0x63cdbcb0, 0xc1b1, 0x11d0, 0x93,0x36, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:196:1: note: 'const GUID IID_IBindEventHandler' previously defined here
      DEFINE_GUID(IID_IBindEventHandler, 0x63cdbcb0, 0xc1b1, 0x11d0, 0x93, 0x36, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:2893:1: error: redefinition of 'const GUID IID_IActiveScriptStats'
      DEFINE_GUID(IID_IActiveScriptStats, 0xb8da6310, 0xe19b, 0x11d0, 0x93,0x3c, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:197:1: note: 'const GUID IID_IActiveScriptStats' previously defined here
      DEFINE_GUID(IID_IActiveScriptStats, 0xb8da6310, 0xe19b, 0x11d0, 0x93, 0x3c, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:3026:1: error: redefinition of 'const GUID IID_IActiveScriptProperty'
      DEFINE_GUID(IID_IActiveScriptProperty, 0x4954e0d0, 0xfbc7, 0x11d1, 0x84,0x10, 0x00,0x60,0x08,0xc3,0xfb,0xfc);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:198:1: note: 'const GUID IID_IActiveScriptProperty' previously defined here
      DEFINE_GUID(IID_IActiveScriptProperty, 0x4954E0D0, 0xFBC7, 0x11D1, 0x84, 0x10, 0x00, 0x60, 0x08, 0xC3, 0xFB, 0xFC);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:3142:1: error: redefinition of 'const GUID IID_ITridentEventSink'
      DEFINE_GUID(IID_ITridentEventSink, 0x1dc9ca50, 0x06ef, 0x11d2, 0x84,0x15, 0x00,0x60,0x08,0xc3,0xfb,0xfc);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:199:1: note: 'const GUID IID_ITridentEventSink' previously defined here
      DEFINE_GUID(IID_ITridentEventSink, 0x1dc9ca50, 0x6ef, 0x11d2, 0x84, 0x15, 0x00, 0x60, 0x08, 0xc3, 0xfb, 0xfc);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:3236:1: error: redefinition of 'const GUID IID_IActiveScriptGarbageCollector'
      DEFINE_GUID(IID_IActiveScriptGarbageCollector, 0x6aa2c4a0, 0x2b53, 0x11d4, 0xa2,0xa0, 0x00,0x10,0x4b,0xd3,0x50,0x90);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:200:1: note: 'const GUID IID_IActiveScriptGarbageCollector' previously defined here
      DEFINE_GUID(IID_IActiveScriptGarbageCollector, 0x6aa2c4a0, 0x2b53, 0x11d4, 0xa2, 0xa0, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:3321:1: error: redefinition of 'const GUID IID_IActiveScriptSIPInfo'
      DEFINE_GUID(IID_IActiveScriptSIPInfo, 0x764651d0, 0x38de, 0x11d4, 0xa2,0xa3, 0x00,0x10,0x4b,0xd3,0x50,0x90);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:201:1: note: 'const GUID IID_IActiveScriptSIPInfo' previously defined here
      DEFINE_GUID(IID_IActiveScriptSIPInfo, 0x764651d0, 0x38de, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:3406:1: error: redefinition of 'const GUID IID_IActiveScriptSiteTraceInfo'
      DEFINE_GUID(IID_IActiveScriptSiteTraceInfo, 0x4b7272ae, 0x1955, 0x4bfe, 0x98,0xb0, 0x78,0x06,0x21,0x88,0x85,0x69);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:190:1: note: 'const GUID IID_IActiveScriptSiteTraceInfo' previously defined here
      DEFINE_GUID(IID_IActiveScriptSiteTraceInfo, 0x4b7272ae, 0x1955, 0x4bfe, 0x98, 0xb0, 0x78, 0x6, 0x21, 0x88, 0x85, 0x69);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:3506:1: error: redefinition of 'const GUID IID_IActiveScriptTraceInfo'
      DEFINE_GUID(IID_IActiveScriptTraceInfo, 0xc35456e7, 0xbebf, 0x4a1b, 0x86,0xa9, 0x24,0xd5,0x6b,0xe8,0xb3,0x69);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:202:1: note: 'const GUID IID_IActiveScriptTraceInfo' previously defined here
      DEFINE_GUID(IID_IActiveScriptTraceInfo, 0xC35456E7, 0xBEBF, 0x4a1b, 0x86, 0xA9, 0x24, 0xD5, 0x6B, 0xE8, 0xB3, 0x69);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:3611:1: error: redefinition of 'const GUID IID_IActiveScriptStringCompare'
      DEFINE_GUID(IID_IActiveScriptStringCompare, 0x58562769, 0xed52, 0x42f7, 0x84,0x03, 0x49,0x63,0x51,0x4e,0x1f,0x11);
      ^
      C:/mingw32/i686-w64-mingw32/include/activscp.h:206:1: note: 'const GUID IID_IActiveScriptStringCompare' previously defined here
      DEFINE_GUID(IID_IActiveScriptStringCompare, 0x58562769, 0xED52, 0x42f7, 0x84, 0x03, 0x49, 0x63, 0x51, 0x4E, 0x1F, 0x11);
      ^
      Makefile.Release:1874: recipe for target '.obj/release/qaxscript.o' failed
      mingw32-make[5]: *** [.obj/release/qaxscript.o] Error 1
      mingw32-make[5]: Leaving directory 'D:/xsdf32bit/qtactiveqt/src/activeqt/container'
      Makefile:52: recipe for target 'release-all' failed
      mingw32-make[4]: *** [release-all] Error 2
      mingw32-make[4]: *** Waiting for unfinished jobs....

      mingw32-make[5]: Leaving directory 'D:/xsdf32bit/qtactiveqt/src/activeqt/container'
      Makefile:38: recipe for target 'debug-all' failed
      mingw32-make[4]: *** [debug-all] Error 2
      mingw32-make[4]: Leaving directory 'D:/xsdf32bit/qtactiveqt/src/activeqt/container'
      Makefile:69: recipe for target 'sub-container-make_first-ordered' failed
      mingw32-make[3]: *** [sub-container-make_first-ordered] Error 2
      mingw32-make[3]: Leaving directory 'D:/xsdf32bit/qtactiveqt/src/activeqt'
      Makefile:39: recipe for target 'sub-activeqt-make_first-ordered' failed
      mingw32-make[2]: *** [sub-activeqt-make_first-ordered] Error 2
      mingw32-make[2]: Leaving directory 'D:/xsdf32bit/qtactiveqt/src'
      Makefile:41: recipe for target 'sub-src-make_first' failed
      mingw32-make[1]: *** [sub-src-make_first] Error 2
      mingw32-make[1]: Leaving directory 'D:/xsdf32bit/qtactiveqt'
      makefile:322: recipe for target 'module-qtactiveqt-make_first' failed

      The same Redefinition Errors come up with MinGW x64 as well.

      When I add the Qt Configure Parameter '-no-warnings-are-errors', it compiles until libQt5AxBase.a and then the above Error comes up.

      The Strange thing is: I could compile the Qt 5.5 RC from Source just fine with the mentioned Compilers below.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            meermusik Oliver Niebuhr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes