All,

I'm having a problem when building OpenSSL 1.0.1 along with fips-2.0.
My layout is like this:
/home/tyrel/openssl-test/openssl   <-- contains the 1.0.1 branch from CVS
/home/tyrel/openssl-test/fips   <-- contains the extract fips-2.0
snapshot tarball

My build steps are (from the openssl-test dir):

cd fips
./config no-asm no-hw --prefix="/home/tyrel/openssl-test/dep"
make
make install
cd ..

cd openssl
export FIPSDIR=/home/tyrel/openssl-test/dep
export FIPSLIBDIR=/home/tyrel/openssl-test/dep/lib
./config fips no-asm no-hw --prefix="/home/tyrel/openssl-test/dep"
make depend
make
make install

The config script indicated that I should run make depend because
"you've disabled or enabled at least one algorithm". But make depend
is the step that is failing. Log is below.

It's worth noting that even though make depend fails, I can run make
just fine. Is make depend even necessary, then, in this case?

Also this failure only seems to be happening the last week or so, I
think. So it may be related to a recent change in CVS. My coworkers
are seeing the same thing on their boxes.

Any thoughts?

Here's the log:

make[2]: Entering directory `/home/tyrel/openssl-test/openssl/crypto/hmac'
../../util/domd ../.. -MD gcc -- -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3
-fomit-frame-pointer -Wall -I/home/tyrel/openssl-test/dep/include -I..
-I../.. -I../asn1 -I../evp -I../../include  -DOPENSSL_NO_DEPRECATED
-DOPENSSL_NO_EC_NISTP224_64_GCC_128 -DOPENSSL_NO_GMP
-DOPENSSL_NO_JPAKE -DOPENSSL_NO_MD2 -DOPENSSL_NO_RC5
-DOPENSSL_NO_RFC3779 -DOPENSSL_NO_STORE --  hmac.c hm_ameth.c
hm_pmeth.c
In file included from hm_pmeth.c:64:
../evp/evp_locl.h:355:1: error: "SHA1_Init" redefined
In file included from /home/tyrel/openssl-test/dep/include/openssl/crypto.h:151,
                 from ../cryptlib.h:72,
                 from hm_pmeth.c:59:
/home/tyrel/openssl-test/dep/include/openssl/fipssyms.h:456:1: error:
this is the location of the previous definition
In file included from hm_pmeth.c:64:
../evp/evp_locl.h:356:1: error: "SHA224_Init" redefined
In file included from /home/tyrel/openssl-test/dep/include/openssl/crypto.h:151,
                 from ../cryptlib.h:72,
                 from hm_pmeth.c:59:
/home/tyrel/openssl-test/dep/include/openssl/fipssyms.h:462:1: error:
this is the location of the previous definition
In file included from hm_pmeth.c:64:
../evp/evp_locl.h:357:1: error: "SHA256_Init" redefined
In file included from /home/tyrel/openssl-test/dep/include/openssl/crypto.h:151,
                 from ../cryptlib.h:72,
                 from hm_pmeth.c:59:
/home/tyrel/openssl-test/dep/include/openssl/fipssyms.h:465:1: error:
this is the location of the previous definition
In file included from hm_pmeth.c:64:
../evp/evp_locl.h:358:1: error: "SHA384_Init" redefined
In file included from /home/tyrel/openssl-test/dep/include/openssl/crypto.h:151,
                 from ../cryptlib.h:72,
                 from hm_pmeth.c:59:
/home/tyrel/openssl-test/dep/include/openssl/fipssyms.h:471:1: error:
this is the location of the previous definition
In file included from hm_pmeth.c:64:
../evp/evp_locl.h:359:1: error: "SHA512_Init" redefined
In file included from /home/tyrel/openssl-test/dep/include/openssl/crypto.h:151,
                 from ../cryptlib.h:72,
                 from hm_pmeth.c:59:
/home/tyrel/openssl-test/dep/include/openssl/fipssyms.h:474:1: error:
this is the location of the previous definition
In file included from hm_pmeth.c:64:
../evp/evp_locl.h:367:1: error: "DES_set_key_unchecked" redefined
In file included from /home/tyrel/openssl-test/dep/include/openssl/crypto.h:151,
                 from ../cryptlib.h:72,
                 from hm_pmeth.c:59:
/home/tyrel/openssl-test/dep/include/openssl/fipssyms.h:254:1: error:
this is the location of the previous definition
make[2]: *** [depend] Error 1
make[2]: Leaving directory `/home/tyrel/openssl-test/openssl/crypto/hmac'
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/home/tyrel/openssl-test/openssl/crypto'
make: *** [depend] Error 1


Thanks,
Tyrel
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to