Eric Sammons created DISPATCH-137:
-------------------------------------

             Summary: Dispatch Code should be updated to support newer SASL 
calls
                 Key: DISPATCH-137
                 URL: https://issues.apache.org/jira/browse/DISPATCH-137
             Project: Qpid Dispatch
          Issue Type: Bug
         Environment: RHEL 7 x86_64, Project cloned from upstream */trunk
            Reporter: Eric Sammons


Steps to reproduce: 
1. From trunk
2. cmake ..
3. make all

{quote}
Building C object src/CMakeFiles/qpid-dispatch.dir/server.c.o
/var/tmp/workspace/QPID_Dispatch_Build/dispatch/src/server.c: In function 
‘thread_process_listeners’:
/var/tmp/workspace/QPID_Dispatch_Build/dispatch/src/server.c:241:9: error: 
implicit declaration of function ‘pn_sasl_mechanisms’ 
[-Werror=implicit-function-declaration]
         pn_sasl_mechanisms(sasl, config->sasl_mechanisms);
         ^
/var/tmp/workspace/QPID_Dispatch_Build/dispatch/src/server.c:242:9: error: 
implicit declaration of function ‘pn_sasl_server’ 
[-Werror=implicit-function-declaration]
         pn_sasl_server(sasl);
         ^
/var/tmp/workspace/QPID_Dispatch_Build/dispatch/src/server.c:243:9: error: 
implicit declaration of function ‘pn_sasl_allow_skip’ 
[-Werror=implicit-function-declaration]
         pn_sasl_allow_skip(sasl, config->allow_no_sasl);
         ^
/var/tmp/workspace/QPID_Dispatch_Build/dispatch/src/server.c: In function 
‘process_connector’:
/var/tmp/workspace/QPID_Dispatch_Build/dispatch/src/server.c:358:42: error: 
‘PN_SASL_SKIPPED’ undeclared (first use in this function)
                 pn_sasl_outcome(sasl) == PN_SASL_SKIPPED) {
                                          ^
/var/tmp/workspace/QPID_Dispatch_Build/dispatch/src/server.c:358:42: note: each 
undeclared identifier is reported only once for each function it appears in
/var/tmp/workspace/QPID_Dispatch_Build/dispatch/src/server.c: In function 
‘cxtr_try_open’:
/var/tmp/workspace/QPID_Dispatch_Build/dispatch/src/server.c:825:5: error: 
implicit declaration of function ‘pn_sasl_client’ 
[-Werror=implicit-function-declaration]
     pn_sasl_client(sasl);
     ^
cc1: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/qpid-dispatch.dir/server.c.o] Error 1
make[1]: *** [src/CMakeFiles/qpid-dispatch.dir/all] Error 2
make: *** [all] Error 2
{quote}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to