I noticed a problem when building openssl-1.0.0 on my sparc64 FreeBSD 9-CURRENT system.

While building in crypto/des/, it failed with:

m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
m4: illegal option -- B
usage: m4 [-d flags] [-t name] [-gs] [-D name[=value]]...
          [-U name]... [-I dirname]... file...
*** Error code 1

I looked in openssl-1.0.0/crypto/des/Makefile, to see:

des_enc-sparc.S:        asm/des_enc.m4
        m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S

It appears that the BSD-sparc64 OS type assumes the Solaris /usr/ccs/bin/m4 is installed, which has the -B option to m4. Neither the BSD nor the GNU m4 have that option.

--
Jonathan Billings <jsbilli...@gmail.com>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to