[openssl-dev] [openssl.org #3932] Compilation Bug Report

jean-christophe manciot via RT rt at openssl.org
Fri Jul 10 10:47:15 UTC 2015


*Ubuntu Server 15.04*
*OpenSSL 1.0.2d sources from https://github.com/openssl/openssl
<https://github.com/openssl/openssl>*

root at msi-ge60
:/home/actionmystique/Program-Files/Ubuntu/OpenSSL/git-open-ssl#* ./config*
Operating system: x86_64-whatever-linux2
Configuring for linux-x86_64
Configuring for linux-x86_64
    no-deprecated   [default]  OPENSSL_NO_DEPRECATED (skip dir)
    no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip
dir)
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)
    no-shared       [default]
    no-ssl-trace    [default]  OPENSSL_NO_SSL_TRACE (skip dir)
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)
    no-unit-test    [default]  OPENSSL_NO_UNIT_TEST (skip dir)
    no-zlib         [default]
    no-zlib-dynamic [default]
IsMK1MF=0
CC            =gcc
CFLAG         =-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H
-Wa,--noexecstack -m64 -DL_ENDIAN -Wall -O3 -DOPENSSL_IA32_SSE2
-DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m
-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM
-DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
EX_LIBS       =-ldl
CPUID_OBJ     =x86_64cpuid.o
BN_ASM        =x86_64-gcc.o x86_64-mont.o x86_64-mont5.o x86_64-gf2m.o
rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o
EC_ASM        =ecp_nistz256.o ecp_nistz256-x86_64.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ENC       =aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o aesni-x86_64.o
aesni-sha1-x86_64.o aesni-sha256-x86_64.o aesni-mb-x86_64.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4-x86_64.o rc4-md5-x86_64.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =md5-x86_64.o
SHA1_OBJ_ASM  =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o
sha1-mb-x86_64.o sha256-mb-x86_64.o
RMD160_OBJ_ASM=
CMLL_ENC      =cmll-x86_64.o cmll_misc.o
MODES_OBJ     =ghash-x86_64.o aesni-gcm-x86_64.o
ENGINES_OBJ   =e_padlock-x86_64.o
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/usr/bin/perl
SIXTY_FOUR_BIT_LONG mode
DES_UNROLL used
DES_INT used
RC4_CHUNK is unsigned long

Configured for linux-x86_64.

root at msi-ge60:/home/actionmystique/Program-Files/Ubuntu/OpenSSL/git-open-ssl#
*make*
making all in crypto...
...
ake[2]: Entering directory
'/home/actionmystique/Program-Files/Ubuntu/OpenSSL/git-open-ssl/apps'
( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto -ldl}";
LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -Wall -O3
-DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5
-DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM
-DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
-DECP_NISTZ256_ASM}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed -e
's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`;
LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o
${APPNAME:=openssl} openssl.o asn1pars.o ca.o ciphers.o cms.o crl.o
crl2p7.o dgst.o dhparam.o dsa.o dsaparam.o ec.o ecparam.o enc.o engine.o
errstr.o gendsa.o genpkey.o genrsa.o nseq.o ocsp.o passwd.o pkcs12.o
pkcs7.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o prime.o rand.o req.o rsa.o
rsautl.o s_client.o s_server.o s_time.o sess_id.o smime.o speed.o spkac.o
srp.o ts.o verify.o version.o x509.o apps.o opt.o s_cb.o s_socket.o
app_rand.o ${LIBDEPS} )
speed.o: In function `speed_main':
*speed.c:(.text+0x980): undefined reference to `RC4_set_key'*
*speed.c:(.text+0x15d3): undefined reference to `RC4'*
*speed.c:(.text+0x4f80): undefined reference to `RC4_options'*
version.o: In function `version_main':
version.c:(.text+0x228): undefined reference to `RC4_options'
../libcrypto.a(e_rc4.o): In function `rc4_cipher':
e_rc4.c:(.text+0x12): undefined reference to `RC4'
../libcrypto.a(e_rc4.o): In function `rc4_init_key':
e_rc4.c:(.text+0x3b): undefined reference to `RC4_set_key'
../libcrypto.a(e_rc4_hmac_md5.o): In function `rc4_hmac_md5_cipher':
e_rc4_hmac_md5.c:(.text+0x1eb): undefined reference to `RC4'
e_rc4_hmac_md5.c:(.text+0x273): undefined reference to `RC4'
e_rc4_hmac_md5.c:(.text+0x3fd): undefined reference to `RC4'
e_rc4_hmac_md5.c:(.text+0x41e): undefined reference to `rc4_md5_enc'
e_rc4_hmac_md5.c:(.text+0x4be): undefined reference to `RC4'
e_rc4_hmac_md5.c:(.text+0x4ed): undefined reference to `rc4_md5_enc'
e_rc4_hmac_md5.c:(.text+0x54a): undefined reference to `RC4'
../libcrypto.a(e_rc4_hmac_md5.o): In function `rc4_hmac_md5_init_key':
e_rc4_hmac_md5.c:(.text+0x58f): undefined reference to `RC4_set_key'
collect2: error: ld returned 1 exit status
../Makefile.shared:164: recipe for target 'link_app.' failed
make[2]: *** [link_app.] Error 1
make[2]: Leaving directory
'/home/actionmystique/Program-Files/Ubuntu/OpenSSL/git-open-ssl/apps'
Makefile:148: recipe for target 'openssl' failed
make[1]: *** [openssl] Error 2
make[1]: Leaving directory
'/home/actionmystique/Program-Files/Ubuntu/OpenSSL/git-open-ssl/apps'
Makefile:290: recipe for target 'build_apps' failed
make: *** [build_apps] Error 1

Regards.
-- 
Jean-Christophe Manciot

-------------- next part --------------
_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-mod at openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod


More information about the openssl-dev mailing list