Hi,
I try again with a make check this time and I have some errors :
make uninstall
./configure --host=powerpc-405-linux-gnu CC=powerpc-405-linux-gnu-gcc CXX=powerpc-405-linux-gnu-g++ --with-protoc=protoc
make
make check
=>some errors :
...
...
powerpc-405-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../gtest/include -I../gtest/include -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -DNDEBUG -MT protobuf_test-descriptor_unittest.o -MD -MP -MF .deps/protobuf_test-descriptor_unittest.Tpo -c -o protobuf_test-descriptor_unittest.o `test -f 'google/protobuf/descriptor_unittest.cc' || echo './'`google/protobuf/descriptor_unittest.cc
google/protobuf/descriptor_unittest.cc: In member function `virtual void
google::protobuf::descriptor_unittest::CustomOptions_OptionTypes_Test::TestBody()
':
google/protobuf/descriptor_unittest.cc:2030: warning: cannot pass objects of
non-POD type `struct std::string' through `...'; call will abort at runtime
google/protobuf/descriptor_unittest.cc: In member function `void
google::protobuf::descriptor_unittest::ValidationErrorTest::BuildFileWithErrors(const
std::string&, const std::string&)':
google/protobuf/descriptor_unittest.cc:2314: warning: cannot pass objects of
non-POD type `const struct std::basic_string<char, std::char_traits<char>,
std::allocator<char> >' through `...'; call will abort at runtime
google/protobuf/descriptor_unittest.cc: In member function `virtual void
google::protobuf::descriptor_unittest::DatabaseBackedPoolTest_UnittestProto_Test::TestBody()
':
google/protobuf/descriptor_unittest.cc:3931: warning: cannot pass objects of
non-POD type `struct std::string' through `...'; call will abort at runtime
mv -f .deps/protobuf_test-descriptor_unittest.Tpo .deps/protobuf_test-descriptor_unittest.Po
powerpc-405-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../gtest/include -I../gtest/include -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -DNDEBUG -MT protobuf_test-dynamic_message_unittest.o -MD -MP -MF .deps/protobuf_test-dynamic_message_unittest.Tpo -c -o protobuf_test-dynamic_message_unittest.o `test -f 'google/protobuf/dynamic_message_unittest.cc' || echo './'`google/protobuf/dynamic_message_unittest.cc
mv -f .deps/protobuf_test-dynamic_message_unittest.Tpo .deps/protobuf_test-dynamic_message_unittest.Po
powerpc-405-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../gtest/include -I../gtest/include -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -DNDEBUG -MT protobuf_test-extension_set_unittest.o -MD -MP -MF .deps/protobuf_test-extension_set_unittest.Tpo -c -o protobuf_test-extension_set_unittest.o `test -f 'google/protobuf/extension_set_unittest.cc' || echo './'`google/protobuf/extension_set_unittest.cc
google/protobuf/extension_set_unittest.cc: In member function `virtual void
google::protobuf::internal::<unnamed>::ExtensionSetTest_DynamicExtensions_Test::TestBody()
':
google/protobuf/extension_set_unittest.cc:607: warning: cannot pass objects of
non-POD type `struct std::string' through `...'; call will abort at runtime
mv -f .deps/protobuf_test-extension_set_unittest.Tpo .deps/protobuf_test-extension_set_unittest.Po
powerpc-405-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../gtest/include -I../gtest/include -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -DNDEBUG -MT protobuf_test-generated_message_reflection_unittest.o -MD -MP -MF .deps/protobuf_test-generated_message_reflection_unittest.Tpo -c -o protobuf_test-generated_message_reflection_unittest.o `test -f 'google/protobuf/generated_message_reflection_unittest.cc' || echo './'`google/protobuf/generated_message_reflection_unittest.cc
../gtest/include/gtest/internal/gtest-port.h: In member function `virtual void
google::protobuf::<unnamed>::GeneratedMessageReflectionTest_UsageErrors_Test::TestBody()
':
../gtest/include/gtest/internal/gtest-port.h:683: error: `
testing::internal::RE::RE(const testing::internal::RE&)' is private
google/protobuf/generated_message_reflection_unittest.cc:350: error: within
this context
google/protobuf/generated_message_reflection_unittest.cc:350: error:
initializing temporary from result of `testing::internal::RE::RE(const
char*)'
../gtest/include/gtest/internal/gtest-port.h:683: error: `
testing::internal::RE::RE(const testing::internal::RE&)' is private
google/protobuf/generated_message_reflection_unittest.cc:358: error: within
this context
google/protobuf/generated_message_reflection_unittest.cc:358: error:
initializing temporary from result of `testing::internal::RE::RE(const
char*)'
../gtest/include/gtest/internal/gtest-port.h:683: error: `
testing::internal::RE::RE(const testing::internal::RE&)' is private
google/protobuf/generated_message_reflection_unittest.cc:366: error: within
this context
google/protobuf/generated_message_reflection_unittest.cc:366: error:
initializing temporary from result of `testing::internal::RE::RE(const
char*)'
../gtest/include/gtest/internal/gtest-port.h:683: error: `
testing::internal::RE::RE(const testing::internal::RE&)' is private
google/protobuf/generated_message_reflection_unittest.cc:374: error: within
this context
google/protobuf/generated_message_reflection_unittest.cc:374: error:
initializing temporary from result of `testing::internal::RE::RE(const
char*)'
make[3]: *** [protobuf_test-generated_message_reflection_unittest.o] Error 1
make[3]: Leaving directory `/home/omni/ECC/protobuf-2.4.1/src'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/omni/ECC/protobuf-2.4.1/src'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/omni/ECC/protobuf-2.4.1/src'
make: *** [check-recursive] Error 1
Any support is greatly appreciated!
Best regards,
Tergeist P.