I've moved to protobufs-2.6.1 and I'm still getting the same errors. After 
looking through the windows logs I got.

Faulting application name: protoc.exe, version: 0.0.0.0, time stamp: 
0x00030000
Faulting module name: libstdc++-6.dll, version: 0.0.0.0, time stamp: 
0x4d278712
Exception code: 0xc0000005
Fault offset: 0x00049858
Faulting process id: 0x1e00
Faulting application start time: 0x01d00cc1bf11d42e
Faulting application path: 
c:\Local_Sean\openlighting\olaWin2\protobuf-2.6.1\src\.libs\protoc.exe
Faulting module path: C:\Windows\system32\libstdc++-6.dll
Report Id: fd633ca1-78b4-11e4-bd4b-002564f7ee13

I don't have a libstdc++-6.dll in system32, but it is in MinGW/bin

Any ideas? Is there just a build flag I need to set somewhere?

On Saturday, November 29, 2014 11:58:09 AM UTC-5, Sean Sill wrote:
>
> I'm not even sure where to start troubleshooting this at! Any pointers 
> would be helpful..
>
> On Tuesday, November 11, 2014 2:15:29 PM UTC-5, Sean Sill wrote:
>>
>> I successful built 2.5 and installed in mingw with an older version 
>> (3.5.4), but recently had to reinstall mingw and am attempting to build 
>> protobufs again.
>>
>> Configure executes fine, and make seems to but there is a final step that 
>> if fails on.
>>
>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall 
>> -Wwrite-strings
>> Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT 
>> python_generator.lo -
>> D -MP -MF .deps/python_generator.Tpo -c 
>> google/protobuf/compiler/python/python_
>> enerator.cc -o python_generator.o >/dev/null 2>&1
>> mv -f .deps/python_generator.Tpo .deps/python_generator.Plo
>> /bin/sh ../libtool --tag=CXX   --mode=link g++ -pthread -Wall 
>> -Wwrite-strings -
>> overloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -version-info 8:0:0 
>> -expor
>> -dynamic -no-undefined  -o libprotoc.la -rpath /usr/local/lib 
>> code_generator.lo
>> command_line_interface.lo plugin.lo plugin.pb.lo subprocess.lo 
>> zip_writer.lo cp
>> _enum.lo cpp_enum_field.lo cpp_extension.lo cpp_field.lo cpp_file.lo 
>> cpp_genera
>> or.lo cpp_helpers.lo cpp_message.lo cpp_message_field.lo 
>> cpp_primitive_field.lo
>> cpp_service.lo cpp_string_field.lo java_enum.lo java_enum_field.lo 
>> java_extensi
>> n.lo java_field.lo java_file.lo java_generator.lo java_helpers.lo 
>> java_message.
>> o java_message_field.lo java_primitive_field.lo java_service.lo 
>> java_string_fie
>> d.lo java_doc_comment.lo python_generator.lo  libprotobuf.la
>> libtool: link: g++ -shared -nostdlib 
>> c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../.
>> /../dllcrt2.o c:/mingw/bin/../lib/gcc/mingw32/4.8.1/crtbegin.o 
>>  .libs/code_gene
>> ator.o .libs/command_line_interface.o .libs/plugin.o .libs/plugin.pb.o 
>> .libs/su
>> process.o .libs/zip_writer.o .libs/cpp_enum.o .libs/cpp_enum_field.o 
>> .libs/cpp_
>> xtension.o .libs/cpp_field.o .libs/cpp_file.o .libs/cpp_generator.o 
>> .libs/cpp_h
>> lpers.o .libs/cpp_message.o .libs/cpp_message_field.o 
>> .libs/cpp_primitive_field
>> o .libs/cpp_service.o .libs/cpp_string_field.o .libs/java_enum.o 
>> .libs/java_enu
>> _field.o .libs/java_extension.o .libs/java_field.o .libs/java_file.o 
>> .libs/java
>> generator.o .libs/java_helpers.o .libs/java_message.o 
>> .libs/java_message_field.
>>  .libs/java_primitive_field.o .libs/java_service.o 
>> .libs/java_string_field.o .l
>> bs/java_doc_comment.o .libs/python_generator.o   
>> ./.libs/libprotobuf.dll.a -Lc:
>> mingw/bin/../lib/gcc/mingw32/4.8.1 -Lc:/mingw/bin/../lib/gcc 
>> -Lc:/mingw/bin/../
>> ib/gcc/mingw32/4.8.1/../../../../mingw32/lib 
>> -Lc:/mingw/bin/../lib/gcc/mingw32/
>> .8.1/../../.. -lstdc++ -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex 
>> -lmsvcrt -l
>> dvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname 
>> -lming
>> ex -lmsvcrt c:/mingw/bin/../lib/gcc/mingw32/4.8.1/crtend.o  -pthread -O2 
>>   -pth
>> ead -o .libs/libprotoc-8.dll -Wl,--enable-auto-image-base -Xlinker 
>> --out-implib
>> -Xlinker .libs/libprotoc.dll.a
>> libtool: link: ar cru .libs/libprotoc.a  code_generator.o 
>> command_line_interfac
>> .o plugin.o plugin.pb.o subprocess.o zip_writer.o cpp_enum.o 
>> cpp_enum_field.o c
>> p_extension.o cpp_field.o cpp_file.o cpp_generator.o cpp_helpers.o 
>> cpp_message.
>>  cpp_message_field.o cpp_primitive_field.o cpp_service.o 
>> cpp_string_field.o jav
>> _enum.o java_enum_field.o java_extension.o java_field.o java_file.o 
>> java_genera
>> or.o java_helpers.o java_message.o java_message_field.o 
>> java_primitive_field.o
>> ava_service.o java_string_field.o java_doc_comment.o python_generator.o
>> libtool: link: ranlib .libs/libprotoc.a
>> libtool: link: ( cd ".libs" && rm -f "libprotoc.la" && cp -p "../
>> libprotoc.la"
>> libprotoc.la" )
>> /bin/sh ../libtool --tag=CXX   --mode=link g++ -pthread -Wall 
>> -Wwrite-strings -
>> overloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -pthread  -o 
>> protoc.exe ma
>> n.o  libprotobuf.la libprotoc.la
>> libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual 
>> -Wno-sig
>> -compare -O2 -g -DNDEBUG -pthread -o .libs/protoc.exe main.o 
>>  ./.libs/libprotob
>> f.dll.a ./.libs/libprotoc.dll.a 
>> /c/Local_Sean/openlighting/ola_windows/protobuf
>> 2.5.0/src/.libs/libprotobuf.dll.a -pthread -L/usr/local/lib
>> oldpwd=`pwd` && ( cd . && $oldpwd/protoc.exe -I. --cpp_out=$oldpwd 
>> google/proto
>> uf/unittest.proto google/protobuf/unittest_empty.proto 
>> google/protobuf/unittest
>> import.proto google/protobuf/unittest_import_public.proto 
>> google/protobuf/unitt
>> st_mset.proto google/protobuf/unittest_optimize_for.proto 
>> google/protobuf/unitt
>> st_embed_optimize_for.proto google/protobuf/unittest_custom_options.proto 
>> googl
>> /protobuf/unittest_lite.proto google/protobuf/unittest_import_lite.proto 
>> google
>> protobuf/unittest_import_public_lite.proto 
>> google/protobuf/unittest_lite_import
>> _nonlite.proto google/protobuf/unittest_no_generic_services.proto 
>> google/protob
>> f/compiler/cpp/cpp_test_bad_identifiers.proto )
>> make[2]: *** [unittest_proto_middleman] Error 255
>> make[2]: Leaving directory 
>> `/c/Local_Sean/openlighting/ola_windows/protobuf-2.5
>> 0/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory 
>> `/c/Local_Sean/openlighting/ola_windows/protobuf-2.5
>> 0'
>> make: *** [all] Error 2
>>
>> What happens is when it attempts to run protoc.exe, I get an instant 
>> "Application has stopped", and then application failed to start 0xc0000005.
>>
>> This happens with:
>> ./configure
>> ./configure --prefix=/mingw
>> ./configure --prefix=`cd /mingw; pwd -W`
>>
>> Any ideas? I'm stuck at this point.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to