RE: Trouble compiling OpenPegasus with OpenSSL - Compilation error.
"Manjunath Marlabeeti" <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Srujan, Try the below open the file /root/pegasus/src/Pegasus/Common/SSLContext.cpp revokedCert = (X509_REVOKED *)sk_value(X509_CRL_get_REVOKED(crl), i); replace the above line with below line at 272 line number and save &exit from file . revokedCert = sk_X509_REVOKED_value(X509_CRL_get_REVOKED(crl), i); Now try compile the Pegasus. FYI see the link. https://build.opensuse.org/package/view_file?file=pegasus-fix-openssl.pa tch&package=tog-pegasus&project=systemsmanagement%3Awbem&srcmd5=d6e5800e ed6296e62cf131f3479fc6be Regards, Manjunath M -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Monday, February 14, 2011 7:13 PM To: [email protected] Subject: Fw: Trouble compiling OpenPegasus with OpenSSL - Compilation error. Hi, The first attempt to send the mail failed. So, re sending the same. Kindly help. Regards, Srujan Chennupati Sent from BlackBerry(r) on Airtel -----Original Message----- From: [email protected] Date: Mon, 14 Feb 2011 13:30:50 To: <[email protected]> Reply-To: [email protected] Subject: Trouble compiling OpenPegasus with OpenSSL - Compilation error. Hi, I'm a student interested in working on WBEM and in the process found that OpenPegasus is the right tool for building WBEM clients. But, while compiling the OpenPegasus tool with SSL, I'm being shown the following error. SSLContext.cpp(275) : error C2664: 'sk_value' : cannot convert parameter 1 from 'stack_st_X509_REVOKED *' to 'const _STACK *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast The environment is: OS: Windows 2K3 R2 Build: VS 2008 Libs: openssl-1.0.0c (also tried with openssl-1.0.0d) Environment variables set: OPENSSL_BIN OPENSSL_HOME Path (contains both pegasus and openssl source folders) PEGASUS_DEBUG=true PEGASUS_HAS_SSL=1 PEGASUS_HOME PEGASUS_ROOT=%PEGASUS_HOME% PEGASUS_ROOT=WIN32_IX86_MSVC Can you, kindly, help me resolve this problem? Regards, Srujan Chennupati Sent from BlackBerry(r) on Airtel