[ 
https://issues.apache.org/jira/browse/QPID-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Huston updated QPID-1867:
-------------------------------

    Description: 
The following errors started happening Tuesday night/Wednesday morning on my 
RHEL 5 system:
g++ -DHAVE_CONFIG_H -I. -I../../../src -I. -Igen -I../../../src/gen -Werror 
-pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
-Woverloaded-virtual -I/usr/include/nspr4 -I -g -O2 -MT 
qpid/sys/ssl/libsslcommon_la-util.lo -MD -MP -MF 
qpid/sys/ssl/.deps/libsslcommon_la-util.Tpo -c 
../../../src/qpid/sys/ssl/util.cpp -fPIC -DPIC -o 
qpid/sys/ssl/.libs/libsslcommon_la-util.o
../../../src/qpid/sys/ssl/util.cpp:29:21: error: pk11pub.h: No such file or 
directory
../../../src/qpid/sys/ssl/util.cpp:30:17: error: ssl.h: No such file or 
directory
../../../src/qpid/sys/ssl/util.cpp:71: error: 'PK11SlotInfo' was not declared 
in this scope
../../../src/qpid/sys/ssl/util.cpp:71: error: expected primary-expression 
before ',' token
../../../src/qpid/sys/ssl/util.cpp:71: error: expected primary-expression 
before 'retry'
../../../src/qpid/sys/ssl/util.cpp:71: error: expected primary-expression 
before 'void'
../../../src/qpid/sys/ssl/util.cpp:71: error: initializer expression list 
treated as compound expression
../../../src/qpid/sys/ssl/util.cpp:72: error: expected ',' or ';' before '{' 
token
../../../src/qpid/sys/ssl/util.cpp:80: error: 'PK11SlotInfo' was not declared 
in this scope
../../../src/qpid/sys/ssl/util.cpp:80: error: expected primary-expression 
before ',' token
../../../src/qpid/sys/ssl/util.cpp:80: error: expected primary-expression 
before 'retry'
../../../src/qpid/sys/ssl/util.cpp:80: error: expected primary-expression 
before 'void'
../../../src/qpid/sys/ssl/util.cpp:80: error: initializer expression list 
treated as compound expression
../../../src/qpid/sys/ssl/util.cpp:81: error: expected ',' or ';' before '{' 
token
../../../src/qpid/sys/ssl/util.cpp:118: error: expected `}' at end of input
../../../src/qpid/sys/ssl/util.cpp:118: error: expected `}' at end of input
../../../src/qpid/sys/ssl/util.cpp:118: error: expected `}' at end of input
make[3]: *** [qpid/sys/ssl/libsslcommon_la-util.lo] Error 1
g++ -DHAVE_CONFIG_H -I. -I../../../src -I. -Igen -I../../../src/gen -Werror 
-pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
-Woverloaded-virtual -I/usr/include/nspr4 -I -g -O2 -MT 
qpid/sys/ssl/libsslcommon_la-SslSocket.lo -MD -MP -MF 
qpid/sys/ssl/.deps/libsslcommon_la-SslSocket.Tpo -c 
../../../src/qpid/sys/ssl/SslSocket.cpp -fPIC -DPIC -o 
qpid/sys/ssl/.libs/libsslcommon_la-SslSocket.o
../../../src/qpid/sys/ssl/SslSocket.cpp:42:21: error: pk11pub.h: No such file 
or directory
../../../src/qpid/sys/ssl/SslSocket.cpp:43:17: error: ssl.h: No such file or 
directory
../../../src/qpid/sys/ssl/SslSocket.cpp:44:17: error: key.h: No such file or 
directory
../../../src/qpid/sys/ssl/SslSocket.cpp: In constructor 
'qpid::sys::ssl::SslSocket::SslSocket()':
../../../src/qpid/sys/ssl/SslSocket.cpp:111: error: 'SSL_ImportFD' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp: In constructor 
'qpid::sys::ssl::SslSocket::SslSocket(qpid::sys::IOHandlePrivate*, 
PRFileDesc*)':
../../../src/qpid/sys/ssl/SslSocket.cpp:121: error: 'SSL_ImportFD' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:122: error: 'SSL_ResetHandshake' was 
not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:122: error: 'SECSuccess' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:123: error: 'SSL_ForceHandshake' was 
not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:123: error: 'SECSuccess' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp: In member function 'void 
qpid::sys::ssl::SslSocket::connect(const std::string&, uint16_t) const':
../../../src/qpid/sys/ssl/SslSocket.cpp:141: error: 'NSS_GetClientAuthData' was 
not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:141: error: 'SSL_GetClientAuthDataHook' 
was not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:141: error: 'SECSuccess' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:142: error: 'SSL_SetURL' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:142: error: 'SECSuccess' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:155: error: 'SSL_ForceHandshake' was 
not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:155: error: 'SECSuccess' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp: In member function 'int 
qpid::sys::ssl::SslSocket::listen(uint16_t, int, const std::string&, bool) 
const':
../../../src/qpid/sys/ssl/SslSocket.cpp:169: error: 'SSL_ImportFD' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:171: error: 'SSL_REQUEST_CERTIFICATE' 
was not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:171: error: 'SSL_OptionSet' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:171: error: 'SECSuccess' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:172: error: 'SSL_REQUIRE_CERTIFICATE' 
was not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:172: error: 'SSL_OptionSet' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:172: error: 'SECSuccess' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:176: error: 'CERTCertificate' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:176: error: 'cert' was not declared in 
this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:176: error: 'PK11_FindCertFromNickname' 
was not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:178: error: 'SECKEYPrivateKey' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:178: error: 'key' was not declared in 
this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:178: error: 'PK11_FindKeyByAnyCert' was 
not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:180: error: 'NSS_FindCertKEAType' was 
not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:180: error: 'SSL_ConfigSecureServer' 
was not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:180: error: 'SECSuccess' was not 
declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:181: error: 'SECKEY_DestroyPrivateKey' 
was not declared in this scope
../../../src/qpid/sys/ssl/SslSocket.cpp:182: error: 'CERT_DestroyCertificate' 
was not declared in this scope
make[3]: *** [qpid/sys/ssl/libsslcommon_la-SslSocket.lo] Error 1



  was:
The following errors started happening Tuesday night/Wednesday morning on my 
RHEL 5 system:
g++ -DHAVE_CONFIG_H -I. -I../../../src -I. -Igen -I../../../src/gen -Werror 
-pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
-Woverloaded-virtual -I/usr/include/nspr4 -I -g -O2 -MT 
qpid/sys/ssl/libsslcommon_la-util.lo -MD -MP -MF 
qpid/sys/ssl/.deps/libsslcommon_la-util.Tpo -c 
../../../src/qpid/sys/ssl/util.cpp -fPIC -DPIC -o 
qpid/sys/ssl/.libs/libsslcommon_la-util.o
../../../src/qpid/sys/ssl/util.cpp:29:21: error: pk11pub.h: No such file or 
directory
../../../src/qpid/sys/ssl/util.cpp:30:17: error: ssl.h: No such file or 
directory
../../../src/qpid/sys/ssl/util.cpp:71: error: 'PK11SlotInfo' was not declared 
in this scope
../../../src/qpid/sys/ssl/util.cpp:71: error: expected primary-expression 
before ',' token
../../../src/qpid/sys/ssl/util.cpp:71: error: expected primary-expression 
before 'retry'
../../../src/qpid/sys/ssl/util.cpp:71: error: expected primary-expression 
before 'void'
../../../src/qpid/sys/ssl/util.cpp:71: error: initializer expression list 
treated as compound expression
../../../src/qpid/sys/ssl/util.cpp:72: error: expected ',' or ';' before '{' 
token
../../../src/qpid/sys/ssl/util.cpp:80: error: 'PK11SlotInfo' was not declared 
in this scope
../../../src/qpid/sys/ssl/util.cpp:80: error: expected primary-expression 
before ',' token
../../../src/qpid/sys/ssl/util.cpp:80: error: expected primary-expression 
before 'retry'
../../../src/qpid/sys/ssl/util.cpp:80: error: expected primary-expression 
before 'void'
../../../src/qpid/sys/ssl/util.cpp:80: error: initializer expression list 
treated as compound expression
../../../src/qpid/sys/ssl/util.cpp:81: error: expected ',' or ';' before '{' 
token
../../../src/qpid/sys/ssl/util.cpp:118: error: expected `}' at end of input
../../../src/qpid/sys/ssl/util.cpp:118: error: expected `}' at end of input
../../../src/qpid/sys/ssl/util.cpp:118: error: expected `}' at end of input
make[3]: *** [qpid/sys/ssl/libsslcommon_la-util.lo] Error 1



> C++ build failure on RHEL 5 starting at about r776144
> -----------------------------------------------------
>
>                 Key: QPID-1867
>                 URL: https://issues.apache.org/jira/browse/QPID-1867
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>    Affects Versions: 0.5
>         Environment: RHEL 5
>            Reporter: Steve Huston
>
> The following errors started happening Tuesday night/Wednesday morning on my 
> RHEL 5 system:
> g++ -DHAVE_CONFIG_H -I. -I../../../src -I. -Igen -I../../../src/gen -Werror 
> -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
> -Woverloaded-virtual -I/usr/include/nspr4 -I -g -O2 -MT 
> qpid/sys/ssl/libsslcommon_la-util.lo -MD -MP -MF 
> qpid/sys/ssl/.deps/libsslcommon_la-util.Tpo -c 
> ../../../src/qpid/sys/ssl/util.cpp -fPIC -DPIC -o 
> qpid/sys/ssl/.libs/libsslcommon_la-util.o
> ../../../src/qpid/sys/ssl/util.cpp:29:21: error: pk11pub.h: No such file or 
> directory
> ../../../src/qpid/sys/ssl/util.cpp:30:17: error: ssl.h: No such file or 
> directory
> ../../../src/qpid/sys/ssl/util.cpp:71: error: 'PK11SlotInfo' was not declared 
> in this scope
> ../../../src/qpid/sys/ssl/util.cpp:71: error: expected primary-expression 
> before ',' token
> ../../../src/qpid/sys/ssl/util.cpp:71: error: expected primary-expression 
> before 'retry'
> ../../../src/qpid/sys/ssl/util.cpp:71: error: expected primary-expression 
> before 'void'
> ../../../src/qpid/sys/ssl/util.cpp:71: error: initializer expression list 
> treated as compound expression
> ../../../src/qpid/sys/ssl/util.cpp:72: error: expected ',' or ';' before '{' 
> token
> ../../../src/qpid/sys/ssl/util.cpp:80: error: 'PK11SlotInfo' was not declared 
> in this scope
> ../../../src/qpid/sys/ssl/util.cpp:80: error: expected primary-expression 
> before ',' token
> ../../../src/qpid/sys/ssl/util.cpp:80: error: expected primary-expression 
> before 'retry'
> ../../../src/qpid/sys/ssl/util.cpp:80: error: expected primary-expression 
> before 'void'
> ../../../src/qpid/sys/ssl/util.cpp:80: error: initializer expression list 
> treated as compound expression
> ../../../src/qpid/sys/ssl/util.cpp:81: error: expected ',' or ';' before '{' 
> token
> ../../../src/qpid/sys/ssl/util.cpp:118: error: expected `}' at end of input
> ../../../src/qpid/sys/ssl/util.cpp:118: error: expected `}' at end of input
> ../../../src/qpid/sys/ssl/util.cpp:118: error: expected `}' at end of input
> make[3]: *** [qpid/sys/ssl/libsslcommon_la-util.lo] Error 1
> g++ -DHAVE_CONFIG_H -I. -I../../../src -I. -Igen -I../../../src/gen -Werror 
> -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
> -Woverloaded-virtual -I/usr/include/nspr4 -I -g -O2 -MT 
> qpid/sys/ssl/libsslcommon_la-SslSocket.lo -MD -MP -MF 
> qpid/sys/ssl/.deps/libsslcommon_la-SslSocket.Tpo -c 
> ../../../src/qpid/sys/ssl/SslSocket.cpp -fPIC -DPIC -o 
> qpid/sys/ssl/.libs/libsslcommon_la-SslSocket.o
> ../../../src/qpid/sys/ssl/SslSocket.cpp:42:21: error: pk11pub.h: No such file 
> or directory
> ../../../src/qpid/sys/ssl/SslSocket.cpp:43:17: error: ssl.h: No such file or 
> directory
> ../../../src/qpid/sys/ssl/SslSocket.cpp:44:17: error: key.h: No such file or 
> directory
> ../../../src/qpid/sys/ssl/SslSocket.cpp: In constructor 
> 'qpid::sys::ssl::SslSocket::SslSocket()':
> ../../../src/qpid/sys/ssl/SslSocket.cpp:111: error: 'SSL_ImportFD' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp: In constructor 
> 'qpid::sys::ssl::SslSocket::SslSocket(qpid::sys::IOHandlePrivate*, 
> PRFileDesc*)':
> ../../../src/qpid/sys/ssl/SslSocket.cpp:121: error: 'SSL_ImportFD' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:122: error: 'SSL_ResetHandshake' was 
> not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:122: error: 'SECSuccess' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:123: error: 'SSL_ForceHandshake' was 
> not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:123: error: 'SECSuccess' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp: In member function 'void 
> qpid::sys::ssl::SslSocket::connect(const std::string&, uint16_t) const':
> ../../../src/qpid/sys/ssl/SslSocket.cpp:141: error: 'NSS_GetClientAuthData' 
> was not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:141: error: 
> 'SSL_GetClientAuthDataHook' was not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:141: error: 'SECSuccess' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:142: error: 'SSL_SetURL' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:142: error: 'SECSuccess' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:155: error: 'SSL_ForceHandshake' was 
> not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:155: error: 'SECSuccess' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp: In member function 'int 
> qpid::sys::ssl::SslSocket::listen(uint16_t, int, const std::string&, bool) 
> const':
> ../../../src/qpid/sys/ssl/SslSocket.cpp:169: error: 'SSL_ImportFD' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:171: error: 'SSL_REQUEST_CERTIFICATE' 
> was not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:171: error: 'SSL_OptionSet' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:171: error: 'SECSuccess' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:172: error: 'SSL_REQUIRE_CERTIFICATE' 
> was not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:172: error: 'SSL_OptionSet' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:172: error: 'SECSuccess' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:176: error: 'CERTCertificate' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:176: error: 'cert' was not declared 
> in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:176: error: 
> 'PK11_FindCertFromNickname' was not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:178: error: 'SECKEYPrivateKey' was 
> not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:178: error: 'key' was not declared in 
> this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:178: error: 'PK11_FindKeyByAnyCert' 
> was not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:180: error: 'NSS_FindCertKEAType' was 
> not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:180: error: 'SSL_ConfigSecureServer' 
> was not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:180: error: 'SECSuccess' was not 
> declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:181: error: 
> 'SECKEY_DestroyPrivateKey' was not declared in this scope
> ../../../src/qpid/sys/ssl/SslSocket.cpp:182: error: 'CERT_DestroyCertificate' 
> was not declared in this scope
> make[3]: *** [qpid/sys/ssl/libsslcommon_la-SslSocket.lo] Error 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to