It looks like the protobuf runtime is not available when you compile generated pb.cc file. Can you double check if libprotobuf is available for your linker?
On Tuesday, March 21, 2017 at 7:23:54 AM UTC-7, Doug Lewis wrote: > > When I'm making my application in Eclipse I get the following error during > the link step: > > Invoking: Cross G++ Linker > arm-uclinuxeabi-g++ -L../../myCommon/Debug -L../../myProtoBuffLib/Debug > -L../../myCommon/pbLibs -L"/home/wsi/linux-cortexm-2.0.0/A2F/root/usr/lib" > -o "lStat" ./src/deviceCommonStat.o ./src/geMsgObjects.o ./src/gmuStat.o > ./src/gruStat.o ./src/lStat.o ./src/lmuStat.o ./src/moteStat.o -lmyCommon > -lmyProtoBuffLib -lz -lprotobuf-lite > ../../myProtoBuffLib/Debug/libwsiProtoBuffLib.a(common.pb.o): In function > `GroundEquipmentInfo::MergeFrom(GroundEquipmentInfo const&)': > /home/wsi/RT3_Bare/LMU/wsiProtoBuffLib/Debug/../src/common.pb.cc:313: > undefined reference to `google::protobuf::internal::MergeFromFail(char > const*, int)' > > This same code builds successfully, using a gnu cross-compiler, on Windows > using Eclipse. > > Thanks, > Doug > > > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
