On Nov 16, 11:07 pm, "Wan-Teh Chang" <[EMAIL PROTECTED]> wrote: > On Nov 16, 2007 4:19 AM, D3||||!$ <[EMAIL PROTECTED]> wrote: > > > Hi!!! > > > I have been trying to compile the selfserv.c file given in NSS using VC > > ++ 2005 Express Edition. But it is throwing up linker errors despite > > including the libs & dlls in the NSS package. > > > All the functions that are causing linker errors belong to the file > > secutil.h > > These are: > > SECU_Strerror > > SECU_ReadDERFromFile > > SECU_PrintError > > SECU_GetModulePassword > > > I cannot figure out what is going wrong.... Somebody kindly help. > > You need to compile the files in mozilla/security/nss/cmd/lib, which > produces sectool.lib, and then link with sectool.lib. > > Why don't you use the official build method to build NSS? > > Wan-Teh
Thank a lot for the information. I tried compiling as per your instructions but now there is this file berparse.c which is throwing approx 90 compile errors.... I again linked the library files for NSS/NSPR package and the problem seems to be with some missing structure declarations: The problem seems to start from line 52: struct BERParseStr is not used anywhere else in the file... Line 45 uses struct BERParse whose declaration/definition are missing.... There are more such errors about which I cannot have a clue unless I was seriously involved with NSS implementation... Kindly illuminate me upon the subject... I'm not using Mozilla's official build method as I'm not very familiar with makefiles, so I'd prefer to use VC++ right now and shift to the official build method as I grow more familiar with NSS. Warm Regards, D3|\||\|!$ _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto