[ 
https://issues.apache.org/jira/browse/THRIFT-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998105#comment-12998105
 ] 

Rowan Kerr edited comment on THRIFT-1071 at 2/23/11 4:10 PM:
-------------------------------------------------------------

There were a couple configure changes from one of the older ssl patches left 
out of the more recent versions.

Re-running bootstrap.sh and configure did add the correct -lssl flag to LIBS 
for the cpp Makefile for me on Ubuntu.

      was (Author: rkerr):
    There were a couple configure changes from one of the older ssl patches 
left out of the more recent versions, but this doesn't seem to add ssl to the 
libs for the cpp Makefile for me. (Not all that familiar with autotools to be 
honest).
  
> SSL/C++: invalid cast breaks build
> ----------------------------------
>
>                 Key: THRIFT-1071
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1071
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>         Environment: Ubuntu (Thrift CI Server) 
> https://hudson.apache.org/hudson/job/Thrift
> Debian Squeeze
>            Reporter: Roger Meier
>         Attachments: configure-ssl.patch, pthread_t_cast.patch
>
>
> THRIFT-151 breaks the build on Ubuntu and Debian Squeeze
> see https://hudson.apache.org/hudson/job/Thrift/64/console
> {code}
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include -I./src 
> -Wall -g -O2 -MT TSSLSocket.lo -MD -MP -MF .deps/TSSLSocket.Tpo -c 
> src/transport/TSSLSocket.cpp  -fPIC -DPIC -o .libs/TSSLSocket.o
> src/transport/TSSLSocket.cpp: In function 'long unsigned int 
> apache::thrift::transport::callbackThreadID()':
> src/transport/TSSLSocket.cpp:481: error: invalid cast from type 'pthread_t' 
> to type 'long unsigned int'
> make[4]: *** [TSSLSocket.lo] Error 1
> {code}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to