[gnutls-dev] Patch for 0.9.5 for building with Forte 6 update 2 on Solaris/Sparc

Nikos Mavroyanopoulos nmav at gnutls.org
Fri May 9 17:11:02 CEST 2003


On Tue, May 06, 2003 at 11:56:36AM +0800, Sean Gao wrote:

> Hi, there
>    Just completing building 0.9.5 on Solaris with Forte 6 update 2, 
> and  I have done some modifications
> before success.  Attached is a proposed patch, and here are some 
> comments:   
>    1.  gnutls-0.9.5/includes/gnutls/openssl.h          forte seems not 
> accepting an empty struct without any member ...
>         gnutls-0.9.5/lib/gnutls_cipher.c                   the const 
> keyword makes forte failing
>         gnutls-0.9.5/libextra/gnutls_srp.c                the "return 
> FUNCTION();"  is not accept for a void return type function.
>    2.  Even if I define __BUILTIN_VA_ARG_INCR or  __sparc, it seems 
> that the including header file
>         /usr/include/alloca.h is not preprocessed as expected since it 
> always says that alloca is an undefined
>         symbol during linking process ....  I have to do some changes, 
> but my approach seems work-around
>         only, hope you guys can help to correct me.  Thanks,  :-)
>    3.  In the file gnutls-0.9.5.new/lib/x509/x509.c, if not giving 
> tmp.data a value, it will cause core dump ...
>         It should be a neglect forgetting to do so.,
> Hope these could be some helpful and be taken into account

Thank you. Most of them have been solved now in the cvs, and they
will be included in the next 0.9.x release.

> 
> Cheers,
> -Sean


-- 
Nikos Mavroyanopoulos




More information about the Gnutls-devel mailing list