Error in building LDAP C-SDK for Windows - linker option /L instead of /LIBPATH?
"Matthew M. DeLoera" <[email protected]> Tue, 25 Aug 2009 18:42:31 -0400
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to build the C-SDK in Windows (using VS 2008 and MozillaBuild), but having no luck. When it's trying to make nsldappr32v60.dll, the link operation displays a couple warnings of: "LINK : warning LNK4044: unrecognized option '/Lc:/dev/mozldap/nspr-4.6.4/lib'; ignored And then fails with: "LINK: fatal error LNK1181: cannot open input file 'libplc4.lib'" Now, I installed binary releases of NSS and NSPR, and I did specify their paths when I ran configure: ./configure --with-nss=c:/dev/mozldap/nss-3.11.4 --with-nspr=c:/dev/mozldap/nspr-4.6.4 --enable-clu If I were to copy-paste the same link instruction I see displayed, but change each "-L" to "/LIBPATH:", everything works. So, if this is intentional behavior, can anyone suggest where to tweak the makefiles to change the command-line switch being passed to make? Or is there an environment var to which I could add my NSS and NSPR lib paths? Any suggestion would be appreciated. Is there some obvious thing I'm doing wrong? Thanks! - Matthew