1. Qpid
  2. QPID-3932

HA library links to non-existant broker::SignalHandler::shutdown()


    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.17
    • Fix Version/s: 0.17
    • Component/s: C++ Broker
    • Labels:
    • Environment:

      Windows, Visual Studio


      There is a recently started build error on Windows:
      HaBroker.obj : error LNK2019: unresolved external symbol "public: static void __cdecl qpid::broker::SignalHandler::shutdown(void)"

      The missing symbol is in qpid/broker/SignalHandler.(h cpp) which appear to not be meant to be used on Windows. So the normal easy fix of adding a QPID_BROKER_EXTERN won't work. There are two issues:

      1. The qpid/broker/SignalHandler.cpp file is POSIX-specific since it uses signal handlers. Therefore, it should be in qpid/broker/posix, not qpid/broker

      2a. Should HA be building on Windows?

      2. The HaBroker module needs some sort of shutdown mechanism for Windows, probably a Windows equivalent of the above SignalHandler.cpp - note that the windows/QpiddBroker.cpp has this type of shutdown in it. Maybe it should be worked into a form useable by HaBroker?

      Could the experts in these areas comment please?


        Steve Huston created issue -
        Steve Huston made changes -
        Field Original Value New Value
        Component/s C++ Broker [ 12311395 ]
        Component/s Ant Build System [ 12311471 ]
        Chuck Rolke made changes -
        Attachment QPID-3932-shutdown-01.patch [ 12521383 ]
        Steve Huston made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Steve Huston [ shuston ]
        Fix Version/s 0.17 [ 12320179 ]
        Resolution Fixed [ 1 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]


          • Assignee:
            Steve Huston
            Steve Huston
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: