Linker error from tstclnt

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Linker error from tstclnt

Ernie Kovak
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
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto
Loading...