Michael Horn wrote: > Here is another clue. I get the output snippet under MSVC6.0, but if I run > the nmake command from the command line, I get: > > > "+++ building dynamic version" > NMAKE : fatal error U1045: spawn failed : Invalid argument > > then I get a dialogBox that says... > > Error Starting Program: > A required .DLL file, MSPDB60.DLL, was not found. >
Is your PATH set up to include all the MSVC directories? This file lives in \Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\ The PATH I use to build moz is: Path=D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem; D:\WINNT\perl5\bin;d:\WINNT\system32;d:\WINNT;d:\perl5\bin; D:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT; D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin; D:\Program Files\Microsoft Visual Studio\Common\Tools; D:\Program Files\Microsoft Visual Studio\VC98\bin; d:\wincvs;D:\cygwin\bin HTH > > > "Dan Mosedale" <[EMAIL PROTECTED]> wrote in message > a1njqp$[EMAIL PROTECTED]">news:a1njqp$[EMAIL PROTECTED]... >> "Michael Horn" <[EMAIL PROTECTED]> writes: >> > #### begin output snippet >> > 95make: Leaving Directory d:\mozilla\source\mozilla\themes\modern with >> > target export >> > 1 file(s) copied >> > "+++ building dynamic version" >> > LINK : fatal error LNK1104: cannot open file " >> > > D:\Mozilla\source\mozilla\directory\c-sdk\ldap\libraries\msdos\winsock\nslda >> > p3240.def" >> > NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual >> > Studio\VC98\BIN\link.exe"' : return code '0x450' >> > Stop. >> > NMAKE : fatal error U1077: '"D:\PROGRAM FILES\MICROSOFT VISUAL >> > STUDIO\VC98\BIN\NMAKE.exe"' : return code '0x2' >> > Stop. >> > #### end output snippet >> > >> > >> > I have compiled up to what I believe is the LDAP module, but I get an > error >> > on the .def file. Can anyone help please? >> > >> > I unzipped the latest code as of this message, and just ran "nmake /f >> > client.mak build_all" >> > >> > The .def file is in the indicated directory, so I am not real sure what > the >> > problem would be. >> >> The only thing I can think of is that perhaps >> mozilla/directory/c-sdk/ldap/libraries/msdos/winsock/nsldap.mak >> somehow ends up having a leading newline in $(BUILD_DIR). Is there >> any chance your $(MOZ_SRC) env variable has a leading newline in it? >> >> Dan > > >
