[
https://issues.apache.org/jira/browse/THRIFT-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996940#comment-12996940
]
Bryan Duxbury commented on THRIFT-151:
--------------------------------------
I applied this patch and tried to build it, but got the following:
{code}
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../.. -I/opt/local/include -I./src -Wall -g -O2 -MT TSSLSocket.lo -MD -MP
-MF .deps/TSSLSocket.Tpo -c -o TSSLSocket.lo `test -f
'src/transport/TSSLSocket.cpp' || echo './'`src/transport/TSSLSocket.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I./src
-Wall -g -O2 -MT TSSLSocket.lo -MD -MP -MF .deps/TSSLSocket.Tpo -c
src/transport/TSSLSocket.cpp -fno-common -DPIC -o .libs/TSSLSocket.o
src/transport/TSSLSocket.cpp:480: error: ‘ulong’ does not name a type
src/transport/TSSLSocket.cpp: In static member function ‘static void
apache::thrift::transport::TSSLSocketFactory::initializeOpenSSL()’:
src/transport/TSSLSocket.cpp:520: error: ‘callbackThreadID’ was not declared in
this scope
src/transport/TSSLSocket.cpp: In function ‘void
apache::thrift::transport::buildErrors(std::string&, int)’:
src/transport/TSSLSocket.cpp:550: error: ‘ulong’ was not declared in this scope
src/transport/TSSLSocket.cpp:550: error: expected `;' before ‘errorCode’
src/transport/TSSLSocket.cpp:554: error: ‘errorCode’ was not declared in this
scope
make[1]: *** [TSSLSocket.lo] Error 1
make: *** [all-recursive] Error 1
{code}
I'm on a Mac. Anything special I should need to do?
> TSSLServerSocket and TSSLSocket implementation
> ----------------------------------------------
>
> Key: THRIFT-151
> URL: https://issues.apache.org/jira/browse/THRIFT-151
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Reporter: Ian Pye
> Attachments: TSSLSocket.cpp.diff, TSSLSocket.h.diff, Thrift.zip,
> ssl-pingli.patch, ssl-redesigned.patch, ssl-test-pingli.patch, ssl.patch,
> thrift-0.6.0-cpp-ssl.patch
>
> Original Estimate: 6h
> Remaining Estimate: 6h
>
> SSL Connections w/ autogenerated self signed x509 certs seem to be the state
> of the art for rpc layers.
> It would be good if there was a C++ implementation of TSocket and
> TServerSocket classes.
> This is similar to the Java issue Thrift 106.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira