[protobuf] Re: Implementing protobuf in symbian

2010-06-02 Thread anup
Hi

I am getting undefined symbol error for mutex implementations .


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

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

Undefined symbol: 'google::protobuf::internal::Mutex::Mutex(void) (??
0mu...@internal@proto...@google@@q...@xz)'  testapplication Unknown 
C/C+
+ Problem

Undefined symbol: 'google::protobuf::internal::Mutex::~Mutex(void) (??
1mu...@internal@proto...@google@@q...@xz)'  testapplication Unknown 
C/C+
+ Problem

Undefined symbol: 'void
google::protobuf::internal::Mutex::AssertHeld(void) (?
asserth...@mutex@inter...@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 proto...@googlegroups.com.
  To unsubscribe from this group, send email to
  protobuf+unsubscr...@googlegroups.comprotobuf%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/protobuf?hl=en.

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



Re: [protobuf] Re: Implementing protobuf in symbian

2010-06-02 Thread Evan Jones

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/

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