Closed zhouzoe closed 3 years ago
It's a problem of your build environment. You are building against libtirpc and the SunRPC based libnsl from glibc. Either only build against glibc (but that's deprecated since years) or only use the "libtirpc" and "libnsl".
It was created by ypbind-mt configure 2.7.2, which was generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
---------
Platform.
---------
hostname = zy-virtual-machine uname -m = x86_64 uname -r = 4.15.0-154-generic uname -s = Linux uname -v = #161-Ubuntu SMP Fri Jul 30 13:04:17 UTC 2021
/usr/bin/uname -p = unknown /bin/uname -X = unknown
/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown
PATH: /home/zy/.local/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin
-----------
Core tests.
-----------
configure:2286: checking for a BSD-compatible install configure:2354: result: /usr/bin/install -c configure:2365: checking whether build environment is sane configure:2420: result: yes configure:2571: checking for a thread-safe mkdir -p configure:2610: result: /bin/mkdir -p configure:2617: checking for gawk configure:2633: found /usr/bin/gawk configure:2644: result: gawk configure:2655: checking whether make sets $(MAKE) configure:2677: result: yes configure:2706: checking whether make supports nested variables configure:2723: result: yes configure:2858: checking build system type configure:2872: result: x86_64-pc-linux-gnu configure:2892: checking host system type configure:2905: result: x86_64-pc-linux-gnu configure:2974: checking for gcc configure:2990: found /usr/bin/gcc configure:3001: result: gcc configure:3230: checking for C compiler version configure:3239: gcc --version >&5 gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4004: result: no configure:4013: checking whether make sets $(MAKE) configure:4035: result: yes configure:4087: checking for ranlib configure:4103: found /usr/bin/ranlib configure:4114: result: ranlib configure:4141: checking how to run the C preprocessor configure:4172: gcc -E conftest.c configure:4172: $? = 0 configure:4186: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
include
compilation terminated. configure:4186: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "ypbind-mt" | #define PACKAGE_TARNAME "ypbind-mt" | #define PACKAGE_VERSION "2.7.2" | #define PACKAGE_STRING "ypbind-mt 2.7.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "ypbind-mt" | #define VERSION "2.7.2" | / end confdefs.h. / | #include
configure:4211: result: gcc -E
configure:4231: gcc -E conftest.c
configure:4231: $? = 0
configure:4245: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
include
compilation terminated. configure:4245: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "ypbind-mt" | #define PACKAGE_TARNAME "ypbind-mt" | #define PACKAGE_VERSION "2.7.2" | #define PACKAGE_STRING "ypbind-mt 2.7.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "ypbind-mt" | #define VERSION "2.7.2" | / end confdefs.h. / | #include
configure:4274: checking for grep that handles long lines and -e
configure:4332: result: /bin/grep
configure:4337: checking for egrep
configure:4399: result: /bin/grep -E
configure:4404: checking for ANSI C header files
configure:4424: gcc -c -g -O2 conftest.c >&5
configure:4424: $? = 0
configure:4497: gcc -o conftest -g -O2 conftest.c >&5
configure:4497: $? = 0
configure:4497: ./conftest
configure:4497: $? = 0
configure:4508: result: yes
configure:4521: checking for sys/types.h
configure:4521: gcc -c -g -O2 conftest.c >&5
configure:4521: $? = 0
configure:4521: result: yes
configure:4521: checking for sys/stat.h
configure:4521: gcc -c -g -O2 conftest.c >&5
configure:4521: $? = 0
configure:4521: result: yes
configure:4521: checking for stdlib.h
configure:4521: gcc -c -g -O2 conftest.c >&5
configure:4521: $? = 0
configure:4521: result: yes
configure:4521: checking for string.h
configure:4521: gcc -c -g -O2 conftest.c >&5
configure:4521: $? = 0
configure:4521: result: yes
configure:4521: checking for memory.h
configure:4521: gcc -c -g -O2 conftest.c >&5
configure:4521: $? = 0
configure:4521: result: yes
configure:4521: checking for strings.h
configure:4521: gcc -c -g -O2 conftest.c >&5
configure:4521: $? = 0
configure:4521: result: yes
configure:4521: checking for inttypes.h
configure:4521: gcc -c -g -O2 conftest.c >&5
configure:4521: $? = 0
configure:4521: result: yes
configure:4521: checking for stdint.h
configure:4521: gcc -c -g -O2 conftest.c >&5
configure:4521: $? = 0
configure:4521: result: yes
configure:4521: checking for unistd.h
configure:4521: gcc -c -g -O2 conftest.c >&5
configure:4521: $? = 0
configure:4521: result: yes
configure:4534: checking minix/config.h usability
configure:4534: gcc -c -g -O2 conftest.c >&5
conftest.c:54:10: fatal error: minix/config.h: No such file or directory
include <minix/config.h>
compilation terminated. configure:4534: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "ypbind-mt" | #define PACKAGE_TARNAME "ypbind-mt" | #define PACKAGE_VERSION "2.7.2" | #define PACKAGE_STRING "ypbind-mt 2.7.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "ypbind-mt" | #define VERSION "2.7.2" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | / end confdefs.h. / | #include
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| # include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| #include <minix/config.h>
configure:4534: result: no
configure:4534: checking minix/config.h presence
configure:4534: gcc -E conftest.c
conftest.c:21:10: fatal error: minix/config.h: No such file or directory
include <minix/config.h>
main': /home/zy/packages/ypbind-mt-master/conftest.c:63: undefined reference to
gettid' collect2: error: ld returned 1 exit status configure:5062: $? = 1 configure: failed program was:configure:5062: result: no configure:5070: checking for an ANSI C-conforming const configure:5136: gcc -c -g -O2 conftest.c >&5 configure:5136: $? = 0 configure:5143: result: yes configure:5155: checking for xsltproc configure:5188: result: no configure:5198: checking for xmllint configure:5229: result: /bin/true configure:5250: checking for XML catalog (/etc/xml/catalog) configure:5253: result: found configure:5264: checking for xmlcatalog configure:5295: result: no configure:5314: checking for DocBook XML DTD V4.3 in XML catalog configure:5325: result: not found configure:5331: checking for DocBook XSL Stylesheets in XML catalog configure:5342: result: not found configure:5357: checking for a sed that does not truncate output configure:5421: result: /bin/sed configure:5427: checking whether NLS is requested configure:5436: result: yes configure:5476: checking for msgfmt configure: trying /usr/bin/msgfmt... 0 translated messages. configure:5508: result: /usr/bin/msgfmt configure:5517: checking for gmsgfmt configure:5548: result: /usr/bin/msgfmt configure:5598: checking for xgettext configure: trying /usr/bin/xgettext... /usr/bin/xgettext: warning: file '/dev/null' extension '' is unknown; will try C configure:5630: result: /usr/bin/xgettext configure:5675: checking for msgmerge configure: trying /usr/bin/msgmerge... configure:5706: result: /usr/bin/msgmerge configure:5764: checking for ld used by gcc configure:5831: result: /usr/bin/ld configure:5838: checking if the linker (/usr/bin/ld) is GNU ld configure:5853: result: yes configure:5860: checking for shared library run path origin configure:5873: result: done configure:6445: checking for CFPreferencesCopyAppValue configure:6463: gcc -o conftest -g -O2 conftest.c -lpthread -Wl,-framework -Wl,CoreFoundation >&5 conftest.c:29:10: fatal error: CoreFoundation/CFPreferences.h: No such file or directory
include <CoreFoundation/CFPreferences.h>
compilation terminated. configure:6463: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "ypbind-mt" | #define PACKAGE_TARNAME "ypbind-mt" | #define PACKAGE_VERSION "2.7.2" | #define PACKAGE_STRING "ypbind-mt 2.7.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "ypbind-mt" | #define VERSION "2.7.2" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define EXTENSIONS 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_TIRPC 1 | #define HAVE___NSS_CONFIGURE_LOOKUP 1 | / end confdefs.h. / | #include <CoreFoundation/CFPreferences.h> | int | main () | { | CFPreferencesCopyAppValue(NULL, NULL) | ; | return 0; | } configure:6472: result: no configure:6479: checking for CFLocaleCopyCurrent configure:6497: gcc -o conftest -g -O2 conftest.c -lpthread -Wl,-framework -Wl,CoreFoundation >&5 conftest.c:29:10: fatal error: CoreFoundation/CFLocale.h: No such file or directory
include <CoreFoundation/CFLocale.h>
compilation terminated. configure:6497: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "ypbind-mt" | #define PACKAGE_TARNAME "ypbind-mt" | #define PACKAGE_VERSION "2.7.2" | #define PACKAGE_STRING "ypbind-mt 2.7.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "ypbind-mt" | #define VERSION "2.7.2" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define EXTENSIONS 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_TIRPC 1 | #define HAVE___NSS_CONFIGURE_LOOKUP 1 | / end confdefs.h. / | #include <CoreFoundation/CFLocale.h> | int | main () | { | CFLocaleCopyCurrent(); | ; | return 0; | } configure:6506: result: no configure:6555: checking for GNU gettext in libc configure:6579: gcc -o conftest -g -O2 conftest.c -lpthread >&5 configure:6579: $? = 0 configure:6588: result: yes configure:7416: checking whether to use NLS configure:7418: result: yes configure:7421: checking where the gettext function comes from configure:7432: result: libc configure:7601: checking that generated files are newer than configure configure:7607: result: done configure:7634: creating ./config.status
----------------------
Running config.status.
----------------------
This file was extended by ypbind-mt config.status 2.7.2, which was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status
on zy-virtual-machine
config.status:921: creating Makefile config.status:921: creating lib/Makefile config.status:921: creating src/Makefile config.status:921: creating man/Makefile config.status:921: creating po/Makefile.in config.status:921: creating config.h config.status:1102: config.h is unchanged config.status:1150: executing depfiles commands config.status:1150: executing po-directories commands
----------------
Cache variables.
----------------
ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_NSL_CFLAGS_set=set ac_cv_env_NSL_CFLAGS_value=/usr/lib/x86_64-linux-gnu/libnsl.so ac_cv_env_NSL_LIBS_set=set ac_cv_env_NSL_LIBS_value=/lib/x86_64-linux-gnu/libnsl.so.1 ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_SYSTEMD_CFLAGS_set= ac_cv_env_SYSTEMD_CFLAGS_value= ac_cv_env_SYSTEMD_LIBS_set= ac_cv_env_SYSTEMD_LIBS_value= ac_cv_env_TIRPC_CFLAGS_set= ac_cv_env_TIRPC_CFLAGS_value= ac_cv_env_TIRPC_LIBS_set= ac_cv_env_TIRPC_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_nss_configure_lookup=yes ac_cv_func_gettid=no ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_lib_cposix_strerror=no ac_cv_lib_pthread_pthread_create=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GMSGFMT=/usr/bin/msgfmt ac_cv_path_GREP=/bin/grep ac_cv_path_MSGFMT=/usr/bin/msgfmt ac_cv_path_MSGMERGE=/usr/bin/msgmerge ac_cv_path_SED=/bin/sed ac_cv_path_XGETTEXT=/usr/bin/xgettext ac_cv_path_XMLCATALOG=no ac_cv_path_XMLLINT=/bin/true ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_safe_todefineextensions__=yes acl_cv_hardcode_direct=no acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' acl_cv_hardcode_libdir_separator= acl_cv_hardcode_minus_L=no acl_cv_libext=a acl_cv_libname_spec='lib$name' acl_cv_library_names_spec='$libname$shrext' acl_cv_path_LD=/usr/bin/ld acl_cv_prog_gnu_ld=yes acl_cv_rpath=done acl_cv_shlibext=so acl_cv_wl=-Wl, am_cv_CC_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes gt_cv_func_CFLocaleCopyCurrent=no gt_cv_func_CFPreferencesCopyAppValue=no gt_cv_func_gnugettext1_libc=yes pkg_cv_NSL_CFLAGS=/usr/lib/x86_64-linux-gnu/libnsl.so pkg_cv_NSL_LIBS=/lib/x86_64-linux-gnu/libnsl.so.1 pkg_cv_SYSTEMD_CFLAGS= pkg_cv_SYSTEMD_LIBS=-lsystemd pkg_cv_TIRPC_CFLAGS=-I/usr/include/tirpc pkg_cv_TIRPC_LIBS=-ltirpc
-----------------
Output variables.
-----------------
ACLOCAL='${SHELL} /home/zy/packages/ypbind-mt-master/missing aclocal-1.15' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AUTOCONF='${SHELL} /home/zy/packages/ypbind-mt-master/missing autoconf' AUTOHEADER='${SHELL} /home/zy/packages/ypbind-mt-master/missing autoheader' AUTOMAKE='${SHELL} /home/zy/packages/ypbind-mt-master/missing automake-1.15' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_REGENERATE_MAN_FALSE='' ENABLE_REGENERATE_MAN_TRUE='#' EXEEXT='' GETTEXT_MACRO_VERSION='0.19' GMSGFMT='/usr/bin/msgfmt' GMSGFMT_015='/usr/bin/msgfmt' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INTLLIBS='' INTL_MACOSX_LIBS='' LDFLAGS='' LIBICONV='-liconv' LIBINTL='' LIBOBJS='' LIBS='-lpthread ' LTLIBICONV='-liconv' LTLIBINTL='' LTLIBOBJS='' MAKEINFO='${SHELL} /home/zy/packages/ypbind-mt-master/missing makeinfo' MKDIR_P='/bin/mkdir -p' MSGFMT='/usr/bin/msgfmt' MSGFMT_015='/usr/bin/msgfmt' MSGMERGE='/usr/bin/msgmerge' NSL_CFLAGS='/usr/lib/x86_64-linux-gnu/libnsl.so' NSL_LIBS='/lib/x86_64-linux-gnu/libnsl.so.1' OBJEXT='o' PACKAGE='ypbind-mt' PACKAGE_BUGREPORT='' PACKAGE_NAME='ypbind-mt' PACKAGE_STRING='ypbind-mt 2.7.2' PACKAGE_TARNAME='ypbind-mt' PACKAGE_URL='' PACKAGE_VERSION='2.7.2' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' POSUB='po' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='' SYSTEMD_CFLAGS='' SYSTEMD_LIBS='-lsystemd' TIRPC_CFLAGS='-I/usr/include/tirpc' TIRPC_LIBS='-ltirpc' USE_NLS='yes' USE_SD_NOTIFY='1' VERSION='2.7.2' WARNFLAGS='-W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef' XGETTEXT='/usr/bin/xgettext' XGETTEXT_015='/usr/bin/xgettext' XGETTEXT_EXTRA_OPTIONS='' XMLCATALOG='no' XMLLINT='/bin/true' XML_CATALOG_FILE='/etc/xml/catalog' XSLTPROC='' ac_ct_CC='gcc' amEXEEXT_FALSE='' am__EXEEXT_TRUE='#' amfastdepCC_FALSE='#' amfastdepCC_TRUE='' aminclude='include' amisrc='' am__leading_dot='.' amnodep='_no' amquote='' amtar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/zy/packages/ypbind-mt-master/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias=''
-----------
confdefs.h.
-----------
/ confdefs.h /
define PACKAGE_NAME "ypbind-mt"
define PACKAGE_TARNAME "ypbind-mt"
define PACKAGE_VERSION "2.7.2"
define PACKAGE_STRING "ypbind-mt 2.7.2"
define PACKAGE_BUGREPORT ""
define PACKAGE_URL ""
define PACKAGE "ypbind-mt"
define VERSION "2.7.2"
define STDC_HEADERS 1
define HAVE_SYS_TYPES_H 1
define HAVE_SYS_STAT_H 1
define HAVE_STDLIB_H 1
define HAVE_STRING_H 1
define HAVE_MEMORY_H 1
define HAVE_STRINGS_H 1
define HAVE_INTTYPES_H 1
define HAVE_STDINT_H 1
define HAVE_UNISTD_H 1
define EXTENSIONS 1
define _ALL_SOURCE 1
define _GNU_SOURCE 1
define _POSIX_PTHREAD_SEMANTICS 1
define _TANDEM_SOURCE 1
define HAVE_LIBPTHREAD 1
define HAVE_TIRPC 1
define HAVE___NSS_CONFIGURE_LOOKUP 1
define ENABLE_NLS 1
define HAVE_GETTEXT 1
define HAVE_DCGETTEXT 1
configure: exit 0
make all-recursive make[1]: Entering directory '/home/zy/packages/ypbind-mt-master' Making all in lib make[2]: Entering directory '/home/zy/packages/ypbind-mt-master/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/tirpc /usr/lib/x86_64-linux-gnu/libnsl.so -DLOCALEDIR=\"/usr/local/share/locale\" -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -g -O2 -MT dns_hosts.o -MD -MP -MF .deps/dns_hosts.Tpo -c -o dns_hosts.o dns_hosts.c gcc: warning: /usr/lib/x86_64-linux-gnu/libnsl.so: linker input file unused because linking not done mv -f .deps/dns_hosts.Tpo .deps/dns_hosts.Po gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/tirpc /usr/lib/x86_64-linux-gnu/libnsl.so -DLOCALEDIR=\"/usr/local/share/locale\" -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -g -O2 -MT ypbind3_binding_dup.o -MD -MP -MF .deps/ypbind3_binding_dup.Tpo -c -o ypbind3_binding_dup.o ypbind3_binding_dup.c gcc: warning: /usr/lib/x86_64-linux-gnu/libnsl.so: linker input file unused because linking not done mv -f .deps/ypbind3_binding_dup.Tpo .deps/ypbind3_binding_dup.Po gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/tirpc /usr/lib/x86_64-linux-gnu/libnsl.so -DLOCALEDIR=\"/usr/local/share/locale\" -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -g -O2 -MT ypbind3_binding_free.o -MD -MP -MF .deps/ypbind3_binding_free.Tpo -c -o ypbind3_binding_free.o ypbind3_binding_free.c gcc: warning: /usr/lib/x86_64-linux-gnu/libnsl.so: linker input file unused because linking not done mv -f .deps/ypbind3_binding_free.Tpo .deps/ypbind3_binding_free.Po gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/tirpc /usr/lib/x86_64-linux-gnu/libnsl.so -DLOCALEDIR=\"/usr/local/share/locale\" -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -g -O2 -MT host2ypbind3_binding.o -MD -MP -MF .deps/host2ypbind3_binding.Tpo -c -o host2ypbind3_binding.o host2ypbind3_binding.c gcc: warning: /usr/lib/x86_64-linux-gnu/libnsl.so: linker input file unused because linking not done mv -f .deps/host2ypbind3_binding.Tpo .deps/host2ypbind3_binding.Po rm -f libcompat.a ar cru libcompat.a dns_hosts.o ypbind3_binding_dup.o ypbind3_binding_free.o host2ypbind3_binding.o ar:
u' modifier ignored since
D' is the default (seeU') ranlib libcompat.a make[2]: Leaving directory '/home/zy/packages/ypbind-mt-master/lib' Making all in src make[2]: Entering directory '/home/zy/packages/ypbind-mt-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -DLOCALEDIR=\"/usr/local/share/locale\" /usr/lib/x86_64-linux-gnu/libnsl.so -I/usr/include/tirpc -DUSE_SD_NOTIFY=1 -I./../lib -g -O2 -MT ypbind-mt.o -MD -MP -MF .deps/ypbind-mt.Tpo -c -o ypbind-mt.o ypbind-mt.c gcc: warning: /usr/lib/x86_64-linux-gnu/libnsl.so: linker input file unused because linking not done mv -f .deps/ypbind-mt.Tpo .deps/ypbind-mt.Po gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -DLOCALEDIR=\"/usr/local/share/locale\" /usr/lib/x86_64-linux-gnu/libnsl.so -I/usr/include/tirpc -DUSE_SD_NOTIFY=1 -I./../lib -g -O2 -MT ypbind_svc.o -MD -MP -MF .deps/ypbind_svc.Tpo -c -o ypbind_svc.o ypbind_svc.c gcc: warning: /usr/lib/x86_64-linux-gnu/libnsl.so: linker input file unused because linking not done mv -f .deps/ypbind_svc.Tpo .deps/ypbind_svc.Po gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -DLOCALEDIR=\"/usr/local/share/locale\" /usr/lib/x86_64-linux-gnu/libnsl.so -I/usr/include/tirpc -DUSE_SD_NOTIFY=1 -I./../lib -g -O2 -MT ypbind_server.o -MD -MP -MF .deps/ypbind_server.Tpo -c -o ypbind_server.o ypbind_server.c gcc: warning: /usr/lib/x86_64-linux-gnu/libnsl.so: linker input file unused because linking not done mv -f .deps/ypbind_server.Tpo .deps/ypbind_server.Po gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -DLOCALEDIR=\"/usr/local/share/locale\" /usr/lib/x86_64-linux-gnu/libnsl.so -I/usr/include/tirpc -DUSE_SD_NOTIFY=1 -I./../lib -g -O2 -MT log_msg.o -MD -MP -MF .deps/log_msg.Tpo -c -o log_msg.o log_msg.c gcc: warning: /usr/lib/x86_64-linux-gnu/libnsl.so: linker input file unused because linking not done mv -f .deps/log_msg.Tpo .deps/log_msg.Po gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -DLOCALEDIR=\"/usr/local/share/locale\" /usr/lib/x86_64-linux-gnu/libnsl.so -I/usr/include/tirpc -DUSE_SD_NOTIFY=1 -I./../lib -g -O2 -MT serv_list.o -MD -MP -MF .deps/serv_list.Tpo -c -o serv_list.o serv_list.c gcc: warning: /usr/lib/x86_64-linux-gnu/libnsl.so: linker input file unused because linking not done mv -f .deps/serv_list.Tpo .deps/serv_list.Po gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -DLOCALEDIR=\"/usr/local/share/locale\" /usr/lib/x86_64-linux-gnu/libnsl.so -I/usr/include/tirpc -DUSE_SD_NOTIFY=1 -I./../lib -g -O2 -MT pthread_np.o -MD -MP -MF .deps/pthread_np.Tpo -c -o pthread_np.o pthread_np.c gcc: warning: /usr/lib/x86_64-linux-gnu/libnsl.so: linker input file unused because linking not done mv -f .deps/pthread_np.Tpo .deps/pthread_np.Po gcc -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -DLOCALEDIR=\"/usr/local/share/locale\" /usr/lib/x86_64-linux-gnu/libnsl.so -I/usr/include/tirpc -DUSE_SD_NOTIFY=1 -I./../lib -g -O2 -o ypbind ypbind-mt.o ypbind_svc.o ypbind_server.o log_msg.o serv_list.o pthread_np.o ../lib/libcompat.a -lsystemd /lib/x86_64-linux-gnu/libnsl.so.1 -ltirpc -lpthread ypbind_svc.o: In function
ypbindprog_1': /home/zy/packages/ypbind-mt-master/src/ypbind_svc.c:75: undefined reference toxdr_ypbind_oldsetdom' /home/zy/packages/ypbind-mt-master/src/ypbind_svc.c:69: undefined reference to
xdr_ypbind2_resp' /home/zy/packages/ypbind-mt-master/src/ypbind_svc.c:97: undefined reference totaddr2ipstr' ypbind_svc.o: In function
ypbindprog_2': /home/zy/packages/ypbind-mt-master/src/ypbind_svc.c:161: undefined reference toxdr_ypbind2_setdom' /home/zy/packages/ypbind-mt-master/src/ypbind_svc.c:155: undefined reference to
xdr_ypbind2_resp' /home/zy/packages/ypbind-mt-master/src/ypbind_svc.c:183: undefined reference totaddr2ipstr' ypbind_svc.o: In function
ypbindprog_3': /home/zy/packages/ypbind-mt-master/src/ypbind_svc.c:247: undefined reference toxdr_ypbind3_setdom' /home/zy/packages/ypbind-mt-master/src/ypbind_svc.c:241: undefined reference to
xdr_ypbind3_resp' /home/zy/packages/ypbind-mt-master/src/ypbind_svc.c:269: undefined reference totaddr2ipstr' ypbind_server.o: In function
ypbindproc_oldnull_1_svc': /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:54: undefined reference totaddr2port' /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:51: undefined reference to
taddr2ipstr' ypbind_server.o: In functionypbindproc_null_2_svc': /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:80: undefined reference to
taddr2port' /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:77: undefined reference totaddr2ipstr' ypbind_server.o: In function
ypbindproc_olddomain_1_svc': /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:163: undefined reference totaddr2port' /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:159: undefined reference to
taddr2ipstr' ypbind_server.o: In functionypbindproc_domain_2_svc': /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:189: undefined reference to
taddr2port' /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:185: undefined reference totaddr2ipstr' ypbind_server.o: In function
ypbindproc_domain_3_svc': /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:216: undefined reference totaddr2port' /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:212: undefined reference to
taddr2ipstr' ypbind_server.o: In functionypbindproc_oldsetdom_1_svc': /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:437: undefined reference to
taddr2port' /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:432: undefined reference totaddr2ipstr' ypbind_server.o: In function
ypbindproc_setdom_2_svc': /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:467: undefined reference totaddr2port' /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:464: undefined reference to
taddr2ipstr' ypbind_server.o: In functionypbindproc_setdom_3_svc': /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:498: undefined reference to
taddr2port' /home/zy/packages/ypbind-mt-master/src/ypbind_server.c:495: undefined reference totaddr2ipstr' serv_list.o: In function
update_bindingfile': /home/zy/packages/ypbind-mt-master/src/serv_list.c:245: undefined reference toxdr_ypbind3_binding' serv_list.o: In function
search_ypserver': /home/zy/packages/ypbind-mt-master/src/serv_list.c:693: undefined reference totaddr2ipstr' serv_list.o: In function
eachresult': /home/zy/packages/ypbind-mt-master/src/serv_list.c:567: undefined reference totaddr2port' /home/zy/packages/ypbind-mt-master/src/serv_list.c:578: undefined reference to
taddr2ipstr' /home/zy/packages/ypbind-mt-master/src/serv_list.c:563: undefined reference totaddr2ipstr' /home/zy/packages/ypbind-mt-master/src/serv_list.c:573: undefined reference to
taddr2port' /home/zy/packages/ypbind-mt-master/src/serv_list.c:569: undefined reference totaddr2ipstr' serv_list.o: In function
find_domain_v3': /home/zy/packages/ypbind-mt-master/src/serv_list.c:341: undefined reference totaddr2port' /home/zy/packages/ypbind-mt-master/src/serv_list.c:354: undefined reference to
taddr2port' serv_list.o: In functionget_server_str': /home/zy/packages/ypbind-mt-master/src/serv_list.c:74: undefined reference to
taddr2ipstr' collect2: error: ld returned 1 exit status Makefile:401: recipe for target 'ypbind' failed make[2]: [ypbind] Error 1 make[2]: Leaving directory '/home/zy/packages/ypbind-mt-master/src' Makefile:417: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/zy/packages/ypbind-mt-master' Makefile:358: recipe for target 'all' failed make: *** [all] Error 2