Re: OpenPegasus on Fedora 12 -- Howto ??? // Dies in SSLContext.cpp

Surendra Kodali <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <OF0E79FF80.BAD5C14B-ON65257735.0034BC24-65257735.003B5489@in.ibm.com>
The below failure is because of changing the SKM_sk* macro definitions in
latest versions of openssl.

SKM_sk_value macro definition has changed from

#define SKM_sk_value(type, st,i) \
        ((type * (*)(const STACK_OF(type) *, int))openssl_fcast
(sk_value))(st, i)

to

#define SKM_sk_value(type, st,i) \
        ((type *)sk_value(CHECKED_STACK_OF(type, st), i))


I have opened a bug#8778
(http://bugzilla.openpegasus.org/show_bug.cgi?id=8778) for fixing this
issue in OpenPegasus

Surendra




                                                                           
             John Robinson                                                 
             <[email protected]                                             
             m>                                                         To 
                                       [email protected]           
             09/05/2010 02:54                                           cc 
                                                                           
                                                                   Subject 
                                       OpenPegasus on Fedora 12 --         
                                       Howto ??? // Dies in SSLContext.cpp 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




I have  attempted a build of the OpenPegasus 2.10.0 SRPM on Fedora 12
(x86_64).
Before starting this, I noticed that java-1.4.2-gcj-compat was listed as
requirement.
I could not find java-1.4.2-gcj-compat after setting up the yum repo list
jpackage and the associated yum-priorities,
hence I deleted reference to "java-1.4.2-gcj-compat" in the spec file in
the hope that the compile would find what it needs in the current
environment.

The compile dies in: SSLContext.cpp with the following diagnostics:

SSLContext.cpp: In static member function ‘static int
Pegasus::SSLCallback::verificationCRLCallback(int, X509_STORE_CTX*,
X509_STORE*)’:
SSLContext.cpp:275: error: cannot convert ‘stack_st_X509_REVOKED*’ to
‘const _STACK*’ for argument ‘1’ to ‘void* sk_value(const _STACK*, int)’
make[3]: ***
[/root/rpmbuild/BUILD/tog-pegasus-2.10.0/build/obj/Pegasus/Common/SSLContext.o]
 Error 1

Any suggestions would be appreciated.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.