Felix Buenemann created TS-3461:
-----------------------------------
Summary: Max OS X 10.6.8: invalid use of non-static data member
Key: TS-3461
URL: https://issues.apache.org/jira/browse/TS-3461
Project: Traffic Server
Issue Type: Bug
Components: Build
Reporter: Felix Buenemann
Build of current master (3535b30d9225ff17dc9c77ba1b5283334b9ea35c) fails on Max
OS X Snow Leopard 10.6.8. It seems that the problem is code that depends on
C++11 although configure detected that C++11 support is not present:
{quote}
uname -a
Darwin snowleopard-vm.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7
16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
xcodebuild -version
Xcode 4.2
Build version 4C199
llvm-g++ --version
i686-apple-darwin10-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658)
(LLVM build 2336.1.00)
configure
checking whether llvm-g++ supports C++11 features by default... no
checking whether llvm-g++ supports C++11 features with -std=c++11... no
checking whether llvm-g++ supports C++11 features with -std=c++0x... no
configure: disabling features that depend on C++11 support
make
…
P_SSLCertLookup.h: In function 'ssl_ticket_key_block*
ssl_context_enable_tickets(SSL_CTX*, const char*)':
P_SSLCertLookup.h:35: error: invalid use of non-static data member
'ssl_ticket_key_t::key_name'
SSLUtils.cc:571: error: from this location
P_SSLCertLookup.h:35: error: invalid use of non-static data member
'ssl_ticket_key_t::key_name'
SSLUtils.cc:572: error: from this location
P_SSLCertLookup.h:36: error: invalid use of non-static data member
'ssl_ticket_key_t::hmac_secret'
SSLUtils.cc:572: error: from this location
P_SSLCertLookup.h:35: error: invalid use of non-static data member
'ssl_ticket_key_t::key_name'
SSLUtils.cc:573: error: from this location
P_SSLCertLookup.h:36: error: invalid use of non-static data member
'ssl_ticket_key_t::hmac_secret'
SSLUtils.cc:573: error: from this location
P_SSLCertLookup.h:37: error: invalid use of non-static data member
'ssl_ticket_key_t::aes_key'
SSLUtils.cc:573: error: from this location
P_SSLCertLookup.h: In function 'int ssl_callback_session_ticket(SSL*, unsigned
char*, unsigned char*, EVP_CIPHER_CTX*, HMAC_CTX*, int)':
P_SSLCertLookup.h:35: error: invalid use of non-static data member
'ssl_ticket_key_t::key_name'
SSLUtils.cc:1996: error: from this location
P_SSLCertLookup.h:36: error: invalid use of non-static data member
'ssl_ticket_key_t::hmac_secret'
SSLUtils.cc:1999: error: from this location
P_SSLCertLookup.h:35: error: invalid use of non-static data member
'ssl_ticket_key_t::key_name'
SSLUtils.cc:2006: error: from this location
P_SSLCertLookup.h:36: error: invalid use of non-static data member
'ssl_ticket_key_t::hmac_secret'
SSLUtils.cc:2008: error: from this location
make[2]: *** [SSLUtils.o] Error 1
{quote}
Compilation works fine on 5.2.0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)