RE: problem with compiling the testsrc under solaris

"Colestock, Robert" <[email protected]> Wed, 5 Dec 2001 08:39:49 -0500
Newsgroups gmane.ietf.sfl
Message-ID <[email protected]>
Wooce:

I have checked the Makefile in the ./SMIME/testsrc/hilevel directory and
could not find any uncommented references to -lsmcommon, it is obsolete.
The makefile as-is does successfully build autoHi on both Linux and
Solaris; I am assuming you had to modify the Makefile for some reason.
The autoHi program does not reference the -lsm_frfee3 library (you will
need it if you attempt to use this functionality, but it is dynamically
loaded, not directly linked by autoHi).  The -lsm_Free3 library is
referenced by the autoAlg image, which does directly link to the crypto
library.

You may already be doing this, but...  Have you performed the "make
setup" in the ./SMIME root directory?  This command should build the
individual Makefile(s) from the Makefile.in delivered sources.

If you need the sm_free3 library, you will need to download the
smCTIR2.0.tar.gz file from the same site as the smimeR2.0.tar.gz
archive.  You will also need the crypto++ 4.1 library as described on
the web page and the readme file(s).  The sm_free3 Makefile will build a
shared object on Unix/Linux (.so file) to be loaded by the autoHi test
program.  The ./SMIME/test/LoginsAlld.cfg file designates the .so file
to load and the startup parameters (usually a PKCS12 file containing a
certificate and private key).

Bob Colestock
VDA

-----Original Message-----
From: wooce [mailto:[email protected]]
Sent: Wednesday, December 05, 2001 2:20 AM
To: [email protected]
Subject: problem with compiling the testsrc under solaris



hi,
    I downloaded the latest  SFL2.0 source code and have compiled most
of
the parts success.
but there's a problem with compiling testsrc,  see below:

/home/wooce/SMP/SMIME/testsrc/hilevel>make
g++ -o autoHi
sm_Autohi.o -L../../lib -L../../../SMPDist/util/VDASnacc/cpplib/li
b -L../../../SMPDist/cml/lib  -L../../libcert -L../../libCtilMgr
-lsmutil -l
smfr
ee3 -lsmcommon -lcrypt -lsm -lasn1c++ -lsocket -lsocket
ld: fatal: library -lsmfree3: not found
ld: fatal: library -lsmcommon: not found
ld: fatal: File processing errors. No output written to autoHi
collect2: ld returned 1 exit status
make: *** [autoHi] Error 1

where i can find the source to make the  libsmfree3.a   and
libsmcommon.a
library?

thank you and have a nice day,
Wooce.