[openssl-users] Build failure in 1.0.1k on Windows
graeme.perrow at sap.com
Thu Jan 8 18:54:55 UTC 2015
I just downloaded 1.0.1k and when trying to build it on Windows (using Visual Studio 10.0), I get a compile error:
.\crypto\cversion.c(80) : error C2065: 'cflags' : undeclared identifier
.\crypto\cversion.c(80) : warning C4047: 'return' : 'const char *' differs in levels of indirection from 'int'
The problem is this block in cversion.c:
if (t == SSLEAY_CFLAGS)
return("compiler: information not available");
There is no "cflags" variable anywhere. I suspect this should be "return (CFLAGS);", and making this change to the source does make the compile succeed. I'm not sure how it compiles as-is on Linux but it does.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openssl-users