[stunnel-users] Compile failure with 4.15

MeeAGhost meeaghost at gmail.com
Mon Mar 13 17:37:33 CET 2006

I ran
./configure --enable-dh --disable-libwrap
then when I try to execute make the build fails:
if gcc -DPACKAGE_NAME=\"stunnel\" -DPACKAGE_TARNAME=\"stunnel\"
-DPACKAGE_VERSION=\"4.15\" -DPACKAGE_STRING=\"stunnel\ 4.15\"
-DHOST=\"sparc-sun-solaris2.9\" -DCPU_SPARC=1 -DVENDOR_SUN=1
-Dssldir=\"/usr/local\" -DHAVE_OSSL_ENGINE_H=1
-DUSE_DH=1  -I. -I. -I/usr/kerberos/include
-DLIBDIR='"/usr/local/lib"' -DCONFDIR='"/usr/local/etc/stunnel"'
-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"'   -g -O2 -Wall
-Wshadow -Wcast-align -Wpointer-arith -I/usr/local/include -MT ctx.o
-MD -MP -MF ".deps/ctx.Tpo" -c -o ctx.o ctx.c; \
then mv -f ".deps/ctx.Tpo" ".deps/ctx.Po"; else rm -f ".deps/ctx.Tpo";
exit 1; fi
ctx.c: In function `init_dh':
ctx.c:170: error: `section' undeclared (first use in this function)
ctx.c:170: error: (Each undeclared identifier is reported only once
ctx.c:170: error: for each function it appears in.)
ctx.c:198: error: `ctx' undeclared (first use in this function)
ctx.c: In function `crl_callback':
ctx.c:491: warning: cast increases required alignment of target type
make[1]: *** [ctx.o] Error 1
make[1]: Leaving directory `/tmp/stunnel-4.15/src'
make: *** [all-recursive] Error 1

I checked ctx.c and couldn't see where section and ctx are being
defined inside of the init_dh function nor could I see them defined in
the header files.  Am I missing something?

TIA for any assistance.

-- Chris

More information about the stunnel-users mailing list