Hello all. I've tried to compile the newest version of openssl (0.9.8a) but there is some problem. When I try to make the library with BCB4 I get this list of errors:
bcc32 -otmp32\rand_win.obj -Iinc32 -Itmp32 -DWIN32_LEAN_AND_MEAN -q -w-ccc -w-rch -w-pia -w-aus -w-par -w-inl -c -tWC -tWM -DOPENSSL_SYSNAME_WIN32 -DL_ENDIAN -DDSO_WIN32 -D_stricmp=stricmp -D_strnicmp=strnicmp -O2 -ff -fp -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5 -c .\crypto\rand\rand_win.c .\crypto\rand\rand_win.c: Error E2303 .\crypto\rand\rand_win.c 171: Type name expected Error E2451 .\crypto\rand\rand_win.c 454: Undefined symbol 'HEAP32FIRST' in function RAND_poll Error E2379 .\crypto\rand\rand_win.c 454: Statement missing ; in function RAND_poll Error E2140 .\crypto\rand\rand_win.c 455: Declaration is not allowed here in function RAND_poll Error E2140 .\crypto\rand\rand_win.c 456: Declaration is not allowed here in function RAND_poll Error E2140 .\crypto\rand\rand_win.c 457: Declaration is not allowed here in function RAND_poll Error E2140 .\crypto\rand\rand_win.c 458: Declaration is not allowed here in function RAND_poll Error E2140 .\crypto\rand\rand_win.c 459: Declaration is not allowed here in function RAND_poll Error E2140 .\crypto\rand\rand_win.c 461: Declaration is not allowed here in function RAND_poll Error E2140 .\crypto\rand\rand_win.c 462: Declaration is not allowed here in function RAND_poll Error E2140 .\crypto\rand\rand_win.c 463: Declaration is not allowed here in function RAND_poll Error E2140 .\crypto\rand\rand_win.c 464: Declaration is not allowed here in function RAND_poll Error E2140 .\crypto\rand\rand_win.c 465: Declaration is not allowed here in function RAND_poll Error E2140 .\crypto\rand\rand_win.c 466: Declaration is not allowed here in function RAND_poll Error E2451 .\crypto\rand\rand_win.c 472: Undefined symbol 'heap_first' in function RAND_poll Error E2379 .\crypto\rand\rand_win.c 472: Statement missing ; in function RAND_poll *** 16 errors in Compile *** ** error 1 ** deleting tmp32\rand_win.obj I've examined the unit file 'rand_win.c' and at the line 171 I've found this statement: typedef BOOL (WINAPI *HEAP32FIRST)(LPHEAPENTRY32, DWORD, SIZE_T); The previous version of openssl (0.9.8) contains this statement instead (and all goes well): typedef BOOL (WINAPI *HEAP32FIRST)(LPHEAPENTRY32, DWORD, DWORD); I suppose the problem resides in the SIZE_T declaration: this typedef (that is equivalent to a ULONG_PTR typedef) is NOT defined in the header files of the Win32 APIs supplied with BCB4. I can substitute the first typedef with the second but I don't know if this is goof or not. Thanks in advance for the attention. Stefano Gibellini ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
