Hi, everyone! I'm getting /undefined reference to `_Unwind_Resume'/ error when linking example program adressbok from C++ tutorial. I'm using MinGw g++ (GCC) 4.6.2 compiler on windows7 platform and protobuf 2.4.1. As i'm informd this should be incompatibility problem - protobuf library 2.4.1 was probably compiled with different compiler. Has every one tried to compile with this version of compiler? With best regards! --------------------Configuration: PB_list_person - Debug-------------------- Linking... C:\MinGWStudio\Exercises\PB_list_person\Debug\list_person.o: In function `main': C:\MinGWStudio\Exercises\PB_list_person\list_person.cc:49: undefined reference to `_Unwind_Resume' C:\MinGWStudio\Exercises\PB_list_person\Debug\list_person.o: In function `ZNK6google8protobuf8internal20RepeatedPtrFieldBase3GetINS0_16RepeatedPtrFieldIN8tutorial18Person_PhoneNumberEE11TypeHandlerEEERKNT_4TypeEi': c:\mingwstudio\mingw\bin\..\lib\gcc\mingw32\4.6.2\..\..\..\..\include\google\protobuf\repeated_field.h:659: undefined reference to `_Unwind_Resume' C:\MinGWStudio\Exercises\PB_list_person\Debug\list_person.o: In function `ZNK6google8protobuf8internal20RepeatedPtrFieldBase3GetINS0_16RepeatedPtrFieldIN8tutorial6PersonEE11TypeHandlerEEERKNT_4TypeEi': c:\mingwstudio\mingw\bin\..\lib\gcc\mingw32\4.6.2\..\..\..\..\include\google\protobuf\repeated_field.h:659: undefined reference to `_Unwind_Resume' C:\MinGWStudio\Exercises\PB_list_person\Debug\addressbook.pb.o: In function `ZN8tutorial39protobuf_AssignDesc_addressbook_2eprotoEv': C:\MinGWStudio\Exercises\PB_list_person\Lib\addressbook.pb.cc:38: undefined reference to `_Unwind_Resume' C:\MinGWStudio\Exercises\PB_list_person\Lib\addressbook.pb.cc:39: undefined reference to `_Unwind_Resume' C:\MinGWStudio\Exercises\PB_list_person\Debug\addressbook.pb.o:C:\MinGWStudio\Exercises\PB_list_person\Lib\addressbook.pb.cc:57: more undefined references to `_Unwind_Resume' follow collect2: ld returned 1 exit status
-- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To view this discussion on the web visit https://groups.google.com/d/msg/protobuf/-/tx4fwKgHi94J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
