tcp-wrappers_7.6 do compile undefined reference

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

tcp-wrappers_7.6 do compile undefined reference

Jump to solution
261 Views
gufengzi
Contributor III

tjt@kylin:~/src/yocto_imx/build-qpxwayland$ bitbake -c compile tcp-wrappers
Loading cache: 100% |#############################################################################################################################################| Time: 0:00:01
Loaded 5303 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6qpsabresd"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.1-mickledore"
TUNE_FEATURES = "arm vfp cortexa9 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:0a98281d37b0bd8dc1548c390216cb3978e36e0e"
meta-oe
meta-multimedia
meta-python = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842"
meta-freescale = "HEAD:9b00d40b787c2b7105ce209f5635cc1a0cab81ca"
meta-freescale-3rdparty = "HEAD:93ba05e3a16a028b770fa1e813b13eb87a59ac63"
meta-freescale-distro = "HEAD:b09c18a3f649f0cf1b40432bb39e76ba16fe94e2"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:6efe87f014c5bdcbda30f06156ee11d8bc3dc7fe"
meta-nxp-demo-experience = "HEAD:7f34a32c7877e55e87b6a99e90da4128ed632bf2"
meta-arm
meta-arm-toolchain = "HEAD:0e043288fd0b17fbf31cf00ae33045107a991144"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:af4dcba009ba98250315520f3003fde4ee164cce"
meta-gnome
meta-networking
meta-filesystems = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842"
meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad"
meta-parsec
meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2"
meta-virtualization = "HEAD:56593e277a377157944a6676e57497066b770a35"

Initialising tasks: 100% |########################################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 0 Local 0 Mirrors 0 Missed 0 Current 82 (0% match, 100% complete)
NOTE: Executing Tasks
ERROR: tcp-wrappers-7.6-r10 do_compile: oe_runmake failed
ERROR: tcp-wrappers-7.6-r10 do_compile: ExecutionError('/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/temp/run.do_compile.833420', 1, None, None)
ERROR: Logfile of failure stored in: /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/temp/log.do_compile.833420
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 CC=arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot AR=arm-poky-linux-gnueabi-gcc-ar RANLIB=arm-poky-linux-gnueabi-gcc-ranlib REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS FACILITY=LOG_DAEMON SEVERITY=LOG_INFO BUGS= VSYSLOG= RFC931_TIMEOUT=10 ACCESS=-DHOSTS_ACCESS KILL_OPT=-DKILL_IP_OPTIONS UMASK=-DDAEMON_UMASK=022 NETGROUP=-DNETGROUP -DUSE_GETDOMAIN ARFLAGS=rv AUX_OBJ=weak_symbols.o TLI= COPTS= EXTRA_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native= -DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len TABLES=-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" all
| arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DNETGROUP -DUSE_GETDOMAIN -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native= -DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native= -Wl,-z,relro,-z,now -o tcpd tcpd.o -Lshared -lwrap
| arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DNETGROUP -DUSE_GETDOMAIN -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native= -DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native= -Wl,-z,relro,-z,now -o tcpdmatch tcpdmatch.o fakelog.o inetcf.o scaffold.o -Lshared -lwrap
| arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DNETGROUP -DUSE_GETDOMAIN -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native= -DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native= -Wl,-z,relro,-z,now -o try-from try-from.o fakelog.o -Lshared -lwrap
| arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DNETGROUP -DUSE_GETDOMAIN -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native= -DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native= -Wl,-z,relro,-z,now -o safe_finger safe_finger.o -Lshared -lwrap
| arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DNETGROUP -DUSE_GETDOMAIN -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native= -DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/tcp_wrappers_7.6=/usr/src/debug/tcp-wrappers/7.6-r10 -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fmacro-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot= -fdebug-prefix-map=/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native= -Wl,-z,relro,-z,now -o tcpdchk tcpdchk.o fakelog.o inetcf.o scaffold.o -Lshared -lwrap
| /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/12.3.0/ld/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/12.3.0/ld: : /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot/usr/lib/Scrt1.o: in function `_start':
| /usr/src/debug/glibc/2.37-r1/csu/../sysdeps/arm/start.S:118: undefined reference to `main'
| /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot/usr/lib/Scrt1.o: in function `_start':
| /usr/src/debug/glibc/2.37-r1/csu/../sysdeps/arm/start.S:118: undefined reference to `main'
| /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/12.3.0/ld: fakelog.o: in function `vsyslog':
| /usr/src/debug/tcp-wrappers/7.6-r10/fakelog.c:37: undefined reference to `percent_m'
| collect2: error: ld returned 1 exit status
| collect2: error: ld returned 1 exit status
| make: *** [Makefile:759: tcpd] Error 1
| make: *** Waiting for unfinished jobs....
| make: *** [Makefile:770: tcpdmatch] Error 1
| /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/12.3.0/ld: /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot/usr/lib/Scrt1.o: in function `_start':
| /usr/src/debug/glibc/2.37-r1/csu/../sysdeps/arm/start.S:118: undefined reference to `main'
| collect2: error: ld returned 1 exit status
| make: *** [Makefile:765: safe_finger] Error 1
| /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/12.3.0/ld: /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot/usr/lib/Scrt1.o: in function `_start':
| /usr/src/debug/glibc/2.37-r1/csu/../sysdeps/arm/start.S:118: undefined reference to `main'
| /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/12.3.0/ld: fakelog.o: in function `vsyslog':
| /usr/src/debug/tcp-wrappers/7.6-r10/fakelog.c:37: undefined reference to `percent_m'
| collect2: error: ld returned 1 exit status
| make: *** [Makefile:773: try-from] Error 1
| /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/12.3.0/ld: /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot/usr/lib/Scrt1.o: in function `_start':
| /usr/src/debug/glibc/2.37-r1/csu/../sysdeps/arm/start.S:118: undefined reference to `main'
| /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/tcp-wrappers/7.6-r10/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/12.3.0/ld: fakelog.o: in function `vsyslog':
| /usr/src/debug/tcp-wrappers/7.6-r10/fakelog.c:37: undefined reference to `percent_m'
| collect2: error: ld returned 1 exit status
| make: *** [Makefile:778: tcpdchk] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/tjt/src/yocto_imx/sources/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 361 tasks of which 360 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/tjt/src/yocto_imx/sources/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.
tjt@kylin:~/src/yocto_imx/build-qpxwayland$

0 Kudos
1 Solution
244 Views
Harvey021
NXP TechSupport
NXP TechSupport

From the error message, there is a problem with the compilation and linking. There is a more possibility that there is a problem with downloading the source code package.

Try the following methods:

1. Clean up the recipe package. 2. Manual download or bitbake fetch. 3.  run bitbake <this recipe>.

Also pay attention to the host package stated as <3.2 Host packages> (better also to run sudo apt update && sudo apt upgrade on your host) and your network.

 

Regards

Harvey

View solution in original post

0 Kudos
1 Reply
245 Views
Harvey021
NXP TechSupport
NXP TechSupport

From the error message, there is a problem with the compilation and linking. There is a more possibility that there is a problem with downloading the source code package.

Try the following methods:

1. Clean up the recipe package. 2. Manual download or bitbake fetch. 3.  run bitbake <this recipe>.

Also pay attention to the host package stated as <3.2 Host packages> (better also to run sudo apt update && sudo apt upgrade on your host) and your network.

 

Regards

Harvey

0 Kudos