Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium
New issue 279 by nagy.att...@gmail.com: 2.4.0a fails to compile on Red Hat
Enterprise Linux AS release 4 (Nahant Update 2)
http://code.google.com/p/protobuf/issues/detail?id=279
What steps will reproduce the problem?
1. make protobuf-2.4.0a on RHEL ASr4
What is the expected output? What do you see instead?
# ./configure
# make
make[2]: Entering directory `/home/accprov/tmp/protobuf-2.4.0a/src'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual
-Wno-sign-compare -O2 -g -DNDEBUG -MT descriptor.lo -MD -MP
-MF .deps/descriptor.Tpo -c -o descriptor.lo `test
-f 'google/protobuf/descriptor.cc' ||
echo './'`google/protobuf/descriptor.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -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 -fPIC -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
What version of the product are you using? On what operating system?
2.4.0a, Red Hat Enterprise Linux AS release 4 (Nahant Update 2)
Please provide any additional information below.
# gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
--
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.