<div><br></div><div><div>seems it's more close to success now, but still failed</div><div><br></div><div><div><br></div><div>make clean</div><div>export protobuf_CFLAGS=-I/home/bigforest/ins_t/include</div><div>export protobuf_LIBS=-L/home/bigforest/ins_t/lib</div><div>export PKG_CONFIG_PATH=/home/bigforest/ins_t/lib/pkgconfig</div><div>./configure --prefix=$HOME/ins_t</div><div>make</div><div><br></div><div>now i am compiling code of 1.2.4</div><div><br></div><div>/home/bigforest/ins_t/include/google/protobuf/stubs/once.h:127: undefined reference to `google::protobuf::GoogleOnceInitImpl(int*, google::protobuf::Closure*)'</div><div>/home/bigforest/ins_t/include/google/protobuf/stubs/once.h:127: undefined reference to `google::protobuf::internal::FunctionClosure0::~FunctionClosure0()'</div><div>../protobufs/libmoshprotos.a(transportinstruction.pb.o): In function `TransportBuffers::Instruction::Clear()':</div><div>/home/bigforest/code/mosh/src/protobufs/transportinstruction.pb.cc:143: undefined reference to `google::protobuf::internal::empty_string_'</div><div>../protobufs/libmoshprotos.a(transportinstruction.pb.o): In function `GoogleOnceInit':</div><div>/home/bigforest/ins_t/include/google/protobuf/stubs/once.h:125: undefined reference to `google::protobuf::internal::empty_string_once_init_'</div><div>../protobufs/libmoshprotos.a(transportinstruction.pb.o): In function `FunctionClosure0':</div><div>/home/bigforest/ins_t/include/google/protobuf/stubs/common.h:869: undefined reference to `vtable for google::protobuf::internal::FunctionClosure0'</div><div>/home/bigforest/ins_t/include/google/protobuf/stubs/common.h:869: undefined reference to `google::protobuf::internal::InitEmptyString()'</div><div>../protobufs/libmoshprotos.a(transportinstruction.pb.o): In function `GoogleOnceInit':</div><div>/home/bigforest/ins_t/include/google/protobuf/stubs/once.h:127: undefined reference to `google::protobuf::GoogleOnceInitImpl(int*, google::protobuf::Closure*)'</div><div>/home/bigforest/ins_t/include/google/protobuf/stubs/once.h:127: undefined reference to `google::protobuf::internal::FunctionClosure0::~FunctionClosure0()'</div><div>../protobufs/libmoshprotos.a(transportinstruction.pb.o): In function `TransportBuffers::Instruction::Clear()':</div><div>/home/bigforest/code/mosh/src/protobufs/transportinstruction.pb.cc:138: undefined reference to `google::protobuf::internal::empty_string_'</div><div>../protobufs/libmoshprotos.a(transportinstruction.pb.o): In function `GetEmptyString':</div><div>/home/bigforest/ins_t/include/google/protobuf/stubs/once.h:127: undefined reference to `google::protobuf::internal::FunctionClosure0::~FunctionClosure0()'</div><div>../protobufs/libmoshprotos.a(transportinstruction.pb.o):(.data.rel.ro._ZTVN16TransportBuffers11InstructionE[vtable for TransportBuffers::Instruction]+0x20): undefined reference to `google::protobuf::MessageLite::InitializationErrorString() const'</div><div>../protobufs/libmoshprotos.a(transportinstruction.pb.o):(.data.rel.ro._ZTVN16TransportBuffers11InstructionE[vtable for TransportBuffers::Instruction]+0x34): undefined reference to `google::protobuf::MessageLite::SerializeWithCachedSizesToArray(unsigned char*) const'</div><div>../protobufs/libmoshprotos.a(transportinstruction.pb.o):(.data.rel.ro._ZTIN16TransportBuffers11InstructionE[typeinfo for TransportBuffers::Instruction]+0x8): undefined reference to `typeinfo for google::protobuf::MessageLite'</div><div>collect2: ld returned 1 exit status</div><div>make[3]: *** [mosh-client] Error 1</div><div>make[3]: Leaving directory `/home/bigforest/code/mosh/src/frontend'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/home/bigforest/code/mosh/src'</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/home/bigforest/code/mosh'</div><div>make: *** [all] Error 2</div></div><div><br></div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------&nbsp;Original&nbsp;------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b>&nbsp;"Anders Kaseorg";&lt;andersk@MIT.EDU&gt;;</div><div><b>Send time:</b>&nbsp;Friday, Jun 13, 2014 2:40 PM</div><div><b>To:</b>&nbsp;"wowmailman"&lt;wowmailman@qq.com&gt;; <wbr></div><div><b>Cc:</b>&nbsp;"mosh-users"&lt;mosh-users@mit.edu&gt;; <wbr></div><div><b>Subject: </b>&nbsp;Re:  ?????? [mosh-users] why i failed to build mosh? i haveinstalledprotobuf, but configure said it cannot find it, why?</div></div><div><br></div>On Fri, 13 Jun 2014, wowmailman wrote:<br>&gt; nice, but something absurd happens, don't know whether it is bug,&nbsp; it is <br>&gt; the CODESET staff, as this github issue described<br><br>That looks like https://github.com/keithw/mosh/issues/502, which has a <br>patch available (not yet merged upstream).<br><br>Anders<br>.<br></div>