On Tue, Sep 9, 2008 at 1:52 PM, Paul Hoffman <[EMAIL PROTECTED]> wrote:
> Greetings again. I'm trying to build 3.12 on FreeBSD 7.0. I follow
> the directions on
> <http://www.mozilla.org/projects/security/pki/nss/nss-3.11.4/nss-3.11.4-build.html>
> and do the CVSing. 'gmake nss_build_all' ends with:
>
> /usr/bin/ld: cannot find -lsoftokn3
> gmake[2]: *** [FreeBSD7.0_DBG.OBJ/libnss3.so.1.0] Error 1
> gmake[2]: Leaving directory
> `/usr/home/phoffman/NSS-312/mozilla/security/nss/lib/nss'
> gmake[1]: *** [libs] Error 2
> gmake[1]: Leaving directory
> `/usr/home/phoffman/NSS-312/mozilla/security/nss/lib'
> gmake: *** [libs] Error 2

The relevant makefile code that Nelson pointed out about
the .so.1.0 suffix is:
http://mxr.mozilla.org/security/source/security/coreconf/FreeBSD.mk#68


68 MOZ_OBJFORMAT           := $(shell test -x /usr/bin/objformat &&
/usr/bin/objformat || echo elf)
69
70 ifeq ($(MOZ_OBJFORMAT),elf)
71 DLL_SUFFIX              = so
72 else
73 DLL_SUFFIX              = so.1.0
74 endif

What is the output of the command /usr/bin/objformat on your
FreeBSD 7.0 system?

The intended code path for current versions of FreeBSD is line 71.

Wan-Teh
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to