[stunnel-users] Help in making stunnel please.
Michal Trojnara
Michal.Trojnara at mirt.net
Thu Nov 26 08:19:38 CET 2009
Geoff,
I'm afraid I currently don't have access to any AIX machine to test
this.
Could anyone provide me with access to an AIX testing environment?
TIA,
Michal Trojnara
> Compiling on aix 5.3
>
> ./configure runs fine
>
> when I run make I get this error...
>
>
> I am using the latest version of ssl.
>
>
> # make
> Making all in src
> 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
> 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
> "/usr/include/sys/socket.h", line 141.9: 1506-213 (S) Macro name
> getpeername cannot be redefined.
> "/usr/include/sys/socket.h", line 141.9: 1506-358 (I) "getpeername"
> is defined on line 39 of env.c.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 1.
>
>
> Here is the configure
>
>
> # ./configure
> configure: **************************************** initialization
> checking for a BSD-compatible install... auto/install-sh -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking build system type... powerpc-ibm-aix5.3.0.0
> checking host system type... powerpc-ibm-aix5.3.0.0
> checking for gcc... no
> checking for cc... cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... no
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... -qlanglvl=ansi
> checking for style of include used by make... GNU
> checking dependency style of cc -qlanglvl=ansi... aix
> checking for a BSD-compatible install... auto/install-sh -c
> checking whether make sets $(MAKE)... (cached) yes
> configure: **************************************** libtool
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for non-GNU ld... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... yes
> checking how to recognize dependent libraries... pass_all
> checking how to run the C preprocessor... cc -qlanglvl=ansi -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking for g++... no
> checking for c++... no
> checking for gpp... no
> checking for aCC... no
> checking for CC... no
> checking for cxx... no
> checking for cc++... no
> checking for cl.exe... no
> checking for FCC... no
> checking for KCC... no
> checking for RCC... no
> checking for xlC_r... no
> checking for xlC... no
> checking whether we are using the GNU C++ compiler... no
> checking whether g++ accepts -g... no
> checking dependency style of g++... none
> checking for g77... no
> checking for xlf... no
> checking for f77... no
> checking for frt... no
> checking for pgf77... no
> checking for cf77... no
> checking for fort77... no
> checking for fl32... no
> checking for af77... no
> checking for xlf90... no
> checking for f90... no
> checking for pgf90... no
> checking for pghpf... no
> checking for epcf90... no
> checking for gfortran... no
> checking for g95... no
> checking for xlf95... no
> checking for f95... no
> checking for fort... no
> checking for ifort... no
> checking for ifc... no
> checking for efc... no
> checking for pgf95... no
> checking for lf95... no
> checking for ftn... no
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether accepts -g... no
> checking the maximum length of command line arguments... 18432
> checking command to parse /usr/bin/nm -B output from cc -
> qlanglvl=ansi object... ok
> checking for objdir... .libs
> checking for ar... ar
> checking for ranlib... ranlib
> checking for strip... strip
> checking for cc -qlanglvl=ansi option to produce PIC...
> checking if cc -qlanglvl=ansi static flag -bnso -bI:/lib/
> syscalls.exp works... no
> checking if cc -qlanglvl=ansi supports -c -o file.o... yes
> checking whether the cc -qlanglvl=ansi linker (/usr/bin/ld) supports
> shared libraries... yes
> checking dynamic linker characteristics... aix5.3.0.0 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... no
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> appending configuration tag "F77" to libtool
> configure: **************************************** types
> checking for unsigned char... yes
> checking size of unsigned char... 1
> checking for unsigned short... yes
> checking size of unsigned short... 2
> checking for unsigned int... yes
> checking size of unsigned int... 4
> checking for unsigned long... yes
> checking size of unsigned long... 4
> checking for socklen_t... yes
> configure: **************************************** PTY device files
> checking for "/dev/ptmx"... no
> checking for "/dev/ptc"... yes
> configure: **************************************** entropy
> checking for "/dev/urandom"... yes
> configure: **************************************** default group
> checking for default group... nobody
> configure: **************************************** header files
> checking ucontext.h usability... yes
> checking ucontext.h presence... yes
> checking for ucontext.h... yes
> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking sys/select.h usability... yes
> checking sys/select.h presence... yes
> checking for sys/select.h... yes
> checking poll.h usability... yes
> checking poll.h presence... yes
> checking for poll.h... yes
> checking sys/poll.h usability... yes
> checking sys/poll.h presence... yes
> checking for sys/poll.h... yes
> checking tcpd.h usability... no
> checking tcpd.h presence... no
> checking for tcpd.h... no
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking sys/filio.h usability... no
> checking sys/filio.h presence... no
> checking for sys/filio.h... no
> checking stropts.h usability... yes
> checking stropts.h presence... yes
> checking for stropts.h... yes
> checking grp.h usability... yes
> checking grp.h presence... yes
> checking for grp.h... yes
> checking for unistd.h... (cached) yes
> checking util.h usability... no
> checking util.h presence... no
> checking for util.h... no
> checking libutil.h usability... no
> checking libutil.h presence... no
> checking for libutil.h... no
> checking sys/resource.h usability... yes
> checking sys/resource.h presence... yes
> checking for sys/resource.h... yes
> checking pty.h usability... no
> checking pty.h presence... no
> checking for pty.h... no
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking for struct msghdr.msg_control... yes
> configure: **************************************** libraries
> checking for library containing gethostbyname... none required
> checking for library containing yp_get_default_domain... none required
> checking for socket in -lsocket... no
> checking for openpty in -lutil... no
> checking for dlopen in -ldl... yes
> checking for shl_load in -ldld... no
> checking for inflateEnd in -lz... yes
> configure: **************************************** thread model
> checking for pthread_create in -lc_r... no
> checking for pthread_create in -lpthread... yes
> configure: PTHREAD thread model detected
> configure: **************************************** library functions
> checking for snprintf... yes
> checking for vsnprintf... yes
> checking for openpty... no
> checking for _getpty... no
> checking for daemon... no
> checking for waitpid... yes
> checking for wait4... yes
> checking for setsid... yes
> checking for setgroups... yes
> checking for chroot... yes
> checking for sysconf... yes
> checking for getrlimit... yes
> checking for pthread_sigmask... yes
> checking for localtime_r... yes
> checking for getcontext... yes
> checking for __makecontext_v2... no
> checking for poll... yes
> checking for endhostent... yes
> checking for getnameinfo... yes
> checking for getaddrinfo... yes
> checking for broken poll() implementation... no
> configure: **************************************** SSL
> checking for SSL directory... /usr
> checking for obsolete RSAref library... no
> checking /usr/include/openssl/engine.h usability... yes
> checking /usr/include/openssl/engine.h presence... yes
> checking for /usr/include/openssl/engine.h... yes
> configure: **************************************** optional features
> checking whether to disable RSA support... no
> checking whether to enable DH support... no
> checking whether to enable IPv6 support... yes
> checking whether to disable TCP wrappers library support...
> autodetecting
> checking for hosts_access in -lwrap... no
> checking whether to enable FIPS mode support... autodetecting
> checking for FIPS_mode_set... no
> configure: **************************************** write the results
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating src/stunnel3
> config.status: creating doc/Makefile
> config.status: creating tools/Makefile
> config.status: creating tools/stunnel.conf-sample
> config.status: creating tools/stunnel.init
> config.status: executing depfiles commands
> configure: **************************************** success
>
>
>
> _______________________________________________
> stunnel-users mailing list
> stunnel-users at mirt.net
> http://stunnel.mirt.net/mailman/listinfo/stunnel-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20091126/fa708d5c/attachment.html>
More information about the stunnel-users
mailing list