macOS problem

eugeny gladkih john at drweb.com
Fri May 24 16:56:18 CEST 2024


Hi,

glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
glibtoolize: copying file 'config/ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: copying file 'm4/libtool.m4'
glibtoolize: copying file 'm4/ltoptions.m4'
glibtoolize: copying file 'm4/ltsugar.m4'
glibtoolize: copying file 'm4/ltversion.m4'
glibtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:297: warning: Checking for headers with the preprocessor is
configure.ac:297: deprecated. Specify prerequisite code to AC_CHECK_HEADER
configure.ac:297: instead of using fourth argument '-'. (Many headers need
configure.ac:297: no prerequisites. If you truly need to test whether
configure.ac:297: something passes the preprocessor but not the compiler,
configure.ac:297: use AC_PREPROC_IFELSE.)
./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
configure.ac:297: the top level
configure.ac:42: installing 'config/compile'
configure.ac:44: installing 'config/missing'
src/lib/Makefile.am: installing 'config/depcomp'
configure.ac:297: warning: Checking for headers with the preprocessor is
configure.ac:297: deprecated. Specify prerequisite code to AC_CHECK_HEADER
configure.ac:297: instead of using fourth argument '-'. (Many headers need
configure.ac:297: no prerequisites. If you truly need to test whether
configure.ac:297: something passes the preprocessor but not the compiler,
configure.ac:297: use AC_PREPROC_IFELSE.)
./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
configure.ac:297: the top level
checking for gcc... gcc
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... rm: conftest.dSYM: is a directory
yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... -std=gnu++11
checking whether g++ -std=gnu++11 supports C++14 features with -std=c++14... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports the include directive... yes (GNU style)
checking whether gmake supports nested variables... yes
checking dependency style of gcc... none
checking dependency style of g++ -std=gnu++11 -std=c++14... none
checking build system type... x86_64-apple-darwin23.5.0
checking host system type... x86_64-apple-darwin23.5.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /Library/Developer/CommandLineTools/usr/bin/nm -B
checking the name lister (/Library/Developer/CommandLineTools/usr/bin/nm -B) interface... rm: conftest.dSYM: is a directory
BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert x86_64-apple-darwin23.5.0 file names to x86_64-apple-darwin23.5.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin23.5.0 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... rm: conftest.dSYM: is a directory
no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /Library/Developer/CommandLineTools/usr/bin/nm -B output from gcc object... rm: conftest.dSYM: is a directory
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 for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... ld: warning: -single_module is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23.5.0 dyld
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... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -std=gnu++11 -std=c++14 -E
checking for ld used by g++ -std=gnu++11 -std=c++14... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ -std=gnu++11 -std=c++14 linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ -std=gnu++11 -std=c++14 option to produce PIC... -fno-common -DPIC
checking if g++ -std=gnu++11 -std=c++14 PIC flag -fno-common -DPIC works... yes
checking if g++ -std=gnu++11 -std=c++14 static flag -static works... no
checking if g++ -std=gnu++11 -std=c++14 supports -c -o file.o... yes
checking if g++ -std=gnu++11 -std=c++14 supports -c -o file.o... (cached) yes
checking whether the g++ -std=gnu++11 -std=c++14 linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for egrep... (cached) /usr/bin/grep -E
checking for C compiler vendor... clang
checking whether this is native windows... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether gmake supports nested variables... (cached) yes
checking whether to build with code coverage support... no
checking whether user namespaces are supported... no
checking whether UTS namespaces are supported... no
checking for gcc option to enable large file support... none needed
checking whether we need CARES_STATICLIB definition... no
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wcast-align... yes
checking whether C compiler accepts -Wconversion... yes
checking whether C compiler accepts -Wdeclaration-after-statement... yes
checking whether C compiler accepts -Wdouble-promotion... yes
checking whether C compiler accepts -Wfloat-equal... yes
checking whether C compiler accepts -Wformat-security... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wjump-misses-init... no
checking whether C compiler accepts -Wlogical-op... no
checking whether C compiler accepts -Wmissing-braces... yes
checking whether C compiler accepts -Wmissing-declarations... yes
checking whether C compiler accepts -Wmissing-format-attribute... yes
checking whether C compiler accepts -Wmissing-include-dirs... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wnested-externs... yes
checking whether C compiler accepts -Wno-coverage-mismatch... no
checking whether C compiler accepts -Wold-style-definition... yes
checking whether C compiler accepts -Wpacked... yes
checking whether C compiler accepts -Wpointer-arith... yes
checking whether C compiler accepts -Wredundant-decls... yes
checking whether C compiler accepts -Wshadow... yes
checking whether C compiler accepts -Wsign-conversion... yes
checking whether C compiler accepts -Wstrict-overflow... yes
checking whether C compiler accepts -Wstrict-prototypes... yes
checking whether C compiler accepts -Wtrampolines... no
checking whether C compiler accepts -Wundef... yes
checking whether C compiler accepts -Wunused... yes
checking whether C compiler accepts -Wvariadic-macros... yes
checking whether C compiler accepts -Wvla... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Werror=implicit-int... yes
checking whether C compiler accepts -Werror=implicit-function-declaration... yes
checking whether C compiler accepts -Werror=partial-availability... yes
checking for library containing getservbyport... none required
checking if libxnet is required... no
checking for iOS minimum version 10 or later... no
checking for macOS minimum version 10.12 or later... yes
checking whether to use libgcc... no
checking for malloc.h... no
checking for memory.h... yes
checking for AvailabilityMacros.h... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/filio.h... yes
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/uio.h... yes
checking for sys/random.h... yes
checking for sys/event.h... yes
checking for sys/epoll.h... no
checking for assert.h... yes
checking for iphlpapi.h... no
checking for netioapi.h... no
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet6/in6.h... no
checking for netinet/tcp.h... yes
checking for net/if.h... yes
checking for ifaddrs.h... yes
checking for fcntl.h... yes
checking for errno.h... yes
checking for socket.h... no
checking for strings.h... (cached) yes
checking for stdbool.h... yes
checking for time.h... yes
checking for poll.h... yes
checking for limits.h... yes
checking for arpa/nameser.h... yes
checking for arpa/nameser_compat.h... yes
checking for arpa/inet.h... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether HAVE_ARPA_NAMESER_H is declared... yes
checking whether HAVE_ARPA_NAMESER_COMPAT_H is declared... yes
checking for long long... yes
checking for ssize_t... yes
checking for socklen_t... yes
checking for SOCKET... no
checking for library containing clock_gettime... none required
checking whether recv is declared... yes
checking whether recvfrom is declared... yes
checking whether send is declared... yes
checking whether getnameinfo is declared... yes
checking whether gethostname is declared... yes
checking whether connect is declared... yes
checking whether closesocket is declared... no
checking whether CloseSocket is declared... no
checking whether fcntl is declared... yes
checking whether getenv is declared... yes
checking whether gethostname is declared... (cached) yes
checking whether getrandom is declared... no
checking whether getservbyport_r is declared... no
checking whether inet_net_pton is declared... yes
checking whether inet_ntop is declared... yes
checking whether inet_pton is declared... yes
checking whether ioctl is declared... yes
checking whether ioctlsocket is declared... no
checking whether IoctlSocket is declared... no
checking whether setsockopt is declared... yes
checking whether socket is declared... yes
checking whether strcasecmp is declared... yes
checking whether strdup is declared... yes
checking whether stricmp is declared... no
checking whether strncasecmp is declared... yes
checking whether strncmpi is declared... no
checking whether strnicmp is declared... no
checking whether writev is declared... yes
checking whether arc4random_buf is declared... yes
checking whether stat is declared... yes
checking whether gettimeofday is declared... yes
checking whether clock_gettime is declared... yes
checking whether if_indextoname is declared... yes
checking whether if_nametoindex is declared... yes
checking whether getifaddrs is declared... yes
checking whether poll is declared... yes
checking whether pipe is declared... yes
checking whether pipe2 is declared... no
checking whether kqueue is declared... yes
checking whether epoll_create1 is declared... no
checking whether ConvertInterfaceIndexToLuid is declared... no
checking whether ConvertInterfaceLuidToNameA is declared... no
checking whether __system_property_get is declared... no
checking for size_t... yes
checking whether AF_INET6 is declared... yes
checking whether PF_INET6 is declared... yes
checking for struct in6_addr... yes
checking for struct sockaddr_in6... yes
checking for struct sockaddr_storage... yes
checking for struct addrinfo... yes
checking for struct timeval... yes
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for struct addrinfo.ai_flags... yes
checking whether FIONBIO is declared... yes
checking whether O_NONBLOCK is declared... yes
checking whether SO_NONBLOCK is declared... no
checking whether MSG_NOSIGNAL is declared... yes
checking whether CLOCK_MONOTONIC is declared... yes
checking for egrep -e... (cached) /usr/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with "-pthread" and "-lpthread"... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for pthread.h... yes
checking for pthread_np.h... no
checking whether to build tests... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/tools/Makefile
config.status: creating docs/Makefile
config.status: creating libcares.pc
config.status: creating src/lib/ares_config.h
config.status: creating include/ares_build.h
config.status: executing depfiles commands
config.status: executing libtool commands
 *  patch /Users/john/work/CC/build/objs/c-ares-master-Darwin-amd64-clang/package/c-ares-1.29.0/Makefile
 *  patch /Users/john/work/CC/build/objs/c-ares-master-Darwin-amd64-clang/package/c-ares-1.29.0/include/Makefile
 *  patch /Users/john/work/CC/build/objs/c-ares-master-Darwin-amd64-clang/package/c-ares-1.29.0/docs/Makefile
 *  patch /Users/john/work/CC/build/objs/c-ares-master-Darwin-amd64-clang/package/c-ares-1.29.0/src/tools/Makefile
 *  patch /Users/john/work/CC/build/objs/c-ares-master-Darwin-amd64-clang/package/c-ares-1.29.0/src/Makefile
 *  patch /Users/john/work/CC/build/objs/c-ares-master-Darwin-amd64-clang/package/c-ares-1.29.0/src/lib/Makefile
 * c-ares build
gmake  all-recursive
  CC       libcares_la-ares__addrinfo2hostent.lo
  CC       libcares_la-ares__addrinfo_localhost.lo
  CC       libcares_la-ares__buf.lo
  CC       libcares_la-ares__close_sockets.lo
  CC       libcares_la-ares__hosts_file.lo
  CC       libcares_la-ares__htable.lo
  CC       libcares_la-ares__htable_asvp.lo
  CC       libcares_la-ares__htable_strvp.lo
  CC       libcares_la-ares__htable_szvp.lo
  CC       libcares_la-ares__iface_ips.lo
  CC       libcares_la-ares__htable_vpvp.lo
  CC       libcares_la-ares__llist.lo
  CC       libcares_la-ares__parse_into_addrinfo.lo
  CC       libcares_la-ares__slist.lo
  CC       libcares_la-ares__socket.lo
  CC       libcares_la-ares__sortaddrinfo.lo
  CC       libcares_la-ares__threads.lo
  CC       libcares_la-ares__timeval.lo
  CC       libcares_la-ares_android.lo
  CC       libcares_la-ares_cancel.lo
  CC       libcares_la-ares_data.lo
  CC       libcares_la-ares_destroy.lo
  CC       libcares_la-ares_dns_mapping.lo
  CC       libcares_la-ares_dns_name.lo
  CC       libcares_la-ares_dns_parse.lo
  CC       libcares_la-ares_dns_record.lo
  CC       libcares_la-ares_dns_write.lo
  CC       libcares_la-ares_event_configchg.lo
  CC       libcares_la-ares_event_epoll.lo
  CC       libcares_la-ares_event_kqueue.lo
  CC       libcares_la-ares_event_poll.lo
  CC       libcares_la-ares_event_select.lo
  CC       libcares_la-ares_event_thread.lo
  CC       libcares_la-ares_event_wake_pipe.lo
  CC       libcares_la-ares_event_win32.lo
  CC       libcares_la-ares_expand_name.lo
  CC       libcares_la-ares_expand_string.lo
  CC       libcares_la-ares_fds.lo
  CC       libcares_la-ares_free_hostent.lo
  CC       libcares_la-ares_free_string.lo
  CC       libcares_la-ares_freeaddrinfo.lo
  CC       libcares_la-ares_getaddrinfo.lo
  CC       libcares_la-ares_getenv.lo
  CC       libcares_la-ares_gethostbyaddr.lo
  CC       libcares_la-ares_gethostbyname.lo
  CC       libcares_la-ares_getnameinfo.lo
  CC       libcares_la-ares_getsock.lo
  CC       libcares_la-ares_init.lo
  CC       libcares_la-ares_library_init.lo
  CC       libcares_la-ares_math.lo
  CC       libcares_la-ares_create_query.lo
  CC       libcares_la-ares_options.lo
  CC       libcares_la-ares_parse_a_reply.lo
  CC       libcares_la-ares_parse_aaaa_reply.lo
  CC       libcares_la-ares_parse_caa_reply.lo
  CC       libcares_la-ares_parse_mx_reply.lo
  CC       libcares_la-ares_parse_naptr_reply.lo
  CC       libcares_la-ares_parse_ns_reply.lo
  CC       libcares_la-ares_parse_ptr_reply.lo
  CC       libcares_la-ares_parse_soa_reply.lo
  CC       libcares_la-ares_parse_srv_reply.lo
  CC       libcares_la-ares_parse_txt_reply.lo
  CC       libcares_la-ares_parse_uri_reply.lo
  CC       libcares_la-ares_platform.lo
  CC       libcares_la-ares_process.lo
  CC       libcares_la-ares_qcache.lo
  CC       libcares_la-ares_query.lo
  CC       libcares_la-ares_rand.lo
  CC       libcares_la-ares_search.lo
  CC       libcares_la-ares_send.lo
  CC       libcares_la-ares_strcasecmp.lo
  CC       libcares_la-ares_str.lo
  CC       libcares_la-ares_strerror.lo
  CC       libcares_la-ares_strsplit.lo
  CC       libcares_la-ares_sysconfig.lo
  CC       libcares_la-ares_sysconfig_files.lo
  CC       libcares_la-ares_sysconfig_mac.lo
  CC       libcares_la-ares_timeout.lo
  CC       libcares_la-ares_update_servers.lo
  CC       libcares_la-ares_version.lo
  CC       libcares_la-inet_net_pton.lo
ares_sysconfig_mac.c:54:12: fatal error: 'thirdparty/apple/dnsinfo.h' file not found
#  include "thirdparty/apple/dnsinfo.h"
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       libcares_la-inet_ntop.lo
  CC       libcares_la-windows_port.lo
1 error generated.


-- 
Yours sincerely, Eugeny.



More information about the c-ares mailing list