On Sun, Nov 15, 2009 at 8:12 PM, Jackie <junkang.w...@gmail.com> wrote:

> Yes, it works! Thank you, Kenton :)
> And I got another error report:
>        ./ -I. --cpp_out=.
> sh: ./: Execute permission denied.
> *** Error exit code 126

This can also be fixed by using GNU make instead of your system's make.

> BTW, I noticed lots of warnings printed during the whole process of
> compiling and linking, like this:

It looks like acx_pthread.m4 loops through a set of flags trying to find the
one that makes pthreads work.  One of the things it tries is -mthreads,
which is apparently used by mingw32.  It happens that your compiler does not
fail when given this flag (it only prints a warning), and then apparently
pthreads work correctly by coincidence.  So the script decides to use this

Since it looks like nothing is actually wrong except for some spurious
warnings, I'm not going to look into fixing this myself, but feel free to
send me a patch if you want.

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to