Open wuxiaoqiang12 opened 2 weeks ago
Hi, I'm glad that the build did work :)
I don't have any experience with CLion, so I don't know how to configure it.
But the error indicates that the compiler can't find some files, so I'd check if all the paths provided to clang
really exist. For example, -dependency-file drivers/xen/xen-pciback/.conf_space.o.d
looks suspicious — it can only work if you are in kernel root directory.
Maybe you can tell CLion to just use the existing makefile? I.e. call make LLVM=1 ARCH=arm64 -j $(sysctl -n hw.logicalcpu) HOSTCFLAGS="-I./"
when you run Build/
Hello,
First of all, I want to express my gratitude for your excellent tutorial. I was able to successfully compile the Linux kernel on my M1 chip MacBook Air. However, I encountered an issue when trying to load the project in CLion.
Here's what I did:
make
process.But when I try to load the CMake project in CLion, it fails with numerous errors indicating that many files are missing.
Is there any specific configuration or additional steps I need to follow to resolve this issue? Any help would be greatly appreciated.
Thank you!