Error building run2 from source package in win7
Tue May 24 18:48:00 GMT 2011
On 05/24/2011 12:38 PM, David Sastre wrote:
> From the config.log:
> configure:12737: checking for an ANSI C-conforming const
> configure:12802: gcc -c -Wall -Werror conftest.c >&5
There's your problem.
Autoconf-generated configure scripts do _NOT_ support -Werror; it is too
problematic to ever guarantee that all possible warnings from all
possible gcc versions will always be silenced.
It is permissible to configure without -Werror, and add it later via
'make CFLAGS="-Werror ..."', once configure has found correct results.
But by injecting -Werror too soon into the process, you've made
configure guess a wrong result:
> cc1: warnings being treated as errors
> conftest.c: In function 'main':
> conftest.c:69:10: error: 't' is used uninitialized in this function
> conftest.c:85:23: error: 'b' may be used uninitialized in this function
> configure:12809: result: no
with disastrous consequences on the rest of the project compilation.
Eric Blake email@example.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 619 bytes
Desc: OpenPGP digital signature
More information about the Cygwin