building snacc32.lib

Hoa Ly <[email protected]>
Newsgroups gmane.ietf.sfl
Message-ID <[email protected]>
Hi,

I'm trying to build smime.dsw (smimeR1.0) as distributed with MSVC6.0 and
got the following errors:

msvcirtd.lib(MSVCIRTD.dll) : error LNK2005: "public: class ostream &
__thiscall ostream::operator<<(char const *)" (??6ostream@@QAEAAV0@PBD@Z)
already defined in libcimtd.lib(ostream.obj)
msvcirtd.lib(MSVCIRTD.dll) : error LNK2005: "public: class ostream &
__thiscall ostream::operator<<(class ostream & (__cdecl*)(class ostream &))"
(??6ostream@@QAEAAV0@P6AAAV0@AAV0@@Z@Z) already defined in
libsmutild.lib(sm_x509af.obj)
msvcirtd.lib(MSVCIRTD.dll) : error LNK2005: "class ostream & __cdecl
endl(class ostream &)" (?endl@@YAAAVostream@@AAV1@@Z) already defined in
libsmutild.lib(sm_x509af.obj)
msvcirtd.lib(MSVCIRTD.dll) : error LNK2005: "public: class ostream &
__thiscall ostream::operator<<(char)" (??6ostream@@QAEAAV0@D@Z) already
defined in libsmutild.lib(sm_x509af.obj)
msvcirtd.lib(MSVCIRTD.dll) : error LNK2005: "public: class ostream &
__thiscall ostream::operator<<(int)" (??6ostream@@QAEAAV0@H@Z) already
defined in libcimtd.lib(ostrint.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _sprintf already defined in
LIBCMTD.lib(sprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _free already defined in
LIBCMTD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _calloc already defined in
LIBCMTD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fclose already defined in
LIBCMTD.lib(fclose.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fopen already defined in
LIBCMTD.lib(fopen.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strncmp already defined in
LIBCMTD.lib(strncmp.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _longjmp already defined in
LIBCMTD.lib(longjmp.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _isprint already defined in
LIBCMTD.lib(_ctype.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _isspace already defined in
LIBCMTD.lib(_ctype.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _abort already defined in
LIBCMTD.lib(abort.obj)
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other
libs; use /NODEFAULTLIB:library
Debug/report_tool.exe : fatal error LNK1169: one or more multiply defined
symbols found
Error executing link.exe.


I tried again by changing all the sub projects as multi-threaded instead of
a mixture of multi-threaded and multi-threaded dll. But, still getting the
error.  If I removed snacc32d.lib, then I will get undefined symbol, instead
of those listed above.  So now I'm trying to build the snacc library without
any success.  I tried to follow the instruction from snaccVC6\notes.wri.
First, I opened the project snaccVC6\snaccVC.dsw.  There is no project label
as "compiler".  Then, I searched snacc-1.3, snacc-1.3vca, snaccVC5, snaccVC6
for a project name "c__lib.dsp" and could not find it either.  This has been
very frustrating.  Please help!

Thanks

Hoa
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.