You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Philippe Strauss <ph...@philou.ch> on 2011/12/31 15:32:29 UTC

current svn fail to build w gcc-4.5.3

/bin/sh ../../libtool  --tag=CXX   --mode=compile /opt/gnucc/bin/g++ -DHAVE_CONFIG_H -I. -I../..  -I/opt/local/include -I./src  -Wall -g -O2 -MT ThreadManager.lo -MD -MP -MF .deps/ThreadManager.Tpo -c -o ThreadManager.lo `test -f 'src/concurrency/ThreadManager.cpp' || echo './'`src/concurrency/ThreadManager.cpp
libtool: compile:  /opt/gnucc/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I./src -Wall -g -O2 -MT ThreadManager.lo -MD -MP -MF .deps/ThreadManager.Tpo -c src/concurrency/ThreadManager.cpp  -fno-common -DPIC -o .libs/ThreadManager.o
In file included from src/concurrency/ThreadManager.h:26:0,
                 from src/concurrency/ThreadManager.cpp:24:
src/concurrency/Thread.h: In static member function 'static apache::thrift::concurrency::Thread::id_t apache::thrift::concurrency::Thread::get_current()':
src/concurrency/Thread.h:91:58: error: invalid conversion from '_opaque_pthread_t*' to 'apache::thrift::concurrency::Thread::id_t'
make[4]: *** [ThreadManager.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

platform: OSX 10.6.8 x86_64 on an mac air 11" (core2 duo 1.4GHz), here using genuine GNU gcc (whoa almost a rhyme :-)

./configure --prefix=/opt/misc/ --with-c_glib --with-haskell=no --with-php=no --with-ruby=no --with-java=no


...

thrift 0.9.0-dev

Building code generators ..... :

Building C++ Library ......... : yes
Building C (GLib) Library .... : yes
Building Java Library ........ : no
Building C# Library .......... : no
Building Python Library ...... : yes
Building Ruby Library ........ : no
Building Haskell Library ..... : no
Building Perl Library ........ : no
Building PHP Library ......... : no
Building Erlang Library ...... : no
Building Go Library .......... : no

Building TZlibTransport ...... : yes
Building TNonblockingServer .. : yes

Using Python ................. : /opt/local/bin/python

If something is missing that you think should be present,
please skim the output of configure to find the missing
component.  Details are present in config.log.