Status: New
Owner: ken...@google.com
Labels: Type-Defect Priority-Medium

New issue 268 by winterko...@gmail.com: C++ code for protobuf-2.4.0a fails to compile on Mac OS X 10.5.8
http://code.google.com/p/protobuf/issues/detail?id=268

What steps will reproduce the problem?
1. Download protobuf-2.4.0a.tar.bz2
2. Unpack it
3. cd protobuf-2.4.0a && ./configure && make


What is the expected output? What do you see instead?

On Mac OS X 10.5.8, this will fail with the following error

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT descriptor.lo -MD -MP -MF .deps/descriptor.Tpo -c google/protobuf/descriptor.cc -fno-common -DPIC -o .libs/descriptor.o google/protobuf/descriptor.cc: In member function ‘virtual const google::protobuf::FieldDescriptor* google::protobuf::DescriptorBuilder::OptionInterpreter::AggregateOptionFinder::FindExtension(google::protobuf::Message*, const std::string&) const’: ./google/protobuf/descriptor.h:1152: error: ‘google::protobuf::internal::Mutex* google::protobuf::DescriptorPool::mutex_’ is private
google/protobuf/descriptor.cc:4341: error: within this context
./google/protobuf/descriptor.h:1152: error: ‘google::protobuf::internal::Mutex* google::protobuf::DescriptorPool::mutex_’ is private
google/protobuf/descriptor.cc:4342: error: within this context
make[2]: *** [descriptor.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


What version of the product are you using? On what operating system?

protobuf-2.4.0a

Mac OS X 10.5.8
Darwin Kernel Version 9.8.0
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)

I got protobuf-2.3.0 to compile fine on the same system previously.


Please provide any additional information below.


--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to