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
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to