Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 165 by ph.hu...@gmx.com: can not link for mips architecture http://code.google.com/p/protobuf/issues/detail?id=165 I'm trying to cross compile the sources without success. compiling on the local system Ubuntu X86 with ./configure and make works fine. however for the target it does not. have i forgotten some settings in ./configure? What steps will reproduce the problem? 1.> ./configure CXX=/tools/mipsel-linux_gcc-4.0.2_glibc-2.3.5_headers-2.6.12.1/bin/mips_4KCle-g++ CXXFLAGS=-O3 --host=mips-linux 2.> make What is the expected output? - a compiled and linked library for the target What do you see instead? - compiling successfully, even linking to protobuf.a and protoc.a but when linked to the provided tests or my own project, I get several blocks of multiple definiton errors: .libs/extension_set.o:(.bss+0x8): multiple definition of `std::tr1::placeholders::(anonymous namespace)::_10' .libs/hash.o:(.bss+0x0): first defined here .libs/extension_set.o:(.bss+0xc): multiple definition of `std::tr1::placeholders::(anonymous namespace)::_9' .libs/hash.o:(.bss+0x4): first defined here .libs/extension_set.o:(.bss+0x10): multiple definition of `std::tr1::placeholders::(anonymous namespace)::_8' .libs/hash.o:(.bss+0x8): first defined here .libs/extension_set.o:(.bss+0x14): multiple definition of `std::tr1::placeholders::(anonymous namespace)::_7' .libs/hash.o:(.bss+0xc): first defined here .libs/extension_set.o:(.bss+0x18): multiple definition of `std::tr1::placeholders::(anonymous namespace)::_6' .libs/hash.o:(.bss+0x10): first defined here .libs/extension_set.o:(.bss+0x1c): multiple definition of `std::tr1::placeholders::(anonymous namespace)::_5' .libs/hash.o:(.bss+0x14): first defined here .libs/extension_set.o:(.bss+0x20): multiple definition of `std::tr1::placeholders::(anonymous namespace)::_4' .libs/hash.o:(.bss+0x18): first defined here .libs/extension_set.o:(.bss+0x24): multiple definition of `std::tr1::placeholders::(anonymous namespace)::_3' .libs/hash.o:(.bss+0x1c): first defined here .libs/extension_set.o:(.bss+0x28): multiple definition of `std::tr1::placeholders::(anonymous namespace)::_2' .libs/hash.o:(.bss+0x20): first defined here .libs/extension_set.o:(.bss+0x2c): multiple definition of `std::tr1::placeholders::(anonymous namespace)::_1' .libs/hash.o:(.bss+0x24): first defined here .libs/extension_set.o:(.bss+0x30): multiple definition of `std::tr1::(anonymous namespace)::ignore' .libs/hash.o:(.bss+0x28): first defined here .libs/extension_set.o:(.data+0x0): multiple definition of `_ZN8Internal1XIXT_EE8n_primesE' .libs/hash.o:(.data+0x0): first defined here Any idea what is wrong about it? -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to proto...@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.