repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.36-2.1.0.xml
DISTRO=fsl-imx-xwayland MACHINE=imx6qpsabresd source imx-setup-release.sh -b build-qpxwayland
bitbake imx-image-full
nitialising tasks: 100% |########################################################################################################################################| Time: 0:00:04
Sstate summary: Wanted 449 Local 0 Mirrors 0 Missed 449 Current 3812 (0% match, 89% complete)
NOTE: Executing Tasks
ERROR: bluez5-5.66-r0 do_compile: oe_runmake failed
ERROR: bluez5-5.66-r0 do_compile: ExecutionError('/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/bluez5/5.66-r0/temp/run.do_compile.765468', 1, None, None)
ERROR: Logfile of failure stored in: /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/bluez5/5.66-r0/temp/log.do_compile.765468
Log data follows:
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1
......
ky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/12.3.0/ld: monitor/att.o: in function `att_find_info_rsp':
| /usr/src/debug/bluez5/5.66-r0/monitor/att.c:2478: undefined reference to `packet_hexdump'
| /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/bluez5/5.66-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/12.3.0/ld: monitor/att.o:/usr/src/debug/bluez5/5.66-r0/monitor/att.c:2819: more undefined references to `packet_hexdump' follow
| collect2: error: ld returned 1 exit status
| make[1]: *** [Makefile:5693: monitor/btmon] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| make: *** [Makefile:4472: all] Error 2
ERROR: Task (/home/tjt/src/yocto_imx/sources/poky/meta/recipes-connectivity/bluez5/bluez5_5.66.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2416 tasks of which 2415 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/tjt/src/yocto_imx/sources/poky/meta/recipes-connectivity/bluez5/bluez5_5.66.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.
已解决! 转到解答。
The one seems having the same problem as tcp-wrappers_7.6 do compile undefined reference - NXP Community, please refer to the steps there.
Regards
Harvey