Hi Michal,
Am 02.11.2015 um 14:16 schrieb Michal Trojnara Michal.Trojnara@mirt.net:
I have released version 5.25 of stunnel.
The latest release of stunnel does not build on Solaris any more:
/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/opt/csw/include -DLIBDIR='"/opt/csw/lib/stunnel"' -DCONFDIR='"/etc/opt/csw/stunnel"' -I/opt/csw/include -xO3 -m32 -xarch=sparc -mt -D_REENTRANT -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-client.o `test -f 'client.c' || echo './'`client.c "client.c", line 1245: undefined symbol: environ "client.c", line 1245: warning: improper pointer/integer combination: op "=" cc: acomp failed for client.c
In Solaris a definition similar to this is needed in client.c: extern char **environ;
Additionally, in network.c the definition of INT_MAX is missing which is for Solaris in <limits.h>.
Apart from that the build succeeds.
Best regards
— Dago