Michael, Dagobert,
I get the same error under OS X.
On Nov 2, 2015, at 7:38 AM, Dagobert Michelsen dam@opencsw.org wrote:
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
-- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
Marius -- Marius Schamschula