"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:

> I'm getting the following error when compiling libjingle:
>
> openssladapter.lo openssladapter.cc; \
>         then mv -f ".deps/openssladapter.Tpo"
> ".deps/openssladapter.Plo"; else rm -f ".deps/openssladapter.Tpo"; exit
> 1; fi
> openssladapter.cc: In member function 'bool
> cricket::OpenSSLAdapter::SSLPostConnectionCheck(SSL*, const char*)':
> openssladapter.cc:651: error: invalid conversion from 'unsigned char**'
> to 'const unsigned char**'
> openssladapter.cc:651: error:   initializing argument 2 of 'ASN1_VALUE*
> ASN1_item_d2i(ASN1_VALUE**, const unsigned char**, long int, const
> ASN1_ITEM*)'
> openssladapter.cc:653: error: invalid conversion from 'unsigned char**'
> to 'const unsigned char**'
> openssladapter.cc: In static member function 'static SSL_CTX*
> cricket::OpenSSLAdapter::SetupSSLContext()':
> openssladapter.cc:775: error: invalid conversion from 'unsigned char**'
> to 'const unsigned char**'
> openssladapter.cc:775: error:   initializing argument 2 of 'X509*
> d2i_X509(X509**, const unsigned char**, long int)'
> make[3]: *** [openssladapter.lo] Error 1
> make[3]: Leaving directory `/root/dev/libjingle-0.3.0/talk/base'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/dev/libjingle-0.3.0/talk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/dev/libjingle-0.3.0'
> make: *** [all] Error 2
> r
>
> Does anyone have any idea whats going on?

This is a known problem.  It is one of the problems fixed by this
patch from the Tapioca people:

http://sourceforge.net/tracker/index.php?func=detail&aid=1454535&group_id=155094&atid=794430

Basically, the problem is that Google's version of libjingle has not
been updated to be compilable by gcc 4; there are some constructs
which are accepted by gcc 3 but rejected by gcc 4.

Magnus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-talk-open" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to