You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Steve Huston (Created) (JIRA)" <ji...@apache.org> on 2012/04/04 22:09:22 UTC

[jira] [Created] (QPID-3932) HA library links to non-existant broker::SignalHandler::shutdown()

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

                 Key: QPID-3932
                 URL: https://issues.apache.org/jira/browse/QPID-3932
             Project: Qpid
          Issue Type: Bug
          Components: Ant Build System
    Affects Versions: 0.17
         Environment: Windows, Visual Studio
            Reporter: Steve Huston


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?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-3932) HA library links to non-existant broker::SignalHandler::shutdown()

Posted by "Steve Huston (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Huston updated QPID-3932:
-------------------------------

    Component/s:     (was: Ant Build System)
                 C++ Broker
    
> HA library links to non-existant broker::SignalHandler::shutdown()
> ------------------------------------------------------------------
>
>                 Key: QPID-3932
>                 URL: https://issues.apache.org/jira/browse/QPID-3932
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.17
>         Environment: Windows, Visual Studio
>            Reporter: Steve Huston
>
> 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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-3932) HA library links to non-existant broker::SignalHandler::shutdown()

Posted by "Chuck Rolke (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chuck Rolke updated QPID-3932:
------------------------------

    Attachment: QPID-3932-shutdown-01.patch

Use the broker's native shutdown() function.
                
> HA library links to non-existant broker::SignalHandler::shutdown()
> ------------------------------------------------------------------
>
>                 Key: QPID-3932
>                 URL: https://issues.apache.org/jira/browse/QPID-3932
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.17
>         Environment: Windows, Visual Studio
>            Reporter: Steve Huston
>         Attachments: QPID-3932-shutdown-01.patch
>
>
> 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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Resolved] (QPID-3932) HA library links to non-existant broker::SignalHandler::shutdown()

Posted by "Steve Huston (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Huston resolved QPID-3932.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.17
         Assignee: Steve Huston

Patch applied at trunk r1309600.
Thanks!
                
> HA library links to non-existant broker::SignalHandler::shutdown()
> ------------------------------------------------------------------
>
>                 Key: QPID-3932
>                 URL: https://issues.apache.org/jira/browse/QPID-3932
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.17
>         Environment: Windows, Visual Studio
>            Reporter: Steve Huston
>            Assignee: Steve Huston
>             Fix For: 0.17
>
>         Attachments: QPID-3932-shutdown-01.patch
>
>
> 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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org