Hi,

I'm trying to r921591 from
http://gitweb.thrift-rpc.org/?p=thrift.git;a=commit;h=18be88fd2f5c3d297fcd660ee857880e25ff1717on
Mac OSX 10.5.5 by running:
 ./bootstrap.sh
./configure --with-libevent=/opt/local --with-boost=/opt/local
make


The build fails with:
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include
-I./src -Wall -g -O2 -MT Mutex.lo -MD -MP -MF .deps/Mutex.Tpo -c
src/concurrency/Mutex.cpp  -fno-common -DPIC -o .libs/Mutex.o
src/concurrency/Mutex.cpp: In member function ‘bool
apache::thrift::concurrency::Mutex::impl::timedlock(int64_t) const’:
src/concurrency/Mutex.cpp:142: error: ‘pthread_mutex_timedlock’ was not
declared in this scope
src/concurrency/Mutex.cpp: At global scope:
src/concurrency/Mutex.cpp:186: warning: ‘void
apache::thrift::concurrency::init_with_kind(pthread_mutex_t*, int)’ defined
but not used
make[3]: *** [Mutex.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I do have an older version of thrift installed on my machine

-Sanjit

Reply via email to