curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: curl 7.66.0 to 7.76.0 yield make error: `sa_family_t' undeclared

From: Henrik Holst via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 19 Apr 2021 17:54:11 +0200

Hi,

  AFAIK a sa_family_t should be equivalent to a unsigned short (or perhaps
rather uint16_t)

/HH

Den mån 19 apr. 2021 kl 17:46 skrev Kevin R. Bulgrien via curl-library <
curl-library_at_cool.haxx.se>:

> Having successfully built recent versions of curl on a very old UNIX
> (SCO OpenServer 5.0.7) for some time, it is disappointing to discover
> that the latest official release I can build at this time is now 7.65.3.
>
> Every build for releases after 7.65.3 fail with a message similar to:
>
> $ make
> Making all in lib
> make[1]: Entering directory '/csdi/src/sco507/curl/curl-7.66.0/lib'
> make all-am
> make[2]: Entering directory '/csdi/src/sco507/curl/curl-7.66.0/lib'
> CC libcurl_la-connect.lo
> connect.c: In function `Curl_addr2string':
> connect.c:668: error: `sa_family_t' undeclared (first use in this function)
> connect.c:668: error: (Each undeclared identifier is reported only once
> connect.c:668: error: for each function it appears in.)
> make[2]: *** [Makefile:1852: libcurl_la-connect.lo] Error 1
> make[2]: Leaving directory '/csdi/src/sco507/curl/curl-7.66.0/lib'
> make[1]: *** [Makefile:1046: all] Error 2
> make[1]: Leaving directory '/csdi/src/sco507/curl/curl-7.66.0/lib'
> make: *** [Makefile:946: all-recursive] Error 1
>
> A self-built gcc-3.4.6 is used vs. the vendor-supplied 2.95.3.
>
> The configure statement used is consistent with what has worked
> in the past:
>
> CFLAGS="-static" \
> ./configure \
> --disable-threaded-resolver --with-libssh2 \
> --enable-shared --enable-static --prefix=${PKG_PRFX}
>
> This is where the problem occurs:
>
> #if defined(HAVE_SYS_UN_H) && defined(AF_UNIX)
> case AF_UNIX:
> if(salen > sizeof(sa_family_t)) {
> su = (struct sockaddr_un*)sa;
> msnprintf(addr, MAX_IPADR_LEN, "%s", su->sun_path);
> }
> else
> addr[0] = 0; /* socket with no name */
> *port = 0;
> return TRUE;
> #endif
>
> In 2018, a patch for include/curl/system.h allowed building recent releases
> on SCO OpenServer 5.0.7:
>
> -#elif defined(__GNUC__)
> +#elif defined(__GNUC__) && !defined(_SCO_DS)
> ...
> #else
> /* generic "safe guess" on old 32 bit style */
> # define CURL_TYPEOF_CURL_OFF_T long
> # define CURL_FORMAT_CURL_OFF_T "ld"
> # define CURL_FORMAT_CURL_OFF_TU "lu"
> # define CURL_SUFFIX_CURL_OFF_T L
> # define CURL_SUFFIX_CURL_OFF_TU UL
> # define CURL_TYPEOF_CURL_SOCKLEN_T int
> #endif
>
> Is there perhaps a generic, "safe guess" for this, or some idea on how
> to start to break this down or avoid it altogether. It is unfortunate
> that ./configure doesn't detect this.
>
> Full make and ./configure output for 7.76.0 follows.
>
> --
>
> make:
>
> Making all in lib
> make[1]: Entering directory '/csdi/src/sco507/curl/curl-7.76.0/lib'
> make all-am
> make[2]: Entering directory '/csdi/src/sco507/curl/curl-7.76.0/lib'
> CC libcurl_la-altsvc.lo
> CC libcurl_la-amigaos.lo
> CC libcurl_la-asyn-ares.lo
> CC libcurl_la-asyn-thread.lo
> CC libcurl_la-base64.lo
> CC libcurl_la-c-hyper.lo
> CC libcurl_la-conncache.lo
> CC libcurl_la-connect.lo
> connect.c: In function `Curl_addr2string':
> connect.c:663: error: `sa_family_t' undeclared (first use in this function)
> connect.c:663: error: (Each undeclared identifier is reported only once
> connect.c:663: error: for each function it appears in.)
> make[2]: *** [Makefile:2011: libcurl_la-connect.lo] Error 1
> make[2]: Leaving directory '/csdi/src/sco507/curl/curl-7.76.0/lib'
> make[1]: *** [Makefile:1346: all] Error 2
> make[1]: Leaving directory '/csdi/src/sco507/curl/curl-7.76.0/lib'
> make: *** [Makefile:1255: all-recursive] Error 1
>
> --
>
> configure:
>
> $ cd ${PKG_HOME}/${PKG_LONG_NAME}; \
> > CFLAGS="-static" \
> > ./configure \
> > --disable-threaded-resolver --with-libssh2 \
> > --enable-shared --enable-static --prefix=${PKG_PRFX} \
> > 2>&1 | tee ${PKG_HOME}/${PKG_NAME}-${PKG_VRSN}-configure.out
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking whether make supports nested variables... yes
> checking whether to enable debug build options... no
> checking whether to enable compiler optimizer... (assumed) yes
> checking whether to enable strict compiler warnings... no
> checking whether to enable compiler warnings as errors... no
> checking whether to enable curl debug memory tracking... no
> checking whether to enable hiding of library internal symbols... yes
> checking whether to enable c-ares for DNS lookups... no
> checking whether to disable dependency on -lrt... (assumed no)
> checking whether to enable ECH support... no
> checking for path separator... :
> checking for sed... /usr/local/bin/sed
> checking for grep... /usr/local/bin/grep
> checking for egrep... /usr/local/bin/grep -E
> checking for ar... /usr/local/bin/ar
> checking for a BSD-compatible install... /usr/gnu/bin/ginstall -c
> checking for gcc... /usr/local/bin/gcc-3.4.6
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /usr/local/bin/gcc-3.4.6 accepts -g... yes
> checking for /usr/local/bin/gcc-3.4.6 option to accept ISO C89... none
> needed
> checking whether /usr/local/bin/gcc-3.4.6 understands -c and -o
> together... yes
> checking how to run the C preprocessor... /usr/local/bin/gcc-3.4.6 -E
> checking for a sed that does not truncate output... (cached)
> /usr/local/bin/sed
> checking for code coverage support... no
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of /usr/local/bin/gcc-3.4.6... gcc3
> usage: rm [-fiRr] file...
> Oops!
>
> Your 'rm' program seems unable to run without file operands specified
> on the command line, even when the '-f' option is present. This is
> contrary
> to the behaviour of most rm programs out there, and not conforming with
> the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
>
> Please tell bug-automake_at_gnu.org about your system, including the value
> of your $PATH and any error possibly output before this message. This
> can help us improve future automake versions.
>
> Configuration will proceed anyway, since you have set the
> ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"
>
> checking curl version... 7.76.0
> checking build system type... i686-pc-sco3.2v5.0.7
> checking host system type... i686-pc-sco3.2v5.0.7
> checking for grep that handles long lines and -e... (cached)
> /usr/local/bin/grep
> checking for egrep... /usr/local/bin/grep -E
> checking if OS is AIX (to define _ALL_SOURCE)... no
> checking if _THREAD_SAFE is already defined... no
> checking if _THREAD_SAFE is actually needed... no
> checking if _THREAD_SAFE is onwards defined... no
> checking if _REENTRANT is already defined... no
> checking if _REENTRANT is actually needed... yes
> checking if _REENTRANT is onwards defined... yes
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... unknown
> checking for _LARGE_FILES value needed for large files... unknown
> checking how to print strings... print -r
> checking for a sed that does not truncate output... (cached)
> /usr/local/bin/sed
> checking for fgrep... /usr/local/bin/grep -F
> checking for ld used by /usr/local/bin/gcc-3.4.6... /usr/ccs/bin/elf/ld
> checking if the linker (/usr/ccs/bin/elf/ld) is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
> checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 102400
> checking how to convert i686-pc-sco3.2v5.0.7 file names to
> i686-pc-sco3.2v5.0.7 format... func_convert_file_noop
> checking how to convert i686-pc-sco3.2v5.0.7 file names to toolchain
> format... func_convert_file_noop
> checking for /usr/ccs/bin/elf/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... print -r --
> checking for archiver _at_FILE support... _at_
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/local/bin/nm -B output from
> /usr/local/bin/gcc-3.4.6 object... ok
> checking for sysroot... no
> checking for a working dd... /bin/dd
> checking how to truncate binary pipes... /bin/dd bs=4096 count=1
> checking whether the C compiler needs -belf... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> 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 for dlfcn.h... yes
> checking for objdir... .libs
> checking if /usr/local/bin/gcc-3.4.6 supports -fno-rtti -fno-exceptions...
> no
> checking for /usr/local/bin/gcc-3.4.6 option to produce PIC... -fPIC -DPIC
> checking if /usr/local/bin/gcc-3.4.6 PIC flag -fPIC -DPIC works... yes
> checking if /usr/local/bin/gcc-3.4.6 static flag -static works... no
> checking if /usr/local/bin/gcc-3.4.6 supports -c -o file.o... yes
> checking if /usr/local/bin/gcc-3.4.6 supports -c -o file.o... (cached) yes
> checking whether the /usr/local/bin/gcc-3.4.6 linker (/usr/ccs/bin/elf/ld)
> supports shared libraries... yes
> checking dynamic linker characteristics... sco3.2v5.0.7 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether to build shared libraries with -version-info... yes
> checking whether to build shared libraries with -no-undefined... no
> checking whether to build shared libraries with -mimpure-text... no
> checking whether to build shared libraries with PIC... yes
> checking whether to build static libraries with PIC... no
> checking whether to build shared libraries only... no
> checking whether to build static libraries only... no
> checking for inline... inline
> checking if cpp -P is needed... no
> checking if compiler is DEC/Compaq/HP C... no
> checking if compiler is HP-UX C... no
> checking if compiler is IBM C... no
> checking if compiler is Intel C... no
> checking if compiler is clang... no
> checking if compiler is GNU C... yes
> checking if compiler is LCC... no
> checking if compiler is SGI MIPSpro C... no
> checking if compiler is SGI MIPS C... no
> checking if compiler is SunPro C... no
> checking if compiler is Tiny C... no
> checking if compiler is Watcom C... no
> checking if compiler accepts some basic options... yes
> configure: compiler options added: -Werror-implicit-function-declaration
> checking if compiler accepts debug disabling options... yes
> configure: compiler options added:
> checking if compiler optimizer assumed setting might be used... yes
> checking if compiler accepts optimizer enabling options... yes
> configure: compiler options added: -O2
> checking if compiler accepts strict warning options... yes
> configure: compiler options added: -Wno-system-headers
> checking if compiler halts on compilation errors... yes
> checking if compiler halts on negative sized arrays... yes
> checking if compiler halts on function prototype mismatch... yes
> checking if compiler supports hiding library internal symbols... no
> checking for windows.h... no
> checking whether build target is a native Windows one... no
> checking whether build target supports WIN32 file API... no
> checking whether build target supports WIN32 crypto API... no
> checking for good-to-use Mac CFLAGS... no
> checking to see if the compiler supports __builtin_available()... no
> checking whether to support http... yes
> checking whether to support ftp... yes
> checking whether to support file... yes
> checking whether to support ldap... yes
> checking whether to support ldaps... yes
> checking whether to support rtsp... yes
> checking whether to support proxies... yes
> checking whether to support dict... yes
> checking whether to support telnet... yes
> checking whether to support tftp... yes
> checking whether to support pop3... yes
> checking whether to support imap... yes
> checking whether to support smb... yes
> checking whether to support smtp... yes
> checking whether to support gopher... yes
> checking whether to support mqtt... no
> checking whether to provide built-in manual... yes
> checking whether to enable generation of C code... yes
> checking whether to use libgcc... no
> checking if X/Open network library is required... no
> checking for gethostbyname... no
> checking for gethostbyname in -lnsl... no
> checking for gethostbyname in -lsocket... yes
> checking for windows.h... (cached) no
> checking for winsock.h... (cached) no
> checking for winsock2.h... (cached) no
> checking for proto/bsdsocket.h... no
> checking for connect in libraries... yes
> checking for sys/types.h... (cached) yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking time.h usability... yes
> checking time.h presence... yes
> checking for time.h... yes
> checking for monotonic clock_gettime... no
> checking for pkg-config... /usr/bin/pkg-config
> checking for zlib options with pkg-config... found
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> configure: found both libz and libz.h header
> checking for BrotliDecoderDecompress in -lbrotlidec... no
> checking brotli/decode.h usability... no
> checking brotli/decode.h presence... no
> checking for brotli/decode.h... no
> checking for ZSTD_createDStream in -lzstd... no
> checking zstd.h usability... no
> checking zstd.h presence... no
> checking for zstd.h... no
> checking for lber.h... yes
> checking for ldap.h... yes
> checking for ldapssl.h... no
> checking for ldap_ssl.h... no
> checking for LDAP libraries... cannot find LDAP libraries
> configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled
> checking whether to enable IPv6... no
> checking if argv can be written to... yes
> checking if GSS-API support is requested... no
> checking whether to enable Windows native SSL/TLS (Windows native builds
> only)... no
> checking whether to enable Secure Transport... no
> checking whether to enable Amiga native SSL/TLS (AmiSSL)... no
> checking for pkg-config... (cached) /usr/bin/pkg-config
> checking for openssl options with pkg-config... found
> configure: pkg-config: SSL_LIBS: "-lssl -lcrypto "
> configure: pkg-config: SSL_LDFLAGS: "-L/usr/local/lib "
> configure: pkg-config: SSL_CPPFLAGS: "-I/usr/local/include "
> checking for HMAC_Update in -lcrypto... yes
> checking for SSL_connect in -lssl... yes
> checking openssl/x509.h usability... yes
> checking openssl/x509.h presence... yes
> checking for openssl/x509.h... yes
> checking openssl/rsa.h usability... yes
> checking openssl/rsa.h presence... yes
> checking for openssl/rsa.h... yes
> checking openssl/crypto.h usability... yes
> checking openssl/crypto.h presence... yes
> checking for openssl/crypto.h... yes
> checking openssl/pem.h usability... yes
> checking openssl/pem.h presence... yes
> checking for openssl/pem.h... yes
> checking openssl/ssl.h usability... yes
> checking openssl/ssl.h presence... yes
> checking for openssl/ssl.h... yes
> checking openssl/err.h usability... yes
> checking openssl/err.h presence... yes
> checking for openssl/err.h... yes
> checking for RAND_egd... yes
> checking for SSLv2_client_method... yes
> checking for OpenSSL_version... no
> checking for BoringSSL... no
> checking for libressl... no
> checking for OpenSSL >= v3... no
> configure: Added /usr/local/lib to CURL_LIBRARY_PATH
> checking for OpenSSL headers version... 1.0.2 - 0x1000211fL
> checking for OpenSSL library version... 1.0.2
> checking for OpenSSL headers and library versions matching... yes
> checking for "/dev/urandom"... no
> checking for SRP_Calc_client_key in -lcrypto... yes
> configure: built with one SSL backend
> checking default CA cert bundle/path... no
> checking whether to use builtin CA store of SSL library... no
> checking for library containing psl_builtin... no
> configure: WARNING: libpsl was not found
> checking for library containing gsasl_init... no
> configure: WARNING: libgsasl was not found
> checking for pkg-config... (cached) /usr/bin/pkg-config
> checking for libssh2 options with pkg-config... found
> checking for libssh2_session_block_directions in -lssh2... yes
> checking libssh2.h usability... yes
> checking libssh2.h presence... yes
> checking for libssh2.h... yes
> configure: Added /usr/local/lib to CURL_LIBRARY_PATH
> checking for RTMP_Init in -lrtmp... no
> checking whether versioned symbols are wanted... no
> checking whether to enable Windows native IDN (Windows native builds
> only)... no
> checking whether to build with libidn2... (assumed) yes
> checking for pkg-config... (cached) /usr/bin/pkg-config
> checking for libidn2 options with pkg-config... no
> configure: IDN_LIBS: "-lidn2"
> configure: IDN_LDFLAGS: ""
> configure: IDN_CPPFLAGS: ""
> configure: IDN_DIR: ""
> checking if idn2_lookup_ul can be linked... no
> checking idn2.h usability... no
> checking idn2.h presence... no
> checking for idn2.h... no
> configure: WARNING: Cannot find libraries for IDN support: IDN disabled
> checking for pkg-config... (cached) /usr/bin/pkg-config
> checking for libnghttp2 options with pkg-config... no
> checking for pkg-config... (cached) /usr/bin/pkg-config
> checking for libngtcp2 options with pkg-config... no
> checking for pkg-config... (cached) /usr/bin/pkg-config
> checking for fish options with pkg-config... no
> checking for malloc.h... yes
> checking for memory.h... no
> checking for sys/types.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for sys/select.h... yes
> checking for sys/socket.h... yes
> checking for sys/ioctl.h... yes
> checking for sys/uio.h... yes
> checking for assert.h... yes
> checking for unistd.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for arpa/inet.h... yes
> checking for net/if.h... yes
> checking for netinet/in.h... yes
> checking for netinet/in6.h... no
> checking for sys/un.h... yes
> checking for linux/tcp.h... no
> checking for netinet/tcp.h... yes
> checking for netdb.h... yes
> checking for sys/sockio.h... no
> checking for sys/stat.h... (cached) yes
> checking for sys/param.h... yes
> checking for termios.h... yes
> checking for termio.h... yes
> checking for sgtty.h... yes
> checking for fcntl.h... yes
> checking for alloca.h... no
> checking for time.h... (cached) yes
> checking for io.h... no
> checking for pwd.h... yes
> checking for utime.h... yes
> checking for sys/utime.h... no
> checking for sys/poll.h... yes
> checking for poll.h... yes
> checking for socket.h... no
> checking for sys/resource.h... yes
> checking for libgen.h... yes
> checking for locale.h... yes
> checking for errno.h... yes
> checking for stdbool.h... yes
> checking for arpa/tftp.h... yes
> checking for sys/filio.h... no
> checking for sys/wait.h... yes
> checking for setjmp.h... yes
> checking for an ANSI C-conforming const... yes
> checking for compiler support of C99 variadic macro style... yes
> checking for compiler support of old gcc variadic macro style... yes
> checking for size_t... yes
> checking for sys/types.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for time.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for struct timeval... yes
> checking run-time libs availability... fine
> checking size of size_t... 4
> checking size of long... 4
> checking size of int... 4
> checking size of short... 2
> checking size of time_t... 4
> checking size of off_t... 4
> checking size of curl_off_t... 4
> checking for long long... yes
> checking if numberLL works... yes
> checking for ssize_t... yes
> checking for bool... yes
> checking for sa_family_t... no
> checking for ADDRESS_FAMILY... no
> checking for suseconds_t... no
> checking if time_t is unsigned... no
> checking for sys/types.h... (cached) yes
> checking for poll.h... (cached) yes
> checking for sys/poll.h... (cached) yes
> checking for in_addr_t... no
> checking for in_addr_t equivalent... unsigned long
> checking for struct sockaddr_storage... no
> checking signal.h usability... yes
> checking signal.h presence... yes
> checking for signal.h... yes
> checking for sig_atomic_t... yes
> checking if sig_atomic_t is already defined as volatile... no
> checking for sys/select.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for select... yes
> checking types of args and return type for select... int,fd_set *,struct
> timeval *,int
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for recv... yes
> checking types of args and return type for recv... int,void *,int,int,int
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for send... yes
> checking types of args and return type for send... int,const void
> *,int,int,int
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for MSG_NOSIGNAL... no
> checking for sys/types.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking if alarm can be linked... yes
> checking if alarm is prototyped... yes
> checking if alarm is compilable... yes
> checking if alarm usage allowed... yes
> checking if alarm might be used... yes
> checking for sys/types.h... (cached) yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for libgen.h... (cached) yes
> checking if basename can be linked... yes
> checking if basename is prototyped... yes
> checking if basename is compilable... yes
> checking if basename usage allowed... yes
> checking if basename might be used... yes
> checking for sys/types.h... (cached) yes
> checking for socket.h... (cached) no
> checking if closesocket can be linked... no
> checking if closesocket might be used... no
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking if CloseSocket can be linked... no
> checking if CloseSocket might be used... no
> checking if connect can be linked... yes
> checking if connect is prototyped... yes
> checking if connect is compilable... yes
> checking if connect usage allowed... yes
> checking if connect might be used... yes
> checking for sys/types.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for fcntl.h... (cached) yes
> checking if fcntl can be linked... yes
> checking if fcntl is prototyped... yes
> checking if fcntl is compilable... yes
> checking if fcntl usage allowed... yes
> checking if fcntl might be used... yes
> checking if fcntl O_NONBLOCK is compilable... yes
> checking if fcntl O_NONBLOCK usage allowed... yes
> checking if fcntl O_NONBLOCK might be used... yes
> checking for windows.h... (cached) no
> checking for winsock2.h... (cached) no
> checking for ws2tcpip.h... (cached) no
> checking for sys/types.h... (cached) yes
> checking for netdb.h... (cached) yes
> checking if freeaddrinfo can be linked... yes
> checking if freeaddrinfo is prototyped... yes
> checking if freeaddrinfo is compilable... yes
> checking if freeaddrinfo usage allowed... yes
> checking if freeaddrinfo might be used... yes
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for netinet/in.h... (cached) yes
> checking for ifaddrs.h... no
> checking if freeifaddrs can be linked... no
> checking if freeifaddrs might be used... no
> checking for sys/types.h... (cached) yes
> checking for sys/xattr.h... no
> checking if fsetxattr can be linked... no
> checking if fsetxattr might be used... no
> checking if ftruncate can be linked... yes
> checking if ftruncate is prototyped... yes
> checking if ftruncate is compilable... yes
> checking if ftruncate usage allowed... yes
> checking if ftruncate might be used... yes
> checking for sys/types.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking if getaddrinfo can be linked... yes
> checking if getaddrinfo is prototyped... yes
> checking if getaddrinfo is compilable... yes
> checking if getaddrinfo seems to work... yes
> checking if getaddrinfo usage allowed... yes
> checking if getaddrinfo might be used... yes
> checking if getaddrinfo is threadsafe... yes
> checking if gai_strerror can be linked... yes
> checking if gai_strerror is prototyped... yes
> checking if gai_strerror is compilable... yes
> checking if gai_strerror usage allowed... yes
> checking if gai_strerror might be used... yes
> checking if gethostbyaddr can be linked... yes
> checking if gethostbyaddr is prototyped... yes
> checking if gethostbyaddr is compilable... yes
> checking if gethostbyaddr usage allowed... yes
> checking if gethostbyaddr might be used... yes
> checking if gethostbyaddr_r can be linked... no
> checking if gethostbyaddr_r might be used... no
> checking if gethostbyname can be linked... yes
> checking if gethostbyname is prototyped... yes
> checking if gethostbyname is compilable... yes
> checking if gethostbyname usage allowed... yes
> checking if gethostbyname might be used... yes
> checking if gethostbyname_r can be linked... no
> checking if gethostbyname_r might be used... no
> checking if gethostname can be linked... yes
> checking if gethostname is prototyped... yes
> checking if gethostname is compilable... yes
> checking for gethostname arg 2 data type... int
> checking if gethostname usage allowed... yes
> checking if gethostname might be used... yes
> checking if getpeername can be linked... yes
> checking if getpeername is prototyped... yes
> checking if getpeername is compilable... yes
> checking if getpeername usage allowed... yes
> checking if getpeername might be used... yes
> checking if getsockname can be linked... yes
> checking if getsockname is prototyped... yes
> checking if getsockname is compilable... yes
> checking if getsockname usage allowed... yes
> checking if getsockname might be used... yes
> checking for net/if.h... (cached) yes
> checking if if_nametoindex can be linked... no
> checking if if_nametoindex might be used... no
> checking if getifaddrs can be linked... no
> checking if getifaddrs might be used... no
> checking if getservbyport_r can be linked... no
> checking if getservbyport_r might be used... no
> checking for sys/types.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for time.h... (cached) yes
> checking if gmtime_r can be linked... yes
> checking if gmtime_r is prototyped... no
> checking if gmtime_r might be used... no
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for netinet/in.h... (cached) yes
> checking for arpa/inet.h... (cached) yes
> checking if inet_ntoa_r can be linked... no
> checking if inet_ntoa_r might be used... no
> checking if inet_ntop can be linked... yes
> checking if inet_ntop is prototyped... yes
> checking if inet_ntop is compilable... yes
> checking if inet_ntop seems to work... no
> checking if inet_ntop might be used... no
> checking if inet_pton can be linked... yes
> checking if inet_pton is prototyped... yes
> checking if inet_pton is compilable... yes
> checking if inet_pton seems to work... no
> checking if inet_pton might be used... no
> checking for sys/types.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for sys/ioctl.h... (cached) yes
> checking for stropts.h... yes
> checking if ioctl can be linked... yes
> checking if ioctl is prototyped... yes
> checking if ioctl is compilable... yes
> checking if ioctl usage allowed... yes
> checking if ioctl might be used... yes
> checking if ioctl FIONBIO is compilable... yes
> checking if ioctl FIONBIO usage allowed... yes
> checking if ioctl FIONBIO might be used... yes
> checking if ioctl SIOCGIFADDR is compilable... yes
> checking if ioctl SIOCGIFADDR usage allowed... yes
> checking if ioctl SIOCGIFADDR might be used... yes
> checking if ioctlsocket can be linked... no
> checking if ioctlsocket might be used... no
> checking if IoctlSocket can be linked... no
> checking if IoctlSocket might be used... no
> checking if localtime_r can be linked... yes
> checking if localtime_r is prototyped... no
> checking if localtime_r might be used... no
> checking if memrchr can be linked... no
> checking if memrchr seems a macro... no
> checking if memrchr might be used... no
> checking if poll can be linked... yes
> checking if poll is prototyped... yes
> checking if poll is compilable... yes
> checking if poll seems to work... yes
> checking if poll usage allowed... yes
> checking if poll might be used... yes
> checking if setsockopt can be linked... yes
> checking if setsockopt is prototyped... yes
> checking if setsockopt is compilable... yes
> checking if setsockopt usage allowed... yes
> checking if setsockopt might be used... yes
> checking if setsockopt SO_NONBLOCK is compilable... no
> checking if setsockopt SO_NONBLOCK might be used... no
> checking for sys/types.h... (cached) yes
> checking for signal.h... (cached) yes
> checking if sigaction can be linked... yes
> checking if sigaction is prototyped... yes
> checking if sigaction is compilable... yes
> checking if sigaction usage allowed... yes
> checking if sigaction might be used... yes
> checking if siginterrupt can be linked... yes
> checking if siginterrupt is prototyped... yes
> checking if siginterrupt is compilable... yes
> checking if siginterrupt usage allowed... yes
> checking if siginterrupt might be used... yes
> checking if signal can be linked... yes
> checking if signal is prototyped... yes
> checking if signal is compilable... yes
> checking if signal usage allowed... yes
> checking if signal might be used... yes
> checking for sys/types.h... (cached) yes
> checking for setjmp.h... (cached) yes
> checking if sigsetjmp can be linked... yes
> checking if sigsetjmp is prototyped... yes
> checking if sigsetjmp is compilable... yes
> checking if sigsetjmp usage allowed... yes
> checking if sigsetjmp might be used... yes
> checking if socket can be linked... yes
> checking if socket is prototyped... yes
> checking if socket is compilable... yes
> checking if socket usage allowed... yes
> checking if socket might be used... yes
> checking if socketpair can be linked... yes
> checking if socketpair is prototyped... yes
> checking if socketpair is compilable... yes
> checking if socketpair usage allowed... yes
> checking if socketpair might be used... yes
> checking if strcasecmp can be linked... yes
> checking if strcasecmp is prototyped... yes
> checking if strcasecmp is compilable... yes
> checking if strcasecmp usage allowed... yes
> checking if strcasecmp might be used... yes
> checking if strcmpi can be linked... yes
> checking if strcmpi is prototyped... yes
> checking if strcmpi is compilable... yes
> checking if strcmpi usage allowed... yes
> checking if strcmpi might be used... yes
> checking if strdup can be linked... yes
> checking if strdup is prototyped... yes
> checking if strdup is compilable... yes
> checking if strdup usage allowed... yes
> checking if strdup might be used... yes
> checking if strerror_r can be linked... no
> checking if strerror_r might be used... no
> checking if stricmp can be linked... yes
> checking if stricmp is prototyped... yes
> checking if stricmp is compilable... yes
> checking if stricmp usage allowed... yes
> checking if stricmp might be used... yes
> checking if strncmpi can be linked... yes
> checking if strncmpi is prototyped... no
> checking if strncmpi might be used... no
> checking if strnicmp can be linked... yes
> checking if strnicmp is prototyped... yes
> checking if strnicmp is compilable... no
> checking if strnicmp might be used... no
> checking if strstr can be linked... yes
> checking if strstr is prototyped... yes
> checking if strstr is compilable... yes
> checking if strstr usage allowed... yes
> checking if strstr might be used... yes
> checking if strtok_r can be linked... yes
> checking if strtok_r is prototyped... yes
> checking if strtok_r is compilable... yes
> checking if strtok_r usage allowed... yes
> checking if strtok_r might be used... yes
> checking if strtoll can be linked... no
> checking if strtoll might be used... no
> checking for sys/types.h... (cached) yes
> checking for sys/uio.h... (cached) yes
> checking if writev can be linked... yes
> checking if writev is prototyped... yes
> checking if writev is compilable... yes
> checking if writev usage allowed... yes
> checking if writev might be used... yes
> checking whether getpwuid_r is declared... no
> checking for fnmatch... yes
> checking for geteuid... yes
> checking for getpass_r... yes
> checking for getppid... yes
> checking for getpwuid... yes
> checking for getpwuid_r... no
> checking deeper for getpwuid_r... but still no
> checking for getrlimit... yes
> checking for gettimeofday... yes
> checking for if_nametoindex... no
> checking deeper for if_nametoindex... but still no
> checking for mach_absolute_time... no
> checking deeper for mach_absolute_time... but still no
> checking for pipe... yes
> checking for setlocale... yes
> checking for setmode... no
> checking deeper for setmode... but still no
> checking for setrlimit... yes
> checking for usleep... yes
> checking for utime... yes
> checking for utimes... yes
> checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
> checking for perl... /usr/bin/perl
> checking for gnroff... no
> checking for nroff... /usr/local/bin/nroff
> checking how to use *nroff to get plain text from man pages... -man
> checking whether to enable the threaded resolver... no
> checking whether to use POSIX threads for threaded resolver... auto
> checking convert -I options to -isystem... yes
> checking whether to enable verbose strings... yes
> checking whether to enable SSPI support (Windows native builds only)... no
> checking whether to enable cryptographic authentication methods... yes
> checking whether to enable NTLM delegation to winbind's helper... yes
> checking whether to enable TLS-SRP authentication... yes
> checking whether to enable Unix domain sockets... auto
> checking for struct sockaddr_un.sun_path... yes
> checking whether to support cookies... yes
> checking whether to support socketpair... yes
> checking whether to support HTTP authentication... yes
> checking whether to support DoH... yes
> checking whether to support the MIME API... yes
> checking whether to support date parsing... yes
> checking whether to support netrc parsing... yes
> checking whether to support progress-meter... yes
> checking whether to support DNS shuffling... yes
> checking whether to support curl_easy_option*... yes
> checking whether to support alt-svc... no
> checking whether to support HSTS... no
> checking whether hiding of library internal symbols will actually
> happen... no
> configure: using LIBS: -lssh2 -L/usr/local/lib -lssh2 -lsocket -lssl
> -lcrypto -lssl -lcrypto -lz -lsocket
> configure: LIBS note: LIBS should only be used to specify libraries
> (-lname).
> configure: WARNING: Continuing even with errors mentioned immediately
> above this line.
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating docs/Makefile
> config.status: creating docs/examples/Makefile
> config.status: creating docs/libcurl/Makefile
> config.status: creating docs/libcurl/opts/Makefile
> config.status: creating docs/cmdline-opts/Makefile
> config.status: creating include/Makefile
> config.status: creating include/curl/Makefile
> config.status: creating src/Makefile
> config.status: creating lib/Makefile
> config.status: creating scripts/Makefile
> config.status: creating lib/libcurl.vers
> config.status: creating tests/Makefile
> config.status: creating tests/certs/Makefile
> config.status: creating tests/certs/scripts/Makefile
> config.status: creating tests/data/Makefile
> config.status: creating tests/server/Makefile
> config.status: creating tests/libtest/Makefile
> config.status: creating tests/unit/Makefile
> config.status: creating packages/Makefile
> config.status: creating packages/vms/Makefile
> config.status: creating curl-config
> config.status: creating libcurl.pc
> config.status: creating lib/curl_config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> configure: amending lib/Makefile
> configure: amending src/Makefile
> configure: amending tests/unit/Makefile
> configure: amending tests/server/Makefile
> configure: amending tests/libtest/Makefile
> configure: amending docs/examples/Makefile
> configure: Configured to build curl/libcurl:
>
> Host setup: i686-pc-sco3.2v5.0.7
> Install prefix: /csdi/src/sco507/curl/dist
> Compiler: /usr/local/bin/gcc-3.4.6
> CFLAGS: -static -Werror-implicit-function-declaration -O2
> -Wno-system-headers
> CPPFLAGS: -isystem /usr/local/include -isystem
> /usr/local/include -isystem /usr/local/include
> LDFLAGS: -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
> LIBS: -lssh2 -L/usr/local/lib -lssh2 -lsocket -lssl -lcrypto
> -lssl -lcrypto -lz -lsocket
>
> curl version: 7.76.0
> SSL: enabled (OpenSSL)
> SSH: enabled (libSSH2)
> zlib: enabled
> brotli: no (--with-brotli)
> zstd: no (--with-zstd)
> GSS-API: no (--with-gssapi)
> GSASL: no (libgsasl not found)
> TLS-SRP: enabled
> resolver: default (--enable-ares / --enable-threaded-resolver)
> IPv6: no (--enable-ipv6)
> Unix sockets: enabled
> IDN: no (--with-{libidn2,winidn})
> Build libcurl: Shared=yes, Static=yes
> Built-in manual: enabled
> --libcurl option: enabled (--disable-libcurl-option)
> Verbose errors: enabled (--disable-verbose)
> Code coverage: disabled
> SSPI: no (--enable-sspi)
> ca cert bundle: no
> ca cert path: no
> ca fallback: no
> LDAP: no (--enable-ldap / --with-ldap-lib /
> --with-lber-lib)
> LDAPS: no (--enable-ldaps)
> RTSP: enabled
> RTMP: no (--with-librtmp)
> Metalink: no (--with-libmetalink)
> PSL: no (libpsl not found)
> Alt-svc: enabled
> HTTP1: enabled (internal)
> HTTP2: no (--with-nghttp2, --with-hyper)
> HTTP3: no (--with-ngtcp2, --with-quiche)
> ECH: no (--enable-ech)
> Protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP
> IMAPS MQTT POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP
> Features: HTTPS-proxy NTLM NTLM_WB SSL TLS-SRP UnixSockets
> alt-svc libz
>
> --
>
> Kevin R. Bulgrien
> kevinb_at_systemsdesignusa.com
>
>
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.se/mail/etiquette.html


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-04-19