Hi, Building xrootd 5.3.1 (as ROOT builtin) with openssl 1.1.1g (also ROOT builtin) causes: ``` /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslCipher.cc:140:12: error: ‘int DH_compute_key_padded(unsigned char*, const BIGNUM*, DH*)’ was declared ‘extern’ and later ‘static’ [-fpermissive] 140 | static int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/./XrdCrypto/XrdCryptosslCipher.hh:40, from /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslCipher.cc:38: /home/ubuntu/build/root/master/rwd/builtins/openssl/OPENSSL-prefix/include/openssl/dh.h:153:5: note: previous declaration of ‘int DH_compute_key_padded(unsigned char*, const BIGNUM*, DH*)’ 153 | int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh); | ^~~~~~~~~~~~~~~~~~~~~ /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslCipher.cc: In function ‘int DH_compute_key_padded(unsigned char*, const BIGNUM*, DH*)’ : /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslCipher.cc:143:12: error: invalid use of incomplete type ‘DH’ {aka ‘struct dh_st’} 143 | rv = dh->meth->compute_key(key, pub_key, dh); | ^~ In file included from /home/ubuntu/build/root/master/rwd/builtins/openssl/OPENSSL-prefix/include/openssl/evp.h:14, from /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/./XrdCrypto/XrdCryptosslCipher.hh:39, from /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslCipher.cc:38: /home/ubuntu/build/root/master/rwd/builtins/openssl/OPENSSL-prefix/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH’ {aka ‘struct dh_st’} 104 | typedef struct dh_st DH; | ^~~~~ In file included from /home/ubuntu/build/root/master/rwd/builtins/openssl/OPENSSL-prefix/include/openssl/asn1.h:23, from /home/ubuntu/build/root/master/rwd/builtins/openssl/OPENSSL-prefix/include/openssl/objects.h:15, from /home/ubuntu/build/root/master/rwd/builtins/openssl/OPENSSL-prefix/include/openssl/evp.h:28, from /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/./XrdCrypto/XrdCryptosslCipher.hh:39, from /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslCipher.cc:38: /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslCipher.cc:146:26: error: invalid use of incomplete type ‘DH’ {aka ‘struct dh_st’} 146 | pad = BN_num_bytes(dh->p) - rv; | ^~ /home/ubuntu/build/root/master/rwd/builtins/openssl/OPENSSL-prefix/include/openssl/bn.h:181:40: note: in definition of macro ‘BN_num_bytes’ 181 | # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) | ^ In file included from /home/ubuntu/build/root/master/rwd/builtins/openssl/OPENSSL-prefix/include/openssl/evp.h:14, from /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/./XrdCrypto/XrdCryptosslCipher.hh:39, from /home/ubuntu/build/root/master/rwd/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslCipher.cc:38: /home/ubuntu/build/root/master/rwd/builtins/openssl/OPENSSL-prefix/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH’ {aka ‘struct dh_st’} 104 | typedef struct dh_st DH; | ^~~~~ ``` Might be related to https://github.com/xrootd/xrootd/issues/1558 -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/1581 You are receiving this because you are subscribed to this thread. Message ID: <[log in to unmask]> ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1