Andreas Hasenack wrote: > > I have mozilla-1.3a and I'm trying to add a default root certificate to it > at build time. Reading some files told me that I should use the addbuiltin > tool in security/nss/cmd/addbuiltin (and that's just the first step, I > can't believe how complicated it is, but that's another matter). > > I'm getting tons of errors while trying to build this tool, even though > mozilla builds fine. All errors I get seem to be related to some *.h file > not being found, like: > > [andreas@freak addbuiltin]$ gmake > gcc -o Linux2.4_x86_glibc_PTH_DBG.OBJ/secutil.o -c -g -fPIC -DLINUX1_2 > -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux > -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DNSPR20 -DDEBUG > -UNDEBUG -DDEBUG_andreas -D_REENTRANT > -I../../../../dist/Linux2.4_x86_glibc_PTH_DBG.OBJ/include > -I../../../../dist/public/seccmd -I../../../../dist/private/seccmd > -I../../../../dist/public/nss -I../../../../dist/public/nspr > -I../../../../dist/public/dbm secutil.c > secutil.c:38:21: prtypes.h: No such file or directory
The prtypes.h file should be in ../../../../dist/Linux2.4_x86_glibc_PTH_DBG.OBJ/include together with all the other NSPR header files. If it's not, that's the problem. > This is probably just some build option that is wrong, becuase the prtypes.h > file does exist but somewhere else it seems. I really can't tell, I find > this build system very confusing, many nested makefile includes. > > Does anybody have a quick tip for this issue? > > Many thanks. -- Nelson Bolyard Disclaimer: I speak for myself, not for Netscape
