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

RE: free3DLL project building problems

Hello Pierce,

thanks for the tip which helped. However sm_Free3DLL does not compile yet.
Below you will find a step-by-step build process starting from the
downloaded files
from the SFL website. I could resolve some issues myself, but not all.

By the way, will I be able to do anything usefull (security) with only
on my machine, because all (test) projects seem to include make projects for
BOTH sm_free3dll
AND sm_rsadll ??

Here is the build process (1--->15):
1. start from following files:
- smCTIR1.7.tar
- smimeR1.7.tar
- snacc13rnR2.tar
2. extract the 3 files
3. open snacc_builds.dsw workspace
4. build BuildAll.dsp project within snacc_builds
-> build OK
-> BUT, SMPDIST does NOT contain snacc.exe !!
--> had to set the 'compiler.dsp' project Active configuration to 'Debug'
instead of 'Release'
-> rebuild BuildAll.dsp project (no clean)
=> build OK, SMPDIST does contain snacc.exe
5. create directory SMPDist/Algs/crypto++3.1
6. copy crypto++3.1 to SMPDist/Algs/crypto++3.1
7. open cryptest.dsw workspace
8. build cryptlib.dsp project within cryptest
-> build OK
9. open smime.dsw workspace
10. Build GenASN.dsp project
-> build OK
11. Build libsm.dsp project
-> build OK
12. Build libsmutil.dsp project
-> build OK
13. Build libCertDLL.dsp project
-> build OK
14. Build smTestDLL.dsp project
-> build OK
15. Build sm_Free3DLL.dsp project
-> cannot open include file : sm_free3_asn.h, sm_free3_asn.cpp,
sm_vdatypes.h !!
(for some reasons these disappeared along the build way)
--> reextract sm_free3_asn.h, sm_free3_asn.cpp from smCTIR1.7.tar
--> add libcert\asn1 include directory to project
-> compilation errors in : sm_CryptoKeysDH.cpp, sm_CryptoKeysDsa.h,
sm_CryptoKeysFree3Base.cpp, sm_free3.cpp, sm_vda_cbc.cpp
(SEE ATTACHED FILE: sent to you directly, not to the list)
--> REASONS : function name changes in crypto++3.1: Prime()->GetPrime(),
---> changed function naming in sm_CryptoKeysDH.cpp
===> OK
--> REASONS : undefined classes: TripleDES_Encryption, TripleDES_Decryption
--> REASONS : undefined members: outQueue in class VDA_CBCNotPaddedEncryptor
--> REASONS : undefined members: x,y,p,q,g in class CSM_SFLDSAPrivateKey
???????? HOW TO RESOLVE THE 3 ABOVE ?????????

Thanks for helping out,

-----Original Message-----
From: owner-imc-sfl@xxxxxxxxxxxx [mailto:owner-imc-sfl@xxxxxxxxxxxx]On
Behalf Of Leonberger, Pierce
Sent: Thursday, August 03, 2000 7:55 PM
To: 'Maarten Willems'; imc-sfl@xxxxxxx
Subject: RE: free3DLL project building problems


 Did you download smCTIR1.7.tar.gz?  That's the distribution the contains
the CTIL source code.  Including the sm_free3_asn.asn file.

 If this doesn't resolve your problem capture the compiler warnings and
errors from a fresh build and e-mail them to me.

Pierce Leonberger
Wang Government Services, Inc.,
A Getronics Company

-----Original Message-----
From: Maarten Willems [mailto:maarten.willems@xxxxxxxxxxx]
Sent: Thursday, August 03, 2000 10:47 AM
To: imc-sfl@xxxxxxx
Subject: free3DLL project building problems

Hello All,

first of all, I am new to the list, so I hope you'll forgive me
if I bring you the obvious ...

I am trying to compile the SFL1.7 release, but I seem to be missing
the CTIL .asn files. I cannot build e.g. the sm_free3dll project because the
sm_free3_asn.h/cpp files are missing (they could not be generated by the
snacc compiler because there is no .asn file; actually the .
Can I do anything meaningful without having BSAFE and/or Fortezza ?

My current configuration is :
- NT4.0 SP6
- Visual C++6
- SFL1.7 installed and parts of it compiled, except all DLL project related
the CTIL implementations
- SNACC1.3 succesfully compiled (and hence bin+util subdirs in SMPDist dir)
- crypto++3.1 succesfully compiled (in the SMPDist/Algs/crypto++3.1
- NO COMMERCIAL CRYPTO PRODUCTS (no Bsafe, no Fortezza, ...)

Maarten Willems