Hi, I have the same problem, did you manage to find a fix?
Cheers, Mülling Em quarta-feira, 7 de junho de 2023 às 17:45:32 UTC-3, Sam Caro escreveu: > > Hello > I have contacted you before > https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/tZjTXdS8GQs > > Things have changed a little bit but I am still not able to build nss > > The 64bit version never built but now I need the 32bit version (we have > other dependencies that are 32bit *ONLY*) > > *Anyway* > I grabbed the source for nss-3.89.1 with nspr 4.35 > > This is the command I am trying in MozillaBuild > *build.sh -v --msvc --opt -t ia32 --nspr* > > > > > The error says it can’t find stdio.h > Which is found at /c/Program Files (x86)/Windows > Kits/10//include/10.0.19041.0/ucrt/stdio.h > The msvc.sh script does define the environment variable INCLUDE properly > Meaning it does have “*/c/Program Files (x86)/Windows > Kits/10//include/10.0.19041.0/ucrt*” > “*cl.exe*” from Visual Studio uses the INCLUDE env variable > > I suspect the INCLUDE variable defined by msvc does not make it to the > cl.exe command > when it is executed within make in the NSPR [2/5] step > make -C /C/projects/nss-3.89.1/nss/../nspr/Release > C:/tools/make/make-4.4/WinRel/make.exe -C config export > > > Do you have any suggestions? > Thank you very much > > > > here is the output > > > > NSPR [1/5] configure ... > > *../configure* --prefix=/C/projects/nss-3.89.1/dist/Release > --disable-debug --enable-optimize > > configure: loading site script /etc/config.site > > checking build system type... x86_64-pc-msys > > checking host system type... x86_64-pc-msys > > checking target system type... x86_64-pc-msys > > checking for cl... cl > > configure: WARNING: Unknown version of the Microsoft (R) Manifest Tool. > > configure: creating ./config.status > > config.status: creating Makefile > > config.status: creating config/Makefile > > config.status: creating config/autoconf.mk > > config.status: creating config/nsprincl.mk > > config.status: creating config/nsprincl.sh > > config.status: creating config/nspr-config > > config.status: creating config/nspr.pc > > config.status: creating lib/Makefile > > config.status: creating lib/ds/Makefile > > config.status: creating lib/libc/Makefile > > config.status: creating lib/libc/include/Makefile > > config.status: creating lib/libc/src/Makefile > > config.status: creating lib/tests/Makefile > > config.status: creating pkg/Makefile > > config.status: creating pr/Makefile > > config.status: creating pr/include/Makefile > > config.status: creating pr/include/md/Makefile > > config.status: creating pr/include/obsolete/Makefile > > config.status: creating pr/include/private/Makefile > > config.status: creating pr/src/Makefile > > config.status: creating pr/src/io/Makefile > > config.status: creating pr/src/linking/Makefile > > config.status: creating pr/src/malloc/Makefile > > config.status: creating pr/src/md/Makefile > > config.status: creating pr/src/md/windows/Makefile > > config.status: creating pr/src/memory/Makefile > > config.status: creating pr/src/misc/Makefile > > config.status: creating pr/src/threads/Makefile > > config.status: creating pr/tests/Makefile > > config.status: creating pr/tests/dll/Makefile > > config.status: creating pr/src/threads/combined/Makefile > > config.status: executing default commands > > NSPR [2/5] make ... > > make -C /C/projects/nss-3.89.1/nss/../nspr/Release > > make: Entering directory 'C:/projects/nss-3.89.1/nspr/Release' > > C:/tools/make/make-4.4/WinRel/make.exe -C config export > > make[1]: Entering directory 'C:/projects/nss-3.89.1/nspr/Release/config' > > cl -Fonow.obj -c -W3 -nologo -GF -Gy -FS -MD -GT -O2 -UDEBUG > -U_DEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" > -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" > -DNDEBUG=1 -DXP_PC=1 -DWIN32=1 -D_CRT_SECURE_NO_WARNINGS=1 > -D_CRT_NONSTDC_NO_WARNINGS=1 -DWINNT=1 -D_AMD64_=1 -DFORCE_PR_LOG > "C:/projects/nss-3.89.1/nspr/Release/config/../../config/now.c" > > now.c > > C:/projects/nss-3.89.1/nspr/Release/config/../../config/now.c(6): fatal > error C1083: Cannot open include file: 'stdio.h': No such file or directory > > make[1]: *** [../../config/rules.mk:450: now.obj] Error 2 > > make[1]: Leaving directory 'C:/projects/nss-3.89.1/nspr/Release/config' > > make: *** [../config/rules.mk:163: export] Error 2 > > make: Leaving directory 'C:/projects/nss-3.89.1/nspr/Release' > -- You received this message because you are subscribed to the Google Groups "dev-tech-crypto@mozilla.org" group. To unsubscribe from this group and stop receiving emails from it, send an email to dev-tech-crypto+unsubscr...@mozilla.org. To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/a797e1bb-1796-4605-96b9-1f7c63fa3308n%40mozilla.org.