Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-720

outdated .socopy is causing undefined reference link error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.3.4
    • 1.3.3
    • General
    • None
    • windows 7 (64bits) - qt creator 3.3.0 - mingw-4.9.1
    • cf6bbadedd707853d1b57fca1237e1449d68d56c

    Description

      in project with dll + application, the dll .socopy folder gets outdated (not same modification date as the one just built)
      This is causing undefined reference when building the exe.

      attached patch 0001 describes a minimal qbs project with dll and application
      attached patch 0002 adds another symbol to the dll API and triggers the bug

      Steps to reproduce:

      • git init
      • git apply 0001-initial-commit.patch
      • build and run
      • git apply 0002-add-another-symbol.patch
      • build

      qbsbug/qbsbug_app/main.cpp:7: undefined reference to `imp__ZN2qb16useAnotherSymbolEv'

      Attachments

        1. 0001-initial-commit.patch
          3 kB
          Remi Thebault
        2. 0002-add-another-symbol.patch
          1 kB
          Remi Thebault
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            rtbo59 Remi Thebault
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes