[stunnel-users] num_clients Undeclared

Abdelkader Chelouah a.chelouah at gmail.com
Sat Oct 11 17:50:35 CEST 2014


Hello,

Build of stunnel 5.04 and 5.05 failed on RHEL 6.2 (prior to 5.04, the 
build succeded)

...
gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include 
-I/logiciels/postgresql/9.3/lib/openssl/include 
-DLIBDIR='"/logiciels/postgresql/9.3/lib/stunnel/lib/stunnel"' 
-DCONFDIR='"/logiciels/postgresql/9.3/lib/stunnel/etc/stunnel"' 
-I/logiciels/postgresql/9.3/include 
-I/logiciels/postgresql/9.3/lib/openssl/include 
-I/logiciels/postgresql/9.3/lib/krb5/include 
-I/logiciels/postgresql/9.3/lib/cyrus-sasl/include -pthread 
-fstack-protector -fPIE -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=nocona 
-Wall -Wextra -Wno-long-long -pedantic -MT stunnel-stunnel.o -MD -MP -MF 
.deps/stunnel-stunnel.Tpo -c -o stunnel-stunnel.o `test -f 'stunnel.c' 
|| echo './'`stunnel.c
stunnel.c: In function ‘main_configure’:
stunnel.c:150: error: ‘num_clients’ undeclared (first use in this function)
stunnel.c:150: error: (Each undeclared identifier is reported only once
stunnel.c:150: error: for each function it appears in.)
stunnel.c: At top level:
stunnel.c:533: warning: expected [error|warning|ignored] after ‘#pragma 
GCC diagnostic’
stunnel.c:534: warning: unknown option after ‘#pragma GCC diagnostic’ kind
stunnel.c: In function ‘signal_post’:
stunnel.c:538: warning: ignoring return value of ‘write’, declared with 
attribute warn_unused_result
stunnel.c: At top level:
stunnel.c:541: warning: expected [error|warning|ignored] after ‘#pragma 
GCC diagnostic’
make[2]: *** [stunnel-stunnel.o] Error 1
make[2]: Leaving directory `/ESA/build/stunnel-5.05/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/ESA/build/stunnel-5.05/src'
make: *** [all-recursive] Error 1

It seems that the 'num_clients' variable is undeclared in the 
main_configure function.

Thank you





More information about the stunnel-users mailing list