#include <generated/autoconf.h> fatal error: generated/autoconf.h: No such file or directory

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

#include <generated/autoconf.h> fatal error: generated/autoconf.h: No such file or directory

Jump to solution
1,134 Views
rprronad
Contributor IV

Dear Experts,

I faced a critical issue while working with a custom SOM and building a Yocto Project (Kirkstone) image. The setup involves utilizing Kernel v6.1.1 and U-Boot v2022.04. During the execution of the bitbake <target> command, I encountered the following error:

================================================================================
/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/include/linux/kconfig.h:4:10: fatal error: generated/autoconf.h: No such file or directory
| 4 | #include <generated/autoconf.h>
================================================================================

Subsequently, the task failed with exit code '1', pointing to the task do_compile in the recipe /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/sources/meta-calixto-nxp/recipes-bsp/u-boot/u-boot-calixto-nxp.bb.

 

I've attempted several solutions to resolve this issue:

  •  Installed related Linux packages using commands such as:
        sudo apt-get install gcc
        sudo apt-get update && sudo apt-get dist-upgrade
  • Attempted building U-Boot without Yocto Project sources, which resulted in the successful generation of the autoconf.h file.
  • Executed multiple builds with the bitbake <target> command.
  • Checked and modified the machine file within the meta-calixto-nxp directory.
  • Tried the command bitbake -k <target>, but the error persisted.

Despite these efforts, the error persists exclusively within the Yocto Project build. I have referred to the Yocto Project user guide for the Kirkstone release but haven't found a solution.

I've attached the complete log file for your reference. Could someone please assist in resolving this error?

Thanks in advance

logs:

 

 

calixto-systems@calixtosystems-HP-Notebook:~/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto$ ./imx-setup-release.sh 
setting to default machine
/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto
-e 
Usage: MACHINE=<machine> DISTRO=<distro> source setup-environment <build-dir>
Usage:                                   source setup-environment <build-dir>
    <machine>    machine name
    <distro>     distro name
    <build-dir>  build directory

The first usage is for creating a new build directory. In this case, the
script creates the build directory <build-dir>, configures it for the
specified <machine> and <distro>, and prepares the calling shell for running
bitbake on the build directory.

The second usage is for using an existing build directory. In this case,
the script prepares the calling shell for running bitbake on the build
directory <build-dir>. The build directory configuration is unchanged.

-e 
Supported machines: 
	imx6ull-versa256
	imx6ull-versa-evk
	apalis-imx6
	colibri-imx6
	colibri-imx6ull
	colibri-imx7-emmc
	colibri-imx7-nand
	colibri-vf
	cubox-i
	imx233-olinuxino-maxi
	imx233-olinuxino-micro
	imx233-olinuxino-mini
	imx233-olinuxino-nano
	imx6dl-riotboard
	imx6qdl-pico
	imx6qdl-variscite-som
	imx6sl-warp
	imx6ul-kontron
	imx6ul-pico
	imx7d-pico
	imx7s-warp
	lx2160acex7
	nitrogen6sx
	nitrogen6x
	nitrogen6x-lite
	nitrogen7
	nitrogen8m
	nitrogen8mm
	nitrogen8mn
	nitrogen8mp
	wandboard
	imx23evk
	imx28evk
	imx51evk
	imx53qsb
	imx6qdlsabreauto
	imx6qdlsabresd
	imx6slevk
	imx6sllevk
	imx6sxsabreauto
	imx6sxsabresd
	imx6ulevk
	imx6ullevk
	imx6ulz-14x14-evk
	imx7dsabresd
	imx7ulpevk
	imx8dxl-ddr3l-evk
	imx8dxl-lpddr4-evk
	imx8dx-mek
	imx8mm-ddr4-evk
	imx8mm-lpddr4-evk
	imx8mn-ddr4-evk
	imx8mn-lpddr4-evk
	imx8mp-ddr4-evk
	imx8mp-lpddr4-evk
	imx8mq-evk
	imx8qm-mek
	imx8qxp-mek
	ls1012afrwy
	ls1012ardb
	ls1021atwr
	ls1028ardb
	ls1043ardb
	ls1046afrwy
	ls1046ardb
	ls1088ardb
	ls1088ardb-pb
	ls2080ardb
	ls2088ardb
	lx2160ardb
	lx2162aqds
	mpc8548cds
	p1020rdb
	p2020rdb
	p2041rdb
	p3041ds
	p4080ds
	p5040ds-64b
	p5040ds
	t1024rdb-64b
	t1024rdb
	t1042d4rdb-64b
	t1042d4rdb
	t2080rdb-64b
	t2080rdb
	t4240rdb-64b
	t4240rdb

Supported Freescale's distros: 
	fslc-framebuffer
	fslc-wayland
	fslc-x11
	fslc-xwayland

Available Poky's distros: 
	poky-altcfg
	poky-bleeding
	poky
	poky-tiny

Examples:

- To create a new Yocto build directory:
  $ MACHINE=imx6qdlsabresd DISTRO=fslc-framebuffer source setup-environment build

- To use an existing Yocto build directory:
  $ source setup-environment build

-e 
 ERROR - No build directory is set yet. Run the 'setup-environment' script before running this script to create  .
-e 

calixto-systems@calixtosystems-HP-Notebook:~/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto$ source setup-environment build

Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    meta-toolchain
    meta-toolchain-sdk
    adt-installer
    meta-ide-support

Your configuration files at build have not been touched.
calixto-systems@calixtosystems-HP-Notebook:~/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build$ bitbake core-image-minimal
Loading cache: 100% |##########################################################################################################| Time: 0:00:02
Loaded 3899 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "imx6ull-versa256"
DISTRO               = "poky"
DISTRO_VERSION       = "4.0.4"
TUNE_FEATURES        = "arm vfp cortexa7 neon thumb callconvention-hard"
TARGET_FPU           = "hard"
meta                 
meta-poky            
meta-oe              
meta-multimedia      
meta-python          
meta-freescale       
meta-freescale-3rdparty 
meta-freescale-distro 
meta-calixto-nxp     = "master:9f456956f9e70c1fb020b9819e77294c1f502f34"

Initialising tasks: 100% |#####################################################################################################| Time: 0:00:05
Sstate summary: Wanted 47 Local 0 Mirrors 0 Missed 47 Current 1080 (0% match, 95% complete)
NOTE: Executing Tasks
ERROR: u-boot-calixto-nxp-1_1.0-r0 do_compile: oe_runmake failed
ERROR: u-boot-calixto-nxp-1_1.0-r0 do_compile: ExecutionError('/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/temp/run.do_compile.4582', 1, None, None)
ERROR: Logfile of failure stored in: /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/temp/log.do_compile.4582
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 2 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc  --sysroot=/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot V=1 HOSTCC=gcc  -isystem/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot-native/usr/lib                         -L/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 STAGING_INCDIR=/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot-native/usr/include STAGING_LIBDIR=/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot-native/usr/lib -C /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git O=/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/build/imx6ull_versa_256_sd_uboot_defconfig u-boot-dtb.imx
| make: Entering directory '/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git'
| make -C /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/build/imx6ull_versa_256_sd_uboot_defconfig KBUILD_src=/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git \
| -f /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/Makefile u-boot-dtb.imx
| make[1]: Entering directory '/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/build/imx6ull_versa_256_sd_uboot_defconfig'
| set -e; mkdir -p include/config/; 	echo "2022.04$(/bin/bash /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/scripts/setlocalversion /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git)" < /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/include/config/auto.conf > include/config/uboot.release.tmp; if [ -r include/config/uboot.release ] && cmp -s include/config/uboot.release include/config/uboot.release.tmp; then rm -f include/config/uboot.release.tmp; else : '  UPD     include/config/uboot.release'; mv -f include/config/uboot.release.tmp include/config/uboot.release; fi
| ln -fsn /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git source
| /bin/bash /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/scripts/mkmakefile /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git
| Error: kernelrelease not valid - run 'make prepare' to update it
|   GEN     Makefile
| make -f /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/scripts/Makefile.autoconf u-boot.cfg
| set -e; mkdir -p include/generated/; 	(if test -n "${SOURCE_DATE_EPOCH}"; then SOURCE_DATE="@${SOURCE_DATE_EPOCH}"; DATE=""; for date in gdate date.gnu date; do ${date} -u -d "${SOURCE_DATE}" >/dev/null 2>&1 && DATE="${date}"; done; if test -n "${DATE}"; then LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}" +'#define U_BOOT_DATE "%b %d %C%y"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}" +'#define U_BOOT_TIME "%T"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}" +'#define U_BOOT_TZ "%z"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}" +'#define U_BOOT_EPOCH %s'; else return 42; fi; else LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"'; LC_ALL=C date +'#define U_BOOT_TIME "%T"'; LC_ALL=C date +'#define U_BOOT_TZ "%z"'; LC_ALL=C date +'#define U_BOOT_EPOCH %s'; fi) < /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/Makefile > include/generated/timestamp_autogenerated.h.tmp; if [ -r include/generated/timestamp_autogenerated.h ] && cmp -s include/generated/timestamp_autogenerated.h include/generated/timestamp_autogenerated.h.tmp; then rm -f include/generated/timestamp_autogenerated.h.tmp; else : '  UPD     include/generated/timestamp_autogenerated.h'; mv -f include/generated/timestamp_autogenerated.h.tmp include/generated/timestamp_autogenerated.h; fi
| set -e; mkdir -p include/generated/; 	(if test -n "${DEVICE_TREE}"; then echo \#define DEVICE_TREE \"\"; else echo \#define DEVICE_TREE CONFIG_DEFAULT_DEVICE_TREE; fi) < /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/Makefile > include/generated/dt.h.tmp; if [ -r include/generated/dt.h ] && cmp -s include/generated/dt.h include/generated/dt.h.tmp; then rm -f include/generated/dt.h.tmp; else : '  UPD     include/generated/dt.h'; mv -f include/generated/dt.h.tmp include/generated/dt.h; fi
|   if [ -f "FORCE" ]; then cat FORCE > include/generated/env.txt; elif [ -n "" ]; then echo "Missing file /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/board//.env"; else touch include/generated/env.txt ; fi
| make -f /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/scripts/Makefile.build obj=scripts/basic
| mkdir -p include/asm
| if [ -d /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/arch/arm/mach-mx6/include/mach ]; then	\
| 	dest=arch/arm/mach-mx6/include/mach;			\
| else									\
| 	dest=arch/arm/include/asm/arch-mx6;	\
| fi;									\
| ln -fsn /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/$dest include/asm/arch
| set -e; mkdir -p include/; 	(echo "/* Automatically generated - do not edit */"; for i in $(echo "" | sed 's/,/ /g'); do echo \#define CONFIG_$i | sed '/=/ {s/=/	/;q; } ; { s/$/	1/; }'; done; echo \#define CONFIG_BOARDDIR board/calixto/imx6ull_versa; echo \#include \<config_uncmd_spl.h\>; echo \#include \<configs/"imx6ull_versa".h\>; echo \#include \<asm/config.h\>; echo \#include \<linux/kconfig.h\>; echo \#include \<config_fallbacks.h\>;) < /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/scripts/Makefile.autoconf > include/config.h.tmp; if [ -r include/config.h ] && cmp -s include/config.h include/config.h.tmp; then rm -f include/config.h.tmp; else : '  UPD     include/config.h'; mv -f include/config.h.tmp include/config.h; fi
|   arm-poky-linux-gnueabi-gcc  --sysroot=/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot -E -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-maybe-uninitialized -fmacro-prefix-map=/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/= -g -fstack-usage -Wno-format-nonliteral -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=date-time -Wno-packed-not-aligned -D__KERNEL__ -D__UBOOT__ -D__ARM__ -Wa,-mimplicit-it=always  -mthumb -mthumb-interwork  -mabi=aapcs-linux  -mword-relocations  -fno-pic  -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9  -msoft-float -mgeneral-regs-only    -pipe -Iinclude  -I/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/include -I/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/arch/arm/include -include /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/include/linux/kconfig.h -nostdinc -isystem /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/11.3.0/include  -DDO_DEPS_ONLY -dM /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/include/common.h > u-boot.cfg.tmp && { grep 'define CONFIG_' u-boot.cfg.tmp | sed '/define CONFIG_IS_ENABLED(/d;/define CONFIG_IF_ENABLED_INT(/d;/define CONFIG_VAL(/d;' > u-boot.cfg; rm u-boot.cfg.tmp; } || { rm u-boot.cfg.tmp; false; }
| In file included from <command-line>:
| /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/include/linux/kconfig.h:4:10: fatal error: generated/autoconf.h: No such file or directory
|     4 | #include <generated/autoconf.h>
|       |          ^~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| make[2]: *** [/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/scripts/Makefile.autoconf:78: u-boot.cfg] Error 1
| make[1]: *** [/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git/Makefile:616: u-boot.cfg] Error 2
| make[1]: *** Waiting for unfinished jobs....
| rm -f .tmp_quiet_recordmcount
| make[1]: Leaving directory '/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/build/imx6ull_versa_256_sd_uboot_defconfig'
| make: *** [Makefile:177: sub-make] Error 2
| make: Leaving directory '/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa256-poky-linux-gnueabi/u-boot-calixto-nxp/1_1.0-r0/git'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/sources/meta-calixto-nxp/recipes-bsp/u-boot/u-boot-calixto-nxp.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1926 tasks of which 1921 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/sources/meta-calixto-nxp/recipes-bsp/u-boot/u-boot-calixto-nxp.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.

 

 

 

 

Regards,

Ravikumar

0 Kudos
Reply
1 Solution
1,082 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

Hope sections of <Host setup> and <customization> referring to IMX_YOCTO_PROJECT_USERS_GUIDE.pdf can be helpful for you.

 

Regards

Harvey

View solution in original post

0 Kudos
Reply
4 Replies
986 Views
rprronad
Contributor IV

Hi @Harvey021 

Finally i resolved the issues (autoconf.h) & successfully generated the output files/images referring from  IMX_YOCTO_PROJECT_USERS_GUIDE.pdf doc.

Thanks for your support.

Regards, 
Ravikumar

1,083 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

Hope sections of <Host setup> and <customization> referring to IMX_YOCTO_PROJECT_USERS_GUIDE.pdf can be helpful for you.

 

Regards

Harvey

0 Kudos
Reply
1,059 Views
rprronad
Contributor IV
Hi @Harvey021

Even though I've referred to both sections multiple times and followed the build process, I'm still encountering the same error. Kindly provide me with the proper method to resolve this issue."



Thanks & Regards,
Ravikumar
0 Kudos
Reply
1,032 Views
rprronad
Contributor IV

Dear Experts,

I've attempted multiple executions of bitbake <target> while modifying the configuration and machine files, but it still fails to automatically generate the U-Boot source header files (autoconf.h

Kindly suggest another way to resolve this issue & guide me.

Thanks in advance.



Regards, 

Ravikumar

 

 

0 Kudos
Reply