<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Geoff,</div><div><br></div><div>I'm afraid I currently don't have access to any AIX machine to test this.</div><div><br></div><div>Could anyone provide me with access to an AIX testing environment?</div><div><br></div><div>TIA,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Michal Trojnara</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div lang="EN-US" link="blue" vlink="purple"><div class="Section1"><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; ">Compiling on aix 5.3</span></font></p><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; ">./configure runs fine</span></font></p><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; ">when I run make I get this error...</span></font></p><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "> </span></font><br class="webkit-block-placeholder"></div><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; ">I am using the latest version of ssl.</span></font></p><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "> </span></font><br class="webkit-block-placeholder"></div><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "># make<br>Making all in src<br> source='env.c' object='env.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/sh ../auto/depcomp /bin/sh ../libtool --tag=CC --mode=compile cc -qlanglvl=ansi -DPACKAGE_NAME=\"stunnel\" -DPACKAGE_TARNAME=\"stunnel\" -DPACKAGE_VERSION=\"4.28\" -DPACKAGE_STRING=\"stunnel\ 4.28\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"stunnel\" -DVERSION=\"4.28\" -DHOST=\"powerpc-ibm-aix5.3.0.0\" -DCPU_POWERPC=1 -DVENDOR_IBM=1 -DOS_AIX5_3_0_0=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_PTS_AND_PTC=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_STROPTS_H=1 -DHAVE_GRP_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_STRUCT_MSGHDR_MSG_CONTROL=1 -DHAVE_MSGHDR_MSG_CONTROL=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\" -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='"/usr/local/var/run/stunnel/stunnel.pid"' -g -I/usr/include -c -o env.lo env.c<br> cc -qlanglvl=ansi -DPACKAGE_NAME=\"stunnel\" -DPACKAGE_TARNAME=\"stunnel\" -DPACKAGE_VERSION=\"4.28\" "-DPACKAGE_STRING=\"stunnel 4.28\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"stunnel\" -DVERSION=\"4.28\" -DHOST=\"powerpc-ibm-aix5.3.0.0\" -DCPU_POWERPC=1 -DVENDOR_IBM=1 -DOS_AIX5_3_0_0=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_PTS_AND_PTC=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_STROPTS_H=1 -DHAVE_GRP_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_STRUCT_MSGHDR_MSG_CONTROL=1 -DHAVE_MSGHDR_MSG_CONTROL=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\" -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=\"/usr/local/var/run/stunnel/stunnel.pid\" -g -I/usr/include -c -M env.c -DPIC -o .libs/env.o<br>"/usr/include/sys/socket.h", line 141.9: 1506-213 (S) Macro name getpeername cannot be redefined.<br>"/usr/include/sys/socket.h", line 141.9: 1506-358 (I) "getpeername" is defined on line 39 of env.c.<br>make: 1254-004 The error code from the last command is 1.<br> <br> <br>Stop.<br>make: 1254-004 The error code from the last command is 1.</span></font></p><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "> </span></font><br class="webkit-block-placeholder"></div><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "> Here is the configure</span></font></p><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "> </span></font><br class="webkit-block-placeholder"></div><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "># ./configure<br>configure: **************************************** initialization<br>checking for a BSD-compatible install... auto/install-sh -c<br>checking whether build environment is sane... yes<br>checking for gawk... no<br>checking for mawk... no<br>checking for nawk... nawk<br>checking whether make sets $(MAKE)... yes<br>checking build system type... powerpc-ibm-aix5.3.0.0<br>checking host system type... powerpc-ibm-aix5.3.0.0<br>checking for gcc... no<br>checking for cc... cc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables...<span class="Apple-converted-space"> </span><br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... no<br>checking whether cc accepts -g... yes<br>checking for cc option to accept ISO C89... -qlanglvl=ansi<br>checking for style of include used by make... GNU<br>checking dependency style of cc -qlanglvl=ansi... aix<br>checking for a BSD-compatible install... auto/install-sh -c<br>checking whether make sets $(MAKE)... (cached) yes<br>configure: **************************************** libtool<br>checking for a sed that does not truncate output... /usr/bin/sed<br>checking for grep that handles long lines and -e... /usr/bin/grep<br>checking for egrep... /usr/bin/grep -E<br>checking for non-GNU ld... /usr/bin/ld<br>checking if the linker (/usr/bin/ld) is GNU ld... no<br>checking for /usr/bin/ld option to reload object files... -r<br>checking for BSD-compatible nm... /usr/bin/nm -B<br>checking whether ln -s works... yes<br>checking how to recognize dependent libraries... pass_all<br>checking how to run the C preprocessor... cc -qlanglvl=ansi -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking dlfcn.h usability... yes<br>checking dlfcn.h presence... yes<br>checking for dlfcn.h... yes<br>checking for g++... no<br>checking for c++... no<br>checking for gpp... no<br>checking for aCC... no<br>checking for CC... no<br>checking for cxx... no<br>checking for cc++... no<br>checking for cl.exe... no<br>checking for FCC... no<br>checking for KCC... no<br>checking for RCC... no<br>checking for xlC_r... no<br>checking for xlC... no<br>checking whether we are using the GNU C++ compiler... no<br>checking whether g++ accepts -g... no<br>checking dependency style of g++... none<br>checking for g77... no<br>checking for xlf... no<br>checking for f77... no<br>checking for frt... no<br>checking for pgf77... no<br>checking for cf77... no<br>checking for fort77... no<br>checking for fl32... no<br>checking for af77... no<br>checking for xlf90... no<br>checking for f90... no<br>checking for pgf90... no<br>checking for pghpf... no<br>checking for epcf90... no<br>checking for gfortran... no<br>checking for g95... no<br>checking for xlf95... no<br>checking for f95... no<br>checking for fort... no<br>checking for ifort... no<br>checking for ifc... no<br>checking for efc... no<br>checking for pgf95... no<br>checking for lf95... no<br>checking for ftn... no<br>checking whether we are using the GNU Fortran 77 compiler... no<br>checking whether accepts -g... no<br>checking the maximum length of command line arguments... 18432<br>checking command to parse /usr/bin/nm -B output from cc -qlanglvl=ansi object... ok<br>checking for objdir... .libs<br>checking for ar... ar<br>checking for ranlib... ranlib<br>checking for strip... strip<br>checking for cc -qlanglvl=ansi option to produce PIC...<span class="Apple-converted-space"> </span><br>checking if cc -qlanglvl=ansi static flag -bnso -bI:/lib/syscalls.exp works... no<br>checking if cc -qlanglvl=ansi supports -c -o file.o... yes<br>checking whether the cc -qlanglvl=ansi linker (/usr/bin/ld) supports shared libraries... yes<br>checking dynamic linker characteristics... aix5.3.0.0 ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking whether stripping libraries is possible... no<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... yes<br>checking whether to build static libraries... no<br>configure: creating libtool<br>appending configuration tag "CXX" to libtool<br>appending configuration tag "F77" to libtool<br>configure: **************************************** types<br>checking for unsigned char... yes<br>checking size of unsigned char... 1<br>checking for unsigned short... yes<br>checking size of unsigned short... 2<br>checking for unsigned int... yes<br>checking size of unsigned int... 4<br>checking for unsigned long... yes<br>checking size of unsigned long... 4<br>checking for socklen_t... yes<br>configure: **************************************** PTY device files<br>checking for "/dev/ptmx"... no<br>checking for "/dev/ptc"... yes<br>configure: **************************************** entropy<br>checking for "/dev/urandom"... yes<br>configure: **************************************** default group<br>checking for default group... nobody<br>configure: **************************************** header files<br>checking ucontext.h usability... yes<br>checking ucontext.h presence... yes<br>checking for ucontext.h... yes<br>checking pthread.h usability... yes<br>checking pthread.h presence... yes<br>checking for pthread.h... yes<br>checking sys/select.h usability... yes<br>checking sys/select.h presence... yes<br>checking for sys/select.h... yes<br>checking poll.h usability... yes<br>checking poll.h presence... yes<br>checking for poll.h... yes<br>checking sys/poll.h usability... yes<br>checking sys/poll.h presence... yes<br>checking for sys/poll.h... yes<br>checking tcpd.h usability... no<br>checking tcpd.h presence... no<br>checking for tcpd.h... no<br>checking sys/ioctl.h usability... yes<br>checking sys/ioctl.h presence... yes<br>checking for sys/ioctl.h... yes<br>checking sys/filio.h usability... no<br>checking sys/filio.h presence... no<br>checking for sys/filio.h... no<br>checking stropts.h usability... yes<br>checking stropts.h presence... yes<br>checking for stropts.h... yes<br>checking grp.h usability... yes<br>checking grp.h presence... yes<br>checking for grp.h... yes<br>checking for unistd.h... (cached) yes<br>checking util.h usability... no<br>checking util.h presence... no<br>checking for util.h... no<br>checking libutil.h usability... no<br>checking libutil.h presence... no<br>checking for libutil.h... no<br>checking sys/resource.h usability... yes<br>checking sys/resource.h presence... yes<br>checking for sys/resource.h... yes<br>checking pty.h usability... no<br>checking pty.h presence... no<br>checking for pty.h... no<br>checking sys/socket.h usability... yes<br>checking sys/socket.h presence... yes<br>checking for sys/socket.h... yes<br>checking for struct msghdr.msg_control... yes<br>configure: **************************************** libraries<br>checking for library containing gethostbyname... none required<br>checking for library containing yp_get_default_domain... none required<br>checking for socket in -lsocket... no<br>checking for openpty in -lutil... no<br>checking for dlopen in -ldl... yes<br>checking for shl_load in -ldld... no<br>checking for inflateEnd in -lz... yes<br>configure: **************************************** thread model<br>checking for pthread_create in -lc_r... no<br>checking for pthread_create in -lpthread... yes<br>configure: PTHREAD thread model detected<br>configure: **************************************** library functions<br>checking for snprintf... yes<br>checking for vsnprintf... yes<br>checking for openpty... no<br>checking for _getpty... no<br>checking for daemon... no<br>checking for waitpid... yes<br>checking for wait4... yes<br>checking for setsid... yes<br>checking for setgroups... yes<br>checking for chroot... yes<br>checking for sysconf... yes<br>checking for getrlimit... yes<br>checking for pthread_sigmask... yes<br>checking for localtime_r... yes<br>checking for getcontext... yes<br>checking for __makecontext_v2... no<br>checking for poll... yes<br>checking for endhostent... yes<br>checking for getnameinfo... yes<br>checking for getaddrinfo... yes<br>checking for broken poll() implementation... no<br>configure: **************************************** SSL<br>checking for SSL directory... /usr<br>checking for obsolete RSAref library... no<br>checking /usr/include/openssl/engine.h usability... yes<br>checking /usr/include/openssl/engine.h presence... yes<br>checking for /usr/include/openssl/engine.h... yes<br>configure: **************************************** optional features<br>checking whether to disable RSA support... no<br>checking whether to enable DH support... no<br>checking whether to enable IPv6 support... yes<br>checking whether to disable TCP wrappers library support... autodetecting<br>checking for hosts_access in -lwrap... no<br>checking whether to enable FIPS mode support... autodetecting<br>checking for FIPS_mode_set... no<br>configure: **************************************** write the results<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating src/Makefile<br>config.status: creating src/stunnel3<br>config.status: creating doc/Makefile<br>config.status: creating tools/Makefile<br>config.status: creating tools/stunnel.conf-sample<br>config.status: creating tools/stunnel.init<br>config.status: executing depfiles commands<br>configure: **************************************** success<br> </span></font></p><p class="MsoNormal" style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; "><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> </span></font></p></div>_______________________________________________<br>stunnel-users mailing list<br><a href="mailto:stunnel-users@mirt.net" style="color: blue; text-decoration: underline; ">stunnel-users@mirt.net</a><br><a href="http://stunnel.mirt.net/mailman/listinfo/stunnel-users" style="color: blue; text-decoration: underline; ">http://stunnel.mirt.net/mailman/listinfo/stunnel-users</a><br></div></span></blockquote></div><br></body></html>