Linker error from tstclnt

Ernie Kovak <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <[email protected]>
Hello -

I'm trying to build NSS 3.30.2 on Windows 10, following the instructions at https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Building.

I get the following linker error:

kernel32.lib(KERNEL32.dll) : error LNK2005: ReadFile already defined in tstclnt.obj
WIN954.0_x86_64_64_OPT.OBJ/tstclnt.exe : fatal error LNK1169: one or more multiply defined symbols found
make[2]: *** [WIN954.0_x86_64_64_OPT.OBJ/tstclnt.exe] Error 2
make[2]: Leaving directory `/c/nss-source/nss/cmd/tstclnt'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/c/nss-source/nss/cmd'
make: *** [libs] Error 2

If I remove tstclnt from the nss\cmd manifest the build completes - but I don't get tstclnt.exe, of course.

Any suggestions?

Here are my build options:

OS_TARGET="WIN95"
BUILD_OPT=0
USE_64=1
USE_ASAN=0
USE_STATIC_RTL=1

Thanks!
Ernie
-- 
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
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.