Hmm, a lovely ICE in gcc. You might try filing a bug with them or checking
to see if there are known issues with Mingw32's gcc. I don't know of an easy
way to omit python support. A quick hack would be to just modify
python_generator.cc to be empty, which would hopefully get rid of the error.

On Wed, Sep 15, 2010 at 2:22 PM, Thomas Wrobel <darkfl...@gmail.com> wrote:

> alternatively, how to skip python compiling would also do I think...I
> just need the c++
>
> On 15 September 2010 22:23, ThomasWrobel <darkfl...@gmail.com> wrote:
> > I'm struggling to compile 2.3.0
> > I'm using Mingw32.
> > The first issue I came across was this one;
> >
> > http://code.google.com/p/protobuf/issues/detail?id=155
> >
> > I followed the advice and got further, but now I'm getting;
> >
> > "$ make check
> > Making check in .
> > make[1]: Entering directory `/c/qt/protobuf-2.3.0'
> > make  check-local
> > make[2]: Entering directory `/c/qt/protobuf-2.3.0'
> > Making lib/libgtest.a lib/libgtest_main.a in gtest
> > make[3]: Entering directory `/c/qt/protobuf-2.3.0/gtest'
> > make[3]: `lib/libgtest.la' is up to date.
> > make[3]: `lib/libgtest_main.la' is up to date.
> > make[3]: Leaving directory `/c/qt/protobuf-2.3.0/gtest'
> > make[2]: Leaving directory `/c/qt/protobuf-2.3.0'
> > make[1]: Leaving directory `/c/qt/protobuf-2.3.0'
> > Making check in src
> > make[1]: Entering directory `/c/qt/protobuf-2.3.0/src'
> > /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -
> > I..     -
> > Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -
> > DNDEBUG -MT
> > python_generator.lo -MD -MP -MF .deps/python_generator.Tpo -c -o
> > python_generato
> > r.lo `test -f 'google/protobuf/compiler/python/python_generator.cc' ||
> > echo './'
> > `google/protobuf/compiler/python/python_generator.cc
> > libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -
> > Woverload
> > ed-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT python_generator.lo -
> > MD -MP -MF
> >  .deps/python_generator.Tpo -c google/protobuf/compiler/python/
> > python_generator.
> > cc  -DDLL_EXPORT -DPIC -o .libs/python_generator.o
> > google/protobuf/compiler/python/python_generator.cc: In member
> > function 'void go
> > ogle::protobuf::compiler::python::Generator::PrintEnum(const
> > google::protobuf::E
> > numDescriptor&) const':
> > google/protobuf/compiler/python/python_generator.cc:353:6: internal
> > compiler err
> > or: Segmentation fault
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <http://gcc.gnu.org/bugs.html> for instructions.
> > make[1]: *** [python_generator.lo] Error 1
> > make[1]: Leaving directory `/c/qt/protobuf-2.3.0/src'
> > make: *** [check-recursive] Error 1"
> >
> > ----------------------------
> > Any ideas/help would be appreciated.
> > Trying to get a demo ready for a show on the 18th ;)
> >
> >
> > --
> > 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<protobuf%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<protobuf%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.

Reply via email to