Implementing protobuf in symbian

83 views
Skip to first unread message

anup

unread,
May 31, 2010, 8:21:39 AM5/31/10
to Protocol Buffers
Hi

I have been working on protobufs since a week as to how implement it
on symbian but I am still not able to solve it. Getting some
undefineed errors which are surely for libraries missing. Java lib was
easily available but in symbian have not found yet. Or if any
alternative solution please suggest.

Thanks in advance

Jason Hsueh

unread,
Jun 1, 2010, 12:35:26 PM6/1/10
to anup, Protocol Buffers
Can you provide more details? What commands are you running, and what are your errors? In your previous thread it sounded like you were using C++, but now you mention Java - which language are you trying to use? Also, are you attempting to use the lite library or the full library? It seems most users have gone with the lite runtime.


--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.


anup

unread,
Jun 2, 2010, 5:37:21 AM6/2/10
to Protocol Buffers
Hi

I am getting undefined symbol error for mutex implementations .


Undefined symbol: 'void
google::protobuf::internal::Mutex::Unlock(void) (?
Unlock@Mutex@internal@protobuf@google@@QAEXXZ)' testapplication
Unknown C/C++ Problem

Undefined symbol: 'void google::protobuf::internal::Mutex::Lock(void)
(?Lock@Mutex@internal@protobuf@google@@QAEXXZ)' testapplication
Unknown C/C++ Problem

Undefined symbol: 'google::protobuf::internal::Mutex::Mutex(void) (??
0Mutex@internal@protobuf@google@@QAE@XZ)' testapplication Unknown C/C+
+ Problem

Undefined symbol: 'google::protobuf::internal::Mutex::~Mutex(void) (??
1Mutex@internal@protobuf@google@@QAE@XZ)' testapplication Unknown C/C+
+ Problem

Undefined symbol: 'void
google::protobuf::internal::Mutex::AssertHeld(void) (?
AssertHeld@Mutex@internal@protobuf@google@@QAEXXZ)' testapplication
Unknown C/C++ Problem

How will i implement that.

On Jun 1, 9:35 pm, Jason Hsueh <jas...@google.com> wrote:
> Can you provide more details? What commands are you running, and what are
> your errors? In your previous thread it sounded like you were using C++, but
> now you mention Java - which language are you trying to use? Also, are you
> attempting to use the lite library or the full library? It seems most users
> have gone with the lite runtime.On Mon, May 31, 2010 at 5:21 AM, anup <anup007s...@gmail.com> wrote:
> > Hi
>
> > I have been working on protobufs since a week as to how implement it
> > on symbian but I am still not able to solve it. Getting some
> > undefineed errors which are surely for libraries missing. Java lib was
> > easily available but in symbian have not found yet. Or if any
> > alternative solution please suggest.
>
> > 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 prot...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > protobuf+u...@googlegroups.com<protobuf%2Bunsu...@googlegroups.com>
> > .

Evan Jones

unread,
Jun 2, 2010, 7:37:00 AM6/2/10
to anup, Protocol Buffers
anup wrote:
> I am getting undefined symbol error for mutex implementations .

You need to link with libprotobuf_lite.a or libprotobuf.a.

The Mutex class is defined in src/google/protobuf/stubs/common.cc. This
suggests you are not linking with the protocol buffer runtime library.

Hope this helps,

Evan

--
Evan Jones
http://evanjones.ca/

Reply all
Reply to author
Forward
0 new messages