Hello,
I am trying to build a Linux Kernel by following the steps in this link:
https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/linux/zynqmp
However, once I write the following commands:
and after I run that last "make -j5..." command, I see a log that contains an error message. I do not successfully make an Image file.
I have attached the contents of the log. Could somebody please help me identify where I may have made a mistake?
Best regards,
Hyomin
vboxuser@Ubuntu16:~/github-linux-build/linux$ make -j5 Image UIMAGE_LOADADDR=0x8000 SYNC include/config/auto.conf.cmd WRAP arch/arm64/include/generated/uapi/asm/ioctl.h WRAP arch/arm64/include/generated/uapi/asm/errno.h WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h WRAP arch/arm64/include/generated/uapi/asm/ioctls.h WRAP arch/arm64/include/generated/uapi/asm/msgbuf.h WRAP arch/arm64/include/generated/uapi/asm/ipcbuf.h WRAP arch/arm64/include/generated/uapi/asm/poll.h WRAP arch/arm64/include/generated/uapi/asm/resource.h WRAP arch/arm64/include/generated/uapi/asm/sembuf.h WRAP arch/arm64/include/generated/uapi/asm/shmbuf.h WRAP arch/arm64/include/generated/uapi/asm/siginfo.h WRAP arch/arm64/include/generated/uapi/asm/socket.h WRAP arch/arm64/include/generated/uapi/asm/swab.h WRAP arch/arm64/include/generated/uapi/asm/sockios.h WRAP arch/arm64/include/generated/uapi/asm/stat.h WRAP arch/arm64/include/generated/uapi/asm/termbits.h WRAP arch/arm64/include/generated/uapi/asm/termios.h WRAP arch/arm64/include/generated/uapi/asm/types.h WRAP arch/arm64/include/generated/asm/qrwlock.h WRAP arch/arm64/include/generated/asm/mcs_spinlock.h WRAP arch/arm64/include/generated/asm/early_ioremap.h WRAP arch/arm64/include/generated/asm/qspinlock.h WRAP arch/arm64/include/generated/asm/parport.h WRAP arch/arm64/include/generated/asm/user.h WRAP arch/arm64/include/generated/asm/delay.h WRAP arch/arm64/include/generated/asm/bugs.h WRAP arch/arm64/include/generated/asm/div64.h WRAP arch/arm64/include/generated/asm/dma-mapping.h WRAP arch/arm64/include/generated/asm/dma.h WRAP arch/arm64/include/generated/asm/emergency-restart.h WRAP arch/arm64/include/generated/asm/hw_irq.h WRAP arch/arm64/include/generated/asm/irq_regs.h WRAP arch/arm64/include/generated/asm/kmap_size.h WRAP arch/arm64/include/generated/asm/kdebug.h WRAP arch/arm64/include/generated/asm/local.h WRAP arch/arm64/include/generated/asm/mmiowb.h WRAP arch/arm64/include/generated/asm/local64.h WRAP arch/arm64/include/generated/asm/msi.h WRAP arch/arm64/include/generated/asm/switch_to.h WRAP arch/arm64/include/generated/asm/softirq_stack.h WRAP arch/arm64/include/generated/asm/serial.h WRAP arch/arm64/include/generated/asm/trace_clock.h WRAP arch/arm64/include/generated/asm/unaligned.h WRAP arch/arm64/include/generated/asm/vga.h UPD include/generated/uapi/linux/version.h HOSTCC scripts/sorttable HOSTCC scripts/kallsyms UPD include/generated/compile.h HOSTCC scripts/asn1_compiler UPD include/generated/utsrelease.h GEN arch/arm64/include/generated/asm/sysreg-defs.h GEN arch/arm64/include/generated/asm/cpucaps.h CC scripts/mod/devicetable-offsets.s HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/empty.o UPD scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/sumversion.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTLD scripts/mod/modpost CHKSHA1 include/linux/atomic/atomic-long.h CC kernel/bounds.s CHKSHA1 include/linux/atomic/atomic-instrumented.h CHKSHA1 include/linux/atomic/atomic-arch-fallback.h UPD include/generated/timeconst.h UPD include/generated/bounds.h CC arch/arm64/kernel/asm-offsets.s UPD include/generated/asm-offsets.h CALL scripts/checksyscalls.sh AS arch/arm64/kernel/vdso/note.o AS arch/arm64/kernel/vdso/sigreturn.o CC arch/arm64/kernel/vdso/vgettimeofday.o LDS arch/arm64/kernel/vdso/vdso.lds LD arch/arm64/kernel/vdso/vdso.so.dbg OBJCOPY arch/arm64/kernel/vdso/vdso.so VDSOSYM include/generated/vdso-offsets.h HOSTCC usr/gen_init_cpio CC certs/system_keyring.o CC init/main.o AR arch/arm64/kernel/probes/built-in.a LDS arch/arm64/kernel/vmlinux.lds CC kernel/sched/core.o CC arch/arm64/kernel/debug-monitors.o GEN usr/initramfs_data.cpio COPY usr/initramfs_inc_data AS usr/initramfs_data.o AR usr/built-in.a CC mm/filemap.o HOSTCC certs/extract-cert certs/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory compilation terminated. scripts/Makefile.host:111: recipe for target 'certs/extract-cert' failed make[2]: *** [certs/extract-cert] Error 1 scripts/Makefile.build:500: recipe for target 'certs' failed make[1]: *** [certs] Error 2 make[1]: *** Waiting for unfinished jobs.... CC mm/mempool.o AS arch/arm64/kernel/entry.o CC arch/arm64/kernel/irq.o CC mm/oom_kill.o UPD init/utsversion-tmp.h CC init/do_mounts.o CC arch/arm64/kernel/fpsimd.o CC mm/fadvise.o CC init/do_mounts_rd.o CC arch/arm64/kernel/entry-common.o CC mm/maccess.o CC mm/page-writeback.o CC init/do_mounts_initrd.o CC kernel/sched/fair.o CC mm/folio-compat.o AS arch/arm64/kernel/entry-fpsimd.o CC arch/arm64/kernel/process.o CC init/initramfs.o CC mm/readahead.o CC arch/arm64/kernel/ptrace.o CC mm/swap.o CC init/calibrate.o CC mm/truncate.o CC init/init_task.o CC init/version.o CC mm/vmscan.o CC arch/arm64/kernel/setup.o AR init/built-in.a CC kernel/sched/build_policy.o CC kernel/sched/build_utility.o CC mm/shmem.o CC arch/arm64/kernel/signal.o CC arch/arm64/kernel/sys.o CC mm/util.o CC mm/mmzone.o CC arch/arm64/kernel/stacktrace.o CC arch/arm64/kernel/time.o CC mm/vmstat.o CC mm/backing-dev.o AR kernel/sched/built-in.a CC kernel/locking/mutex.o CC arch/arm64/kernel/traps.o CC arch/arm64/kernel/io.o CC arch/arm64/kernel/vdso.o CC mm/mm_init.o CC kernel/locking/semaphore.o AS arch/arm64/kernel/hyp-stub.o CC arch/arm64/kernel/psci.o CC mm/percpu.o CC arch/arm64/kernel/cpu_ops.o CC mm/slab_common.o CC arch/arm64/kernel/return_address.o CC kernel/locking/rwsem.o CC arch/arm64/kernel/cpuinfo.o CC arch/arm64/kernel/cpu_errata.o CC kernel/locking/percpu-rwsem.o CC arch/arm64/kernel/cpufeature.o CC mm/compaction.o CC arch/arm64/kernel/alternative.o CC mm/interval_tree.o CC kernel/locking/spinlock.o CC kernel/locking/osq_lock.o CC arch/arm64/kernel/cacheinfo.o CC mm/list_lru.o CC kernel/locking/qspinlock.o CC arch/arm64/kernel/smp.o CC arch/arm64/kernel/smp_spin_table.o CC kernel/locking/rtmutex_api.o CC mm/workingset.o CC mm/debug.o CC arch/arm64/kernel/topology.o AS arch/arm64/kernel/smccc-call.o CC arch/arm64/kernel/syscall.o CC mm/gup.o CC mm/mmap_lock.o CC arch/arm64/kernel/proton-pack.o CC kernel/locking/qrwlock.o CC arch/arm64/kernel/idreg-override.o CC mm/highmem.o AR kernel/locking/built-in.a CC kernel/power/qos.o CC arch/arm64/kernel/idle.o CC arch/arm64/kernel/patching.o CC mm/memory.o CC arch/arm64/kernel/sys32.o CC kernel/power/main.o CC mm/mincore.o CC arch/arm64/kernel/signal32.o CC arch/arm64/kernel/sys_compat.o CC kernel/power/console.o CC mm/mlock.o AS arch/arm64/kernel/sigreturn32.o AS arch/arm64/kernel/kuser32.o CC arch/arm64/kernel/module.o CC arch/arm64/kernel/module-plts.o CC kernel/power/process.o CC arch/arm64/kernel/perf_regs.o CC arch/arm64/kernel/perf_callchain.o CC mm/mmap.o CC kernel/power/suspend.o CC arch/arm64/kernel/perf_event.o CC arch/arm64/kernel/hw_breakpoint.o CC mm/mmu_gather.o CC kernel/power/poweroff.o CC mm/mprotect.o AS arch/arm64/kernel/sleep.o CC arch/arm64/kernel/suspend.o CC arch/arm64/kernel/cpuidle.o AR kernel/power/built-in.a CC kernel/printk/printk.o CC arch/arm64/kernel/efi.o CC mm/mremap.o AS arch/arm64/kernel/efi-entry.o AS arch/arm64/kernel/efi-rt-wrapper.o CC arch/arm64/kernel/pci.o CC mm/msync.o CC arch/arm64/kernel/armv8_deprecated.o CC arch/arm64/kernel/elfcore.o CC mm/page_vma_mapped.o CC mm/pagewalk.o CC kernel/printk/printk_safe.o CC arch/arm64/kernel/pointer_auth.o AS arch/arm64/kernel/vdso-wrap.o AS arch/arm64/kernel/head.o OBJCOPY arch/arm64/kernel/efi-entry.stub.o CC kernel/printk/printk_ringbuffer.o AR arch/arm64/kernel/built-in.a CC kernel/printk/sysctl.o CC arch/arm64/mm/dma-mapping.o CC mm/pgtable-generic.o CC mm/rmap.o CC kernel/irq/irqdesc.o AR kernel/printk/built-in.a CC kernel/rcu/update.o CC arch/arm64/mm/extable.o CC mm/vmalloc.o CC kernel/rcu/sync.o CC arch/arm64/mm/fault.o CC kernel/irq/handle.o CC kernel/rcu/srcutree.o CC kernel/irq/manage.o CC mm/process_vm_access.o CC arch/arm64/mm/init.o CC mm/page_alloc.o CC kernel/rcu/tree.o AS arch/arm64/mm/cache.o CC arch/arm64/mm/copypage.o CC mm/init-mm.o CC kernel/irq/spurious.o CC arch/arm64/mm/flush.o CC mm/memblock.o CC kernel/irq/resend.o CC arch/arm64/mm/ioremap.o CC kernel/irq/chip.o CC arch/arm64/mm/mmap.o CC mm/madvise.o CC arch/arm64/mm/pgd.o CC kernel/irq/dummychip.o CC kernel/rcu/rcu_segcblist.o CC arch/arm64/mm/mmu.o CC kernel/irq/devres.o CC mm/page_io.o CC mm/swap_state.o AR kernel/rcu/built-in.a AR kernel/livepatch/built-in.a CC kernel/dma/mapping.o CC kernel/irq/autoprobe.o CC arch/arm64/mm/context.o CC kernel/irq/irqdomain.o CC mm/swapfile.o CC kernel/dma/direct.o CC mm/swap_slots.o AS arch/arm64/mm/proc.o CC arch/arm64/mm/pageattr.o CC kernel/dma/ops_helpers.o CC mm/dmapool.o CC kernel/irq/proc.o CC arch/arm64/mm/hugetlbpage.o CC kernel/dma/dummy.o CC mm/hugetlb.o CC kernel/irq/cpuhotplug.o CC kernel/dma/contiguous.o AR arch/arm64/mm/built-in.a AR arch/arm64/net/built-in.a AR arch/arm64/crypto/built-in.a AR arch/arm64/built-in.a CC kernel/dma/coherent.o CC mm/hugetlb_vmemmap.o CC kernel/irq/pm.o CC kernel/dma/swiotlb.o CC kernel/dma/pool.o CC mm/sparse.o CC kernel/irq/msi.o CC kernel/dma/remap.o CC mm/sparse-vmemmap.o CC mm/slab.o AR kernel/dma/built-in.a CC kernel/irq/ipi.o AR kernel/entry/built-in.a CC kernel/module/main.o CC mm/migrate.o CC kernel/irq/affinity.o CC mm/huge_memory.o AR kernel/irq/built-in.a CC kernel/time/time.o CC kernel/module/strict_rwx.o CC mm/khugepaged.o CC mm/page_isolation.o CC kernel/module/tree_lookup.o CC kernel/time/timer.o CC kernel/module/kallsyms.o CC mm/early_ioremap.o CC kernel/module/procfs.o CC kernel/time/hrtimer.o CC mm/cma.o CC mm/memfd.o CC mm/ioremap.o CC kernel/module/sysfs.o CC kernel/futex/core.o CC kernel/futex/syscalls.o AR mm/built-in.a CC kernel/cgroup/cgroup.o AR kernel/module/built-in.a CC kernel/trace/trace_clock.o CC kernel/time/timekeeping.o CC kernel/futex/pi.o AR kernel/trace/built-in.a CC kernel/bpf/core.o CC kernel/futex/requeue.o CC kernel/futex/waitwake.o CC kernel/time/ntp.o CC kernel/time/clocksource.o AR kernel/futex/built-in.a CC kernel/events/core.o CC kernel/time/jiffies.o CC kernel/time/timer_list.o AR kernel/bpf/built-in.a CC kernel/fork.o CC kernel/time/timeconv.o CC kernel/time/timecounter.o CC kernel/cgroup/rstat.o CC kernel/time/alarmtimer.o CC kernel/time/posix-timers.o CC kernel/cgroup/namespace.o CC kernel/time/posix-cpu-timers.o CC kernel/time/posix-clock.o CC kernel/exec_domain.o CC kernel/cgroup/cgroup-v1.o CC kernel/time/itimer.o CC kernel/panic.o CC kernel/time/clockevents.o CC kernel/cgroup/freezer.o CC kernel/time/tick-common.o CC kernel/cpu.o CC kernel/time/tick-broadcast.o AR kernel/cgroup/built-in.a CC kernel/exit.o CC kernel/time/tick-broadcast-hrtimer.o CC kernel/time/sched_clock.o CC kernel/time/tick-oneshot.o CC kernel/time/tick-sched.o CC kernel/softirq.o CC kernel/events/ring_buffer.o CC kernel/time/vsyscall.o CC kernel/resource.o CC kernel/time/timekeeping_debug.o CC kernel/sysctl.o CC kernel/time/namespace.o CC kernel/events/callchain.o CC kernel/events/hw_breakpoint.o CC kernel/capability.o AR kernel/time/built-in.a CC kernel/ptrace.o CC kernel/user.o CC kernel/signal.o CC kernel/sys.o CC kernel/umh.o AR kernel/events/built-in.a CC kernel/workqueue.o CC kernel/pid.o CC kernel/task_work.o CC kernel/extable.o CC kernel/params.o CC kernel/kthread.o CC kernel/sys_ni.o CC kernel/nsproxy.o CC kernel/notifier.o CC kernel/ksysfs.o CC kernel/cred.o CC kernel/reboot.o CC kernel/async.o CC kernel/range.o CC kernel/smpboot.o CC kernel/ucount.o CC kernel/regset.o CC kernel/kmod.o CC kernel/groups.o CC kernel/kcmp.o CC kernel/freezer.o CC kernel/profile.o CC kernel/smp.o CC kernel/uid16.o CC kernel/kallsyms.o CC kernel/acct.o CC kernel/compat.o CC kernel/utsname.o CC kernel/user_namespace.o CC kernel/pid_namespace.o UPD kernel/config_data CC kernel/stop_machine.o CC kernel/audit.o CC kernel/auditfilter.o CC kernel/auditsc.o CC kernel/audit_watch.o CC kernel/audit_fsnotify.o CC kernel/audit_tree.o CC kernel/seccomp.o CC kernel/utsname_sysctl.o CC kernel/delayacct.o CC kernel/taskstats.o CC kernel/tsacct.o CC kernel/irq_work.o CC kernel/cpu_pm.o CC kernel/context_tracking.o CC kernel/iomem.o CC kernel/rseq.o GZIP kernel/config_data.gz CC kernel/configs.o AR kernel/built-in.a Makefile:1988: recipe for target '.' failed make: *** [.] Error 2