As a test, ignoring the UserGuide's admonition about user-config
options to FIPS build, with a TARGET = "darwin-ppc-cc", this,
./config --prefix=/usr/local/ssl-fips fipscanisterbuild
make
make install
installs FIPS as directed in "/usr/local/ssl-fips".
Then, building openssl 098j,
mv /usr/include/stdarg.h /usr/include/stdarg.h.ORIG
cp /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stdarg.h
/usr/include/stdarg.h
setenv LDFLAGS "-L/usr/local/lib -lz"
./Configure --prefix=/usr/local/ssl --openssldir=/usr/local/ssl \
darwin-ppc-cc fips --with-fipslibdir=/usr/local/ssl-fips/lib \
-DUSE_TOD threads -L/usr/local/lib zlib \
enable-idea enable-rc5 enable-mdc2 enable-sha1 enable-sha256
enable-sha384 enable-sha512 enable-rmd160
is fine.
make depend
also completes, but with a bunch of odd warnings,
...
makedepend: warning: cannot open "ppc"
making depend in ssl...
makedepend: warning: cannot open "ppc"
making depend in engines...
makedepend: warning: cannot open "ppc"
making depend in apps...
makedepend: warning: cannot open "ppc"
making depend in test...
makedepend: warning: cannot open "ppc"
making depend in tools...
make[1]: Nothing to be done for `depend'.
then
make
gets quite a way, but eventually fails @,
...
/usr/local/ssl-fips/lib/fips_premain.c: In function
'FINGERPRINT_premain':
/usr/local/ssl-fips/lib/fips_premain.c:94: warning: incompatible
implicit declaration of built-in function '_exit'
/usr/local/ssl-fips/lib/fips_premain.c:109: warning: incompatible
implicit declaration of built-in function '_exit'
/usr/local/ssl-fips/lib/fips_premain.c:115: warning: incompatible
implicit declaration of built-in function '_exit'
ld: duplicate symbol _CRYPTO_num_locks in libcrypto.a(cryptlib.o) and
/usr/local/ssl-fips/lib//fipscanister.o
collect2: ld returned 1 exit status
ranlib: file: fips/../libcrypto.a(ebcdic.o) has no symbols
...
ranlib: file: fips/../libcrypto.a(v3_addr.o) has no symbols
make[2]: *** [link_a.darwin] Error 1
make[1]: *** [do_darwin-shared] Error 2
make: *** [libcrypto.0.9.8.dylib] Error 2
fyi, building 089j WITHOUT "fips
--with-fipslibdir=/usr/local/ssl-fips/lib" installs & executes without
error.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]