Did you include the output of "pkg-config --libs protobuf" in your
linker command line?

Chris

On Sat, 24 Sep 2011 03:18:16 -0700 (PDT)
"$ag@r Takawane [B-08]" <sagartakaw...@gmail.com> wrote:

> Hi all,
> 
> I have compiled protobuf code(.cc generated by protoc), its
> wrapper(.cc & c files) and made .a librabry..
> while compiling i have provided prototypes of each refered function.
> but while buiding executable linkable final outpu file I am facing
> problem ....
> getting lot of errors like undefined reference to
> `google::protobuf::Message::SpaceUsed() const'...
> undefined reference to `typeinfo for google::protobuf::Message'
> undefined reference to
> `google::protobuf::Message::DiscardUnknownFields()'
> ....
> plz help me out....
> thanks in advance.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@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.

Reply via email to