Re: Problem on building NSS with Windows

John Jiang <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <CAJbO6CQ-vYZxoaNjTmyUTteD+XXR2A+Sw79CZeXUxfuK6+xnsQ@mail.gmail.com>
Hi,
Thanks for your reply.

My steps are the follwings:
1. Double-click start-shell-msvc2015-x64.bat in C:\mozilla-build. And it
displayed some information, like the below:
MozillaBuild Install Directory: C:\mozilla-build\
Visual C++ 2015 Directory: C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\
Windows SDK Directory: C:\Program Files (x86)\Windows Kits\8.1\
Using the MSVC 2015 64-bit toolchain.
2. cd /d/security/nss/nss-latest/nss/
The source directories of nss and nspr are under a same parent directory
nss-latest.
3. export USE_64=1
4. make nss_build_all


2016-08-19 16:21 GMT+08:00 Franziskus Kiefer <[email protected]>:

> This sounds like there's something wrong with the setup. quickder.c is a
> file in NSS [1] (lib/util as your output shows as well).
>
> 'C:/mozilla-build/msys/quickder.c': No such file or directory
>
> So this line is a bit confusing. Why is your build searching in the
> mozilla-build directory for NSS files? What's your folder structure and
> where do you execute the make command? Describing the exact steps of what
> you're doing might help to figure this out.
>
> Cheers
>
> [1]
> http://searchfox.org/nss/rev/462a77115abebd0f3cd9cb56dbc350
> a25b9be706/lib/util/quickder.c
>
> On Fri, Aug 19, 2016 at 9:30 AM, John Jiang <[email protected]>
> wrote:
>
> > In addition, I have checked my installed MozillaBuild. It doesn't include
> > file quickder.c.
> > Is there any wrong on MoziilaBuild? Or some issue in my environment?
> >
> > 2016-08-19 15:24 GMT+08:00 John Jiang <[email protected]>:
> >
> > > Hi,
> > > I tried to build NSS on Windows 7 x86_64 machine, and followed the
> > > instructions at:
> > > https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Building
> > >
> > > VS 2015 community and Latest MozillaBuild have been installed, and
> USE_64
> > > was set to 1.
> > > When "make nss_build_all" finished, I got the below errors:
> > > c1: fatal error C1083: Cannot open source file: 'C:/mozilla-build/msys/
> > quickder.c':
> > > No such file or directory
> > > make[2]: *** [WIN954.0_x86_64_64_DBG.OBJ/quickder.obj] Error 2
> > > make[2]: Leaving directory `/d/security/nss/nss-latest/nss/lib/util'
> > > make[1]: *** [libs] Error 2
> > > make[1]: Leaving directory `/d/security/nss/nss-latest/nss/lib'
> > > make: *** [libs] Error 2
> > >
> > > How to resolve this problem?
> > > Thanks!
> > >
> > --
> > dev-tech-crypto mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-tech-crypto
> >
> --
> dev-tech-crypto mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
-- 
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.