[protobuf] shared library opened with dlopen, crash in google::protobuf::MessageFactory::InternalRegisterGeneratedFile

2010-01-15 Thread Cosmin Cremarenco
Hi all I'm on Solaris 10 x86, Sun Studio 12.1, protobuf 2.1.0. I think this is linked to Issue 128: http://code.google.com/p/protobuf/issues/detail?id=128 I'm doing dlopen/dlclose/dlopen on a shared library that contains pb generated classes. Given the words of advice in Issue 128 I configured wi

Re: zero_copy_stream_unittest.cc doesn't compile with msvc 7.1/2003

2009-07-07 Thread Cosmin Cremarenco
It is 1310 On Jul 6, 7:49 pm, Kenton Varda wrote: > What's the _MSC_VER for that version? > On Mon, Jul 6, 2009 at 10:37 AM, Cosmin Cremarenco < > > > > cosmin.cremare...@gmail.com> wrote: > > > It is Visual Studio 2003 - Version 7.1.6030. > > I think

Re: zero_copy_stream_unittest.cc doesn't compile with msvc 7.1/2003

2009-07-06 Thread Cosmin Cremarenco
n Mon, Jul 6, 2009 at 7:27 AM, Cosmin Cremarenco < > > > > cosmin.cremare...@gmail.com> wrote: > > > Hi > > > When compiling zero_copy_stream_unittest.cc from the last version > > 2.1.0 msvc complains about the > > type "_invalid_parameter_h

zero_copy_stream_unittest.cc doesn't compile with msvc 7.1/2003

2009-07-06 Thread Cosmin Cremarenco
Hi When compiling zero_copy_stream_unittest.cc from the last version 2.1.0 msvc complains about the type "_invalid_parameter_handler" (I don't think it is supported in 7.1): Compiling... zero_copy_stream_unittest.cc \tmp\protobuf-2.1.0-vc71\src\google\protobuf\io \zero_copy_stream_unittest.cc(475

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

Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-19 Thread cosmin . cremarenco
Hi I'm running into some issues when compiling (more exactly linking) protobuf 2.0.3. Thanks in advance for any help. Cosmin CXX=/nettools/sunstudio/sunstudio11/SUNWspro/bin/CC CC=/nettools/ sunstudio/sunstudio11/SUNWspro/bin/cc ./configure --prefix=/src/work/ mw/protobuf-2.0.3-sunstudio11-buil