OS & Version:
[r...@localhost root]# cat   /proc/version
Linux version 2.4.20-8smp (bhcomp...@porky.devel.redhat.com) (gcc
version 3.2.2
20030222 (Red Hat Linux 3.2.2-5)) #1 SMP Thu Mar 13 17:45:54 EST 2003


File: protobuf-2.2.0.tar.gz

gcc version :
[r...@localhost root]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/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 --host=i386-
redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

Error:
[r...@localhost protobuf-2.2.0]# make
make  all-recursive
make[1]: Entering directory `/root/protobuf-2.2.0'
Making all in .
make[2]: Entering directory `/root/protobuf-2.2.0'
make[2]: Leaving directory `/root/protobuf-2.2.0'
Making all in src
make[2]: Entering directory `/root/protobuf-2.2.0/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 extension_set.lo -MD -MP -MF .deps/
extension_set.Tpo -c -o extension_set.lo `test -f 'google/protobuf/
extension_set.cc' || echo './'`google/protobuf/extension_set.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-
strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT
extension_set.lo -MD -MP -MF .deps/extension_set.Tpo -c google/
protobuf/extension_set.cc  -fPIC -DPIC
-o .libs/extension_set.o
google/protobuf/repeated_field.h: In member function `void
   google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom(const
   google::protobuf::internal::RepeatedPtrFieldBase&) [with
TypeHandler =
 
google::protobuf::RepeatedPtrField<std::string>::TypeHandler<std::string>]':
google/protobuf/repeated_field.h:765:   instantiated from `void
google::protobuf::RepeatedPtrField<Element>::MergeFrom(const
google::protobuf::RepeatedPtrField<Element>&) [with Element =
std::string]'
google/protobuf/extension_set.cc:595:   instantiated from here
google/protobuf/repeated_field.h:606: no matching function for call to
`
   google::protobuf::internal::RepeatedPtrFieldBase::Get(int&) const'
make[2]: *** [extension_set.lo] Error 1
make[2]: Leaving directory `/root/protobuf-2.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/protobuf-2.2.0'
make: *** [all] Error 2


Is this problem something about gcc version?

--~--~---------~--~----~------------~-------~--~----~
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