orangepi-build
orangepi-build copied to clipboard
vmlinux Compilation Error
Using Ubuntu Jammy for cross-compilation
OS: Ubuntu 22.04.4 LTS x86_64
Host: VirtualBox 1.2
Kernel: 5.15.0-117-generic
Uptime: 15 mins
Packages: 900 (dpkg), 4 (snap)
Shell: bash 5.1.16
Resolution: 800x600
Terminal: /dev/pts/0
CPU: Intel i7-10750H (6) @ 2.592GHz
GPU: 00:02.0 VMware SVGA II Adapter
Memory: 232MiB / 5819MiB
error is happening while making a kernel module panfrost
to be exact for OrangePi-3b
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
AR init/built-in.a
LD vmlinux.o
MODPOST vmlinux.symvers
MODINFO modules.builtin.modinfo
GEN modules.builtin
LD .tmp_vmlinux.kallsyms1
make: *** [Makefile:1304: vmlinux] Error 1
[ error ] ERROR in function compile_kernel [ ./build.sh:305 -> scripts/main.sh:624 -> scripts/main.sh:527 -> scripts/compilation.sh:506 -> scripts/general.sh:0 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated