new problem with build lmctfy

55 views
Skip to first unread message

zjj...@gmail.com

unread,
Nov 13, 2013, 11:40:40 PM11/13/13
to lmc...@googlegroups.com
this is error message:

cpu_resource_handler.cc:(.text+0x3b09): undefined reference to `google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)'
cpu_resource_handler.cc:(.text+0x3b3c): undefined reference to `google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)'
collect2: error: ld returned 1 exit status


I build on debian3.2.41 with gcc4.7.2 and g++4.7.2.

Victor Marmol

unread,
Nov 14, 2013, 12:03:44 AM11/14/13
to zjj...@gmail.com, lmc...@googlegroups.com
What is the gcc line being invoked?

Also, what is the output of: 

pkg-config --cflags --libs protobuf



--
You received this message because you are subscribed to the Google Groups "lmctfy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lmctfy+un...@googlegroups.com.
To post to this group, send email to lmc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lmctfy/347c2fff-a2c9-4272-874c-69e73e9a69c1%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

朱涧江

unread,
Nov 14, 2013, 12:13:25 AM11/14/13
to Victor Marmol, lmc...@googlegroups.com
It works!Thanks!
I have created a new folder to place lib file,modify PATH and CXX_FLAG,but forget export PKG_CONFIG_PATH.....


2013/11/14 Victor Marmol <vma...@google.com>



--
各种感谢~
朱涧江
tel:15522571266
Reply all
Reply to author
Forward
0 new messages