[stunnel-users] stunnel 4.36 compilation problems with Sun Studio compiler

Michal Trojnara Michal.Trojnara at mirt.net
Wed May 4 16:09:39 CEST 2011


Ross Richardson wrote:

> - in str.c, use of STR causes errors because /usr/include/sys/ 
> stropts.h
>  contains:
> 	#define      STR             ('S'<<8)
>  The this just requires replacing "STR" with something safer, such
>  as "XSTR".

Thank you.  I'll publish the changes with stunnel 4.37.

> - things fail horribly because SIZEOF_UNSIGNED_CHAR and friends get
>  defined to 0.  AFAICT, this happens because configure erroneously
>  decides that cc suports -pendantic (which it appears to, but
>  which causes linking to fail with the symbol "mcount" undefined).
>  The following patch works around this:

configure script is automatically generated from configure.ac.  I have  
updated this file to test allowed compiler options with AC_LINK_IFELSE  
instead of AC_COMPILE_IFELSE.  I'll publish the changes with stunnel  
4.37.

Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20110504/dd56f02e/attachment.sig>


More information about the stunnel-users mailing list