Skip to content

Can't compile due to error implicit declaration of function #7

@ghost

Description

I can't get the kernel to compile due to the error:

ubuntu@ubuntu2204:~/Downloads/starlte$ make all
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CC      arch/x86/kernel/asm-offsets.s
In file included from ./include/linux/spinlock.h:280,
                 from ./include/linux/mmzone.h:7,
                 from ./include/linux/gfp.h:5,
                 from ./include/linux/slab.h:14,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:8:
./include/linux/spinlock_api_smp.h: In function \u2018__raw_spin_lock_irqsave\u2019:
./include/linux/spinlock_api_smp.h:112:9: error: implicit declaration of function \u2018exynos_ss_spinlock\u2019 [-Werror=implicit-function-declaration]
  112 |         exynos_ss_spinlock(lock, 1);
      |         ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Kbuild:57: arch/x86/kernel/asm-offsets.s] Error 1
make: *** [Makefile:1183: prepare0] Error 2
ubuntu@ubuntu2204:~/Downloads/starlte$ sudo m

I don't know what to do to fix this error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions