[openssl-dev] [openssl.org #4203] OpenSSL 1.0.2e. Failed build due to (possibly) wrong include of dummytest.c

Anton Prytkov via RT rt at openssl.org
Sat Dec 26 21:36:36 UTC 2015


Maybe that's my English. I'll try to rephrase.
1. When I tried to build openssl, the build process stopped with error 
when compiling file "md2test.c" from "test" directory.
The error was something like "too many decimal points in a number" (I 
don't remember well).
The contents of that file (named "md2test.c") was just a text 
"openssl-1.0.2e/dummytest.c" (without quotes). Nothing before or after 
this string.
The same is for jpaketest.c, md2test.c, rc5test.c.
2. After I changed the content of that three files to "#include 
"dummytest.c" (instead of "openssl-1.0.2e/dummytest.c") I was able to 
successfully build OpenSSL.
P.S. I just checked the file "md2test.c" in openssl-1.0.2e.tar.gz. It's 
a 26-byte long file with "openssl-1.0.2e/dummytest.c" inside.
No "#include <stdio.h>" or anything else.


On 2015-12-27 00:03, Kurt Roeckx via RT wrote:
> On Sat, Dec 26, 2015 at 08:26:24PM +0000, Anton Prytkov via RT wrote:
>> 3. Build fails at c:/openssl/1.0.2e/test/md2test.c, line 1
>> Can not parse.
> It says:
> #include <stdio.h>
>
> Why can't that be parsed?
>
>> 4. Solution:
>> change line 1:
>> openssl-1.0.2e/dummytest.c
>> to:
>> #include "dummytest.c"
> There is no openssl-1.0.2e/dummytest.c file.  There is one in the
> test directory.
>
> Why should it include itself?
>
>
> Kurt
>
>




More information about the openssl-dev mailing list