Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Monty Taylor
Kenton Varda wrote: > > > On Wed, May 20, 2009 at 10:44 AM, Monty Taylor > wrote: > > Kenton Varda wrote: > > > > > > On Wed, May 20, 2009 at 12:35 AM, > >

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Kenton Varda
On Wed, May 20, 2009 at 10:44 AM, Monty Taylor wrote: > Kenton Varda wrote: > > > > > > On Wed, May 20, 2009 at 12:35 AM, > > wrote: > > > > "./google/protobuf/stubs/once.h", line 114: Warning (Anachronism): > > Formal argument 2 of type extern "C" voi

Re: Cross-compile of Google Protocol Buffers fails

2009-05-20 Thread Kenton Varda
On Wed, May 20, 2009 at 12:15 PM, wrote: > Kenton, > > > > Okay, let's say I build and install GPB on the current machine before > building a cross-compiled version for deployment. When the cross-compiled > build runs which 'protoc' does it use in its testing? Well, given the > option you prov

RE: Cross-compile of Google Protocol Buffers fails

2009-05-20 Thread reid.madsen
Kenton, Okay, let's say I build and install GPB on the current machine before building a cross-compiled version for deployment. When the cross-compiled build runs which 'protoc' does it use in its testing? Well, given the option you provide, it uses the version installed locally and not the c

New Protocol Buffer implementation, Java ME support

2009-05-20 Thread hansjar
Hi everyone, I have just released my project for adding Protocol Buffer support for Java ME. The project site is: http://code.google.com/p/protobuf-javame/. I have just uploaded the project, so documentation is very limited. However, if you would like to test it out please let me know how the exp

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Monty Taylor
Kenton Varda wrote: > > > On Wed, May 20, 2009 at 12:35 AM, > wrote: > > "./google/protobuf/stubs/once.h", line 114: Warning (Anachronism): > Formal argument 2 of type extern "C" void(*)() in call to pthread_once > (_once*, extern "C" void(*)())

Python socket implementation

2009-05-20 Thread Martin
Hi, I've recently uploaded a Python version of Shardul Deo's Java socket implementation of the Goolge Protocol Buffers. Can you update the link to the following:- http://code.google.com/p/protobuf-socket-rpc/ to show that there is a Python version available also. Many thanks. Martin --~--~

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Kenton Varda
On Wed, May 20, 2009 at 12:35 AM, wrote: > "./google/protobuf/stubs/once.h", line 114: Warning (Anachronism): > Formal argument 2 of type extern "C" void(*)() in call to pthread_once > (_once*, extern "C" void(*)()) is being passed void(*)(). This warning seems to be saying that pointers to fun

Re: Protocol buffers and EBCDIC

2009-05-20 Thread Kenton Varda
On what platform do you *compile* code? I'm hoping you compile on an ASCII platform and only need the code to run under EBCDIC. If that's the case, then you do not need to make protoc itself run on EBCDIC, only the code it generates. tokenizer.cc is only used by protoc (to parse proto files) and

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Monty Taylor
cosmin.cremare...@gmail.com wrote: > I'm using libtool v2.2.6 > > To make sure that protobuf always links to stlport I added CXXFLAGS="- > library=stlport4" to the configure command. Well... you shouldn't need to do that, we're forcing that on in configure anyway. :) > At the end I get the same

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread cosmin . cremarenco
I'm using libtool v2.2.6 To make sure that protobuf always links to stlport I added CXXFLAGS="- library=stlport4" to the configure command. At the end I get the same linking errors. Is the below warning from ld meaningful? ld: warning: file /src/work/mw/protobuf-2.0.3-sunstudio11/src/.libs/ libpr

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread cosmin . cremarenco
I have access to sun studio 12 so I tried to compile protobuf 2.1.0 with this version of the compiler. This is the error I get: make all-recursive Making all in . Making all in src source='google/protobuf/descriptor.pb.cc' object='descriptor.pb.lo' libtool=yes \ DEPDIR=.deps depmode=none /bin/ba

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread cosmin . cremarenco
Thanks for your quick replies. I tried to compile protobuf 2.1.0 with sun studio 11, this is what I get: make all-recursive Making all in . Making all in src source='google/protobuf/descriptor_database.cc' object='descriptor_database.lo' libtool=yes \ DEPDIR=.deps depmode=none /bin/bash ../depc