Build failure in 1.0.1k on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)
                                {
#ifdef CFLAGS
                                return(cflags);
#else
                                return("compiler: information not available");
#endif
                                }

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.

Graeme Perrow

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150108/18ba2626/attachment.html>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux