building the fips module ends with a tricky error:

/usr/ccs/bin/ld: illegal option -- n
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] 
file(s)
        [-64]           enforce a 64-bit link-edit
...
...


        the problem is that in general Solaris's echo's don't have '-n' so 
this is a problem in fips-1.0/Makefile:

fipscanister.o: fips_start.o $(LIBOBJ) $(FIPS_OBJ_LISTS) fips_end.o
        @FIPS_BN_ASM=`for i in $(BN_ASM) ; do echo -n "../crypto/bn/$$i " ; 
done`; \

        not sure what is the best fix here, whether test for Solaris and set 
it to "printf", or to replace it with printf right away, or something 
different. After the fix the module builds fine. For more information about 
echo's in Solaris, see:

        man -M /usr/man echo

        regards, Jan.

-- 
Jan Pechanec

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to