Re: More Build Errors: after 2.01 RSA includes: PKCSMAIN.C
[email protected] Fri, 13 Nov 1998 10:35:58 -0500
| Newsgroups | gmane.ietf.pfl |
|---|---|
| Message-ID | <[email protected]> |
The errors relate to a file called d:\jonah\src\vsc\pkcs11f.h. This file isn't part of the Jonah snapshot. The RSA header files are supposed to be copied into \src\include. I guess that somehow you have a previous version of the RSA headers in your \src\vsc directory. Try deleting any copies of the RSA headers from that directory and starting the build again (do a build clean first). If that doesn't work, you may have somehow corrupted your source tree, and you should restore it from the .ZIP file. Even when you fix this problem, however, you'll run into problems further on if you're using VC6.0. The build instructions say to use VC5, and we know that the current sources don't build using VC6. We're hoping to release a new snapshot soon that will include a workaround for the VC6 problem, but to build the initial snapshot you must use V5. John "John Wiley" <[email protected]>@imc.org on 11/12/98 06:43:02 PM Sent by: [email protected] To: <[email protected]> cc: Subject: More Build Errors: after 2.01 RSA includes: PKCSMAIN.C Mary was right about carefully selecting the 2.01 version of the RSA includes. I resolved the earlier errors and found a strange and wonderful new one... I can't believe I'm the only one who has run into the following: Compiling... pkcsmain.c d:\jonah\src\vsc\pkcs11f.h(20) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(30) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(39) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(49) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(63) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(74) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(85) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(97) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(109) : error C2091: function returns function.... It stops after 100 errors. All from the same include file. I am not familiar with the type of function call referenced in the pkcs11f.h file that is causing the error. Example of error: /* C_Initialize initializes the Cryptoki library. */ CK_PKCS11_FUNCTION_INFO(C_Initialize) #ifdef CK_NEED_ARG_LIST ( CK_VOID_PTR pInitArgs /* if this is not NULL_PTR, it gets * cast to CK_C_INITIALIZE_ARGS_PTR * and dereferenced */ ); <----error line #endif A function call to CK_PKCS11_FUNCTION_INFO passing paramter (C_Initialize) followed conditionally by another input parameter? VC++ does not buy it. Running VC++ V6.0, enterprise edition. Recent install. Am I missing something? Regards, John Wiley p.s. I isolated PKCSMAIN.C and recompiled for illustration. The BUILD gave me the exact same errors. No re-invention of process. Mary was right about carefully selecting the 2.01 version of the RSA includes. I resolved the earlier errors and found a strange and wonderful new one... I can't believe I'm the only one who has run into the following: Compiling... pkcsmain.c d:\jonah\src\vsc\pkcs11f.h(20) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(30) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(39) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(49) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(63) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(74) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(85) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(97) : error C2091: function returns function d:\jonah\src\vsc\pkcs11f.h(109) : error C2091: function returns function.... It stops after 100 errors. All from the same include file. I am not familiar with the type of function call referenced in the pkcs11f.h file that is causing the error. Example of error: /* C_Initialize initializes the Cryptoki library. */ CK_PKCS11_FUNCTION_INFO(C_Initialize) #ifdef CK_NEED_ARG_LIST ( CK_VOID_PTR pInitArgs /* if this is not NULL_PTR, it gets * cast to CK_C_INITIALIZE_ARGS_PTR * and dereferenced */ ); <----error line #endif A function call to CK_PKCS11_FUNCTION_INFO passing paramter (C_Initialize) followed conditionally by another input parameter? VC++ does not buy it. Running VC++ V6.0, enterprise edition. Recent install. Am I missing something? Regards, John Wiley p.s. I isolated PKCSMAIN.C and recompiled for illustration. The BUILD gave me the exact same errors. No re-invention of process.
$RFC822.eml
(application/octet-stream, 7.4 KB) - not displayed