hi,
What is the debug assertion message? While you may not get the assertion in
optimize build, it may be an issue that needs to be addressed.
Also, please specify what versions you're using.
Meaning I am trying to build JSS 4.3, NSS 3.12.4, NSPR 4.8 using Visual
C++ 6.0
and Java 6.
To build optimize:
You need to build JSS optimize, and therefor first build NSPR/NSS
optimize first.
understand JSS requires NSPR/NSS libraries as well as the C runtime
library since
you're listing msvcrt[d].dll I assume you are Visual C++ 5 or 6.
set BUILD_OPT=1
set OS_TARGET= WIN95
https://developer.mozilla.org/jss_build_4.3.html
use the optimize signed jss4.jar
ftp://ftp.mozilla.org/pub/mozilla.org/security/jss/releases/JSS_4_3_RTM/
If you're running an applet in firefox don't replace the provided
firefox version of
NSPR/NSS just install your built jss4.dll/jss4.jar.
-glen
On 9/2/09 7:07 AM, Amine wrote:
Hi everyone,
I've got a question about building NSS on windows. I hope you're among
the right persons to ask, if not so, please can you forward my mail to
an apropriate person.
I think that there's a real problem because when trying to run
programs
that use NSS on windows, a Debug Assertion Failed message apears.
I looked for such messages on many sites and found that this is due
when
deploying a debug build of dll's. I've inspected the jss shared
library
jss4.dll through "dependency walker" and found that it depends on many
libraries such :
- libnspr4.dll,
- libplc4.dll,
- libplds4.dll,
and libnspr4.dll depends on msvcrtd.dll, and this is the debug build
of
msvcrt.dll.
msvcrt[d].dll is a c run time library...
To be clear, all these dll's:
- libnspr4.dll,
- libplc4.dll,
- libplds4.dll
JSS requires NSPR, you should also see the NSS libraries.
- msvcrtd.dll,
do not exist in a "normal" machine (msvcrt.dll exists actually in
Windows\System32). Let's be more precise by saying that the listed
dll's
(lib***.dll) exist in Programe File\Mozilla Firefox but without the
prefix lib.
So I had to download them (lib***.dll) one by one including
msvcrtd.dll.
And you understand me that this is very binding when we have to deploy
the application.
I've also tried to rebuild the jss4.dll with BUILD_OPT=1 and i've got
the same library exposed on the Mozilla links . How can I override
this
problem ? I think that Mozilla is giving the debug build of the jss
shared library instead of the release build.
Thank you in advance for your help.
Amine
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto