Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12323

How to fix compiling raspbian from scratch error with .tmp_vmlinux.kallsyms1 make: *** [Makefile:234: __sub-make] Error 2

$
0
0

I am completely new and trying to learn to compile Linux from scratch so I had no idea where to begin debugging make: *** [Makefile:234: __sub-make] Error 2 error trying to compile Raspbian from scratch following these instructions for cross compilation:https://www.raspberrypi.com/documentation/computers/linux_kernel.html#cross-compile-the-kernel

I have installed all dependencies out lined in the raspberrypi docs I am using Debian on a 64bit system for cross compilation, compiling raspbian for raspberry pi 5, any ideas are appreciated.

 LD [M]  net/vmw_vsock/vmw_vsock_virtio_transport_common.o  CC [M]  net/vmw_vsock/vsock_loopback.o  CC [M]  net/nsh/nsh.o  CC      net/devres.o  CC      net/socket.o  CC      net/compat.o  CC      net/sysctl_net.o  AR      net/built-in.a  CC      virt/lib/irqbypass.o  AR      virt/lib/built-in.a  AR      virt/built-in.a  AR      built-in.a  AR      vmlinux.a  LD      vmlinux.o  OBJCOPY modules.builtin.modinfo  GEN     modules.builtin  GEN     .vmlinux.objs  MODPOST Module.symvers  CC      .vmlinux.export.o  UPD     include/generated/utsversion.h  CC      init/version-timestamp.o  LD      .tmp_vmlinux.kallsyms1aarch64-linux-gnu-ld: Unexpected GOT/PLT entries detected!aarch64-linux-gnu-ld: Unexpected run-time procedure linkages detected!aarch64-linux-gnu-ld: arch/arm64/mm/fault.o: in function `do_alignment_fault':fault.c:(.text+0x988): undefined reference to `do_alignment_fixup'make[2]: *** [scripts/Makefile.vmlinux:37: vmlinux] Error 1make[1]: *** [/complilers/linux/Makefile:1164: vmlinux] Error 2make: *** [Makefile:234: __sub-make] Error 2

Viewing all articles
Browse latest Browse all 12323

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>