FW: issues with SFL and Solaris 2.7 SC5.0 Compiler
"Pawling, John" <[email protected]> Thu, 22 Mar 2001 15:13:06 -0500
| Newsgroups | gmane.ietf.sfl |
|---|---|
| Message-ID | <[email protected]> |
-----Original Message----- From: Colestock, Robert Sent: Thursday, March 22, 2001 10:07 AM To: 'Mike Harrison' Cc: Pawling, John Subject: RE: issues with SFL and Solaris 2.7 SC5.0 Compiler Mike: The "./SMIME/alg_libs/Makelib_algs" file should have dependencies for all Unix supported CTILs; simply make the BSafe CTIL, ignoring the others. TARGETS: libsm_free3 libsm_rsa libsm_fort CHANGE TO TARGETS: libsm_rsa You will need to load the RSA BSafe library into the ./SMPDist/Algs/Bsafe42; it will contain the standard RSA install "library/include" and "library/lib". The SMPDist directory resides parallel with the SMIME directory (and the SNACC, CML, ACL directories, etc.). I will update the documentation to indicate such details more clearly. Bob Colestock VDA -----Original Message----- From: Mike Harrison [mailto:[email protected]] Sent: Tuesday, March 20, 2001 10:22 AM To: 'Colestock, Robert'; '[email protected]' Subject: RE: issues with SFL and Solaris 2.7 SC5.0 Compiler Robert, I've now installed Sun Workshop 6, and after much mucking about with compiler licenses, the changes we discussed are working. I have some more ( relatively trivial ) which I can forward when I get everything compiling OK. I could really do with some specialist knowledge here. Can you point me to instructions to build enough of the SFL libraries to allow me to do SMIME encryption and decryption with BSAFE and BSAFE only ?. I've gone through the SMP components manual date 9 Feb 2K1 and the readmes in the release but not found instructions on how to partition the builds between different crypto libraries. cheers Mike -----Original Message----- From: Colestock, Robert [mailto:[email protected]] Sent: 16 March 2001 16:45 To: '[email protected]' Cc: Pawling, John Subject: RE: issues with SFL and Solaris 2.7 SC5.0 Compiler Sorry about the empty response. Michael: I'm sorry I may not be of much help without your specific compiler here. You are fighting some naive class design issues from before I understood the class inheritance. I have seen this issue before, the fix was to simply make the multiple inherited component "virtual"; I hope this fixes your problem. Try changing the definition in "sm_api.h": class CSM_MsgToSign : public CSM_CommonData, protected CSM_DataToSign to class CSM_MsgToSign : virtual public CSM_CommonData, protected CSM_DataToSign class CSM_MsgToVerify : public CSM_CommonData, public CSM_DataToVerify to class CSM_MsgToVerify : virtual public CSM_CommonData, public CSM_DataToVerify Please let me know if this works, I will update our baseline. It should also work on the 1st problem you mention (what was your fix for this error?). Bob Colestock VDA. -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Friday, March 16, 2001 9:59 AM To: [email protected] Subject: issues with SFL and Solaris 2.7 SC5.0 Compiler Dear all I am attempting to build the SFL S/MIME install on a Solaris 2.7 box using Sun Workshop 5.0 However there seems to be a few issues in terms of : iostream/istream/ostream header includes need updating in asn_config.h where the std names have changed. The multiple inheritance of CSM_CommonData in SMIME/include/sm_api.h into CSM_MsgToAddSignatures via CSM_MsgToVerify and CSM_MsgToSign causes compilation errors due to ? strict C++ checking causing the compiler to look for CSM_CommonData::UpdateEncodedBlob( CSM_MsgToAddSignatures, CSMContent*) methods rather than resolve the CSM_CommonData::UpdateEncodedBlob( CSM_Content* ) method as expected. And this is just in the header file for the ctors. There is also the issue where I've had to insert the (int) cast in sm_Attr.cpp: 1557 & (?)950-ish because of stricter type checking. e.g. in 'if(*SnaccRR.receiptsFrom->allOrFirstTier == (int) AllOrFirstTier::firstTierRecipients)' I'm flagging these because they may also turn up when the newer version of gcc arrives this year. Currently I'm stuck on a compiler error in the same vein which throws out *pCSM_MsgToAddSignatures.MsgToSign::SetContentBlob( CSM_Content* ) which again the compiler refuses to acknowledge - looking for a method of signature 'MsgToSign::SetContentBlob( CSM_MsgToAddSignatures, CSM_Content* )'; All these are from the latest releases from the SFL site - version 1.9 etc. I'd be appreciative of any help here.. Cheers Mike