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

Philippe STRAUSS updated THRIFT-1488:
-------------------------------------

    Attachment: config.log

Hello Jake,

this is using :

  automake @1.11.2_0 (active)
  autoconf @2.68_2 (active)
  pkgconfig @0.26_1 (active)
  boost @1.48.0_4 (active)

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

enabling or disabling c_glib doesn't change anything.
using apple gcc-4.2.1 or genuine gnu gcc 4.5.3 doesn't improve the situation 
either (4.6.2 got an accurate error msg)

I've also restarted with a fresh svn checkout.

the config log is attached.






--
Philippe Strauss
http://www.philou.ch/





                
> src/concurrency/Thread.h:91:58: error: invalid conversion from 'pthread_t 
> {aka _opaque_pthread_t*}' to 'apache::thrift::concurrency::Thread::id_t {aka 
> long long unsigned int}' [-fpermissive]
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1488
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1488
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>    Affects Versions: 0.9
>         Environment: Mac OSX 10.6.8 x86_64, up to date macports, apple gcc 
> 4.2.1, genuine gnu gcc 4.5.3 and 4.6.2
>            Reporter: Philippe STRAUSS
>         Attachments: config.log
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> right after building the generators :
> Making all in lib
> Making all in cpp
> Making all in .
> /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 
> Thrift.lo -MD -MP -MF .deps/Thrift.Tpo -c -o Thrift.lo `test -f 
> 'src/Thrift.cpp' || echo './'`src/Thrift.cpp
> libtool: compile:  /opt/gnucc/bin/g++ -DHAVE_CONFIG_H -I. -I../.. 
> -I/opt/local/include -I./src -Wall -g -O2 -MT Thrift.lo -MD -MP -MF 
> .deps/Thrift.Tpo -c src/Thrift.cpp  -fno-common -DPIC -o .libs/Thrift.o
> libtool: compile:  /opt/gnucc/bin/g++ -DHAVE_CONFIG_H -I. -I../.. 
> -I/opt/local/include -I./src -Wall -g -O2 -MT Thrift.lo -MD -MP -MF 
> .deps/Thrift.Tpo -c src/Thrift.cpp -o Thrift.o >/dev/null 2>&1
> mv -f .deps/Thrift.Tpo .deps/Thrift.Plo
> /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 
> TApplicationException.lo -MD -MP -MF .deps/TApplicationException.Tpo -c -o 
> TApplicationException.lo `test -f 'src/TApplicationException.cpp' || echo 
> './'`src/TApplicationException.cpp
> libtool: compile:  /opt/gnucc/bin/g++ -DHAVE_CONFIG_H -I. -I../.. 
> -I/opt/local/include -I./src -Wall -g -O2 -MT TApplicationException.lo -MD 
> -MP -MF .deps/TApplicationException.Tpo -c src/TApplicationException.cpp  
> -fno-common -DPIC -o .libs/TApplicationException.o
> libtool: compile:  /opt/gnucc/bin/g++ -DHAVE_CONFIG_H -I. -I../.. 
> -I/opt/local/include -I./src -Wall -g -O2 -MT TApplicationException.lo -MD 
> -MP -MF .deps/TApplicationException.Tpo -c src/TApplicationException.cpp -o 
> TApplicationException.o >/dev/null 2>&1
> mv -f .deps/TApplicationException.Tpo .deps/TApplicationException.Plo
> /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 
> VirtualProfiling.lo -MD -MP -MF .deps/VirtualProfiling.Tpo -c -o 
> VirtualProfiling.lo `test -f 'src/VirtualProfiling.cpp' || echo 
> './'`src/VirtualProfiling.cpp
> libtool: compile:  /opt/gnucc/bin/g++ -DHAVE_CONFIG_H -I. -I../.. 
> -I/opt/local/include -I./src -Wall -g -O2 -MT VirtualProfiling.lo -MD -MP -MF 
> .deps/VirtualProfiling.Tpo -c src/VirtualProfiling.cpp  -fno-common -DPIC -o 
> .libs/VirtualProfiling.o
> libtool: compile:  /opt/gnucc/bin/g++ -DHAVE_CONFIG_H -I. -I../.. 
> -I/opt/local/include -I./src -Wall -g -O2 -MT VirtualProfiling.lo -MD -MP -MF 
> .deps/VirtualProfiling.Tpo -c src/VirtualProfiling.cpp -o VirtualProfiling.o 
> >/dev/null 2>&1
> mv -f .deps/VirtualProfiling.Tpo .deps/VirtualProfiling.Plo
> /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 'pthread_t 
> {aka _opaque_pthread_t*}' to 'apache::thrift::concurrency::Thread::id_t {aka 
> long long unsigned int}' [-fpermissive]
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to