On Tue, Sep 9, 2008 at 4:52 PM, Paul Hoffman <[EMAIL PROTECTED]> wrote:
>
> I nuked mozilla/* and used the two cvs commands above. The make now ends with:
>
> /usr/bin/ld: cannot find -lnssutil3
> gmake[3]: ***
> [FreeBSD7.0_DBG.OBJ/FreeBSD_SINGLE_SHLIB/libfreebl3.so.1.0] Error 1
> gmake[3]: Leaving directory
> `/usr/home/phoffman/NSS-312/mozilla/security/nss/lib/freebl'

This is the same problem.  We need to track this down.

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

Let's focus on line 68.  On your FreeBSD 7.0 system, /usr/bin/objformat
doesn't exist.  So we expect that in line 68, "test -x /usr/bin/objformat"
should fail, and therefore we short-circuit "&& /usr/bin/objformat" and
execute "echo elf".  But this is not happening.

I don't have a FreeBSD system, so I tested this makefile fragment
on Linux, and it works.

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