Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Jun 6, 2022 · 0 comments
Open

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

ghost opened this issue Jun 6, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 6, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants