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

CanBus plugins fail to statically link

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.0 RC
    • 5.6.0 RC
    • SerialBus: CAN Bus
    • None

    Description

      seems that building statically linked qt is broken:

      windows:

      > link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /OPT:REF /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='' processorArchitecture=''" /MANIFEST:embed /OUT:..\..\..\bin\canbusutil.exe @C:\Users\developer\AppData\Local\Temp\canbusutil.exe.3388.3853.jom
      > 16-Feb-2016 14:24:02 canbusutil_plugin_import.obj : error LNK2019: unresolved external symbol "struct QStaticPlugin const __cdecl qt_static_plugin_PeakCanBusPlugin(void)" (?qt_static_plugin_PeakCanBusPlugin@@YA?BUQStaticPlugin@@XZ) referenced in function "public: __cdecl StaticPeakCanBusPluginPluginInstance::StaticPeakCanBusPluginPluginInstance(void)" (??0StaticPeakCanBusPluginPluginInstance@@QEAA@XZ)
      > 16-Feb-2016 14:24:02 canbusutil_plugin_import.obj : error LNK2019: unresolved external symbol "struct QStaticPlugin const __cdecl qt_static_plugin_TinyCanBusPlugin(void)" (?qt_static_plugin_TinyCanBusPlugin@@YA?BUQStaticPlugin@@XZ) referenced in function "public: __cdecl StaticTinyCanBusPluginPluginInstance::StaticTinyCanBusPluginPluginInstance(void)" (??0StaticTinyCanBusPluginPluginInstance@@QEAA@XZ)

      osx:

      > Undefined symbols for architecture x86_64:
      > 16-Feb-2016 13:38:21 "qt_static_plugin_PeakCanBusPlugin()", referenced from:
      > 16-Feb-2016 13:38:21 _GLOBAL_sub_I_canbusutil_plugin_import.cpp in canbusutil_plugin_import.o
      > 16-Feb-2016 13:38:21 ld: symbol(s) not found for architecture x86_64
      > 16-Feb-2016 13:38:21 clang: error: linker command failed with exit code 1 (use -v to see invocation)
      > 16-Feb-2016 13:38:21 make[4]: *** [../../../bin/canbusutil] Error 1
      > 16-Feb-2016 13:38:21 make[3]: *** [sub-canbusutil-make_first] Error 2
      > 16-Feb-2016 13:38:21 make[2]: *** [sub-tools-make_first] Error 2

      Attachments

        Issue Links

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

          Activity

            People

              ablasche Alex Blasche
              ablasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes