Hi everyone<br><br>I try to compile stunnel, but it fails.<br><br>Actually, it tells me about a parse error inside signal.h, and i think it's a falsePositive.<br><br>The configure works great and nothing look strange inside the configure.log.<br>
<br>I also tried to googled those errors, but didn't find any clues.<br><br>My server is a sunOS 10 and the src were taken from <a href="http://www.stunnel.org/download/stunnel/src/stunnel-4.26.tar.gz">http://www.stunnel.org/download/stunnel/src/stunnel-4.26.tar.gz</a><br>
<br>My version of openssl :<br>OpenSSL 0.9.7.d<br><br>Here are the errors, after the make command :<br><br>/stunnel-4.26 root# make<br>Making all in src<br>make[1]: Entering directory `/root/syslogNG/stunnel-4.26/src'<br>
if gcc -DPACKAGE_NAME=\"stunnel\" -DPACKAGE_TARNAME=\"stunnel\" -DPACKAGE_VERSION=\"4.26\" -DPACKAGE_STRING=\"stunnel\ 4.26\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"stunnel\" -DVERSION=\"4.26\" -DHOST=\"i386-pc-solaris2.10\" -DCPU_I386=1 -DVENDOR_PC=1 -DOS_SOLARIS2_10=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_UNSIGNED_CHAR=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DHAVE_DEV_PTMX=1 -DRANDOM_FILE=\"/dev/urandom\" -DHAVE_UCONTEXT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_STROPTS_H=1 -DHAVE_GRP_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBDL=1 -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DUSE_PTHREAD=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_WAITPID=1 -DHAVE_WAIT4=1 -DHAVE_SETSID=1 -DHAVE_SETGROUPS=1 -DHAVE_CHROOT=1 -DHAVE_SYSCONF=1 -DHAVE_GETRLIMIT=1 -DHAVE_PTHREAD_SIGMASK=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GETCONTEXT=1 -DHAVE_POLL=1 -DHAVE_ENDHOSTENT=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_OPENSSL=1 -Dssldir=\"/usr/local/ssl\" -DHAVE_OSSL_ENGINE_H=1 -DUSE_IPv6=1 -I. -I. -I/usr/kerberos/include -DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' -DPIDFILE='"/var/run/stunnel/run/stunnel/stunnel.pid"'   -g -O2 -Wall -Wshadow -Wcast-align -Wpointer-arith -I/usr/local/ssl/include -MT file.o -MD -MP -MF ".deps/file.Tpo" -c -o file.o file.c; \<br>
then mv -f ".deps/file.Tpo" ".deps/file.Po"; else rm -f ".deps/file.Tpo"; exit 1; fi<br><b>In file included from /usr/include/sys/signal.h:34,</b><br>                 from /usr/include/signal.h:26,<br>
                 from common.h:250,<br>                 from file.c:38:<br>/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"<br>/usr/include/sys/siginfo.h:292: error: parse error before '}' token<br>
/usr/include/sys/siginfo.h:294: error: parse error before '}' token<br>/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"<br>/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'<br>
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'<br>/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'<br>/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'<br>
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'<br>/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'<br>/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'<br>
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'<br>/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'<br>/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'<br>
/usr/include/sys/siginfo.h:426: error: parse error before '}' token<br>/usr/include/sys/siginfo.h:428: error: parse error before '}' token<br>/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"<br>
/usr/include/sys/siginfo.h:437: error: parse error before '}' token<br>In file included from /usr/include/signal.h:26,<br>                 from common.h:250,<br>                 from file.c:38:<br>/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"<br>
In file included from common.h:250,<br>                 from file.c:38:<br>/usr/include/signal.h:111: error: parse error before "siginfo_t"<br>/usr/include/signal.h:113: error: parse error before "siginfo_t"<br>
In file included from common.h:251,<br>                 from file.c:38:<br>/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"<br>make[1]: *** [file.o] Error 1<br>make[1]: Leaving directory `/root/syslogNG/stunnel-4.26/src'<br>
make: *** [all-recursive] Error 1<br><br><br>Is that normal that i've 2 signal.h files ?<br>