Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling error when "cmake3 -DCMAKE_BUILD_TYPE=Debug" #1618

Closed
wyang007 opened this issue Feb 11, 2022 · 0 comments
Closed

compiling error when "cmake3 -DCMAKE_BUILD_TYPE=Debug" #1618

wyang007 opened this issue Feb 11, 2022 · 0 comments

Comments

@wyang007
Copy link
Member

I got the compiling error on centos 7 (devtoolset-7) when "cmake3 -DCMAKE_BUILD_TYPE=Debug ..". The error msg is :

In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/cassert:44:0,
from /tmp/xrootd/src/XrdCrypto/XrdCryptosslCipher.cc:35:
/tmp/xrootd/src/XrdCrypto/XrdCryptosslCipher.cc: In constructor ‘XrdCryptosslCipher::XrdCryptosslCipher(bool, int, char*, int, const char*)’:
/tmp/xrootd/src/XrdCrypto/XrdCryptosslCipher.cc:489:14: error: ‘DH_get0_p’ was not declared in this scope
assert(DH_get0_p(dhparms));
^
/tmp/xrootd/src/XrdCrypto/XrdCryptosslCipher.cc:489:14: note: suggested alternative: ‘DH_get0_pqg’

If I run cmake3 without the -DCMAKE_BUILD_TYPE=Debug, all will compile with no error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant