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

Generated cmake is not valid #7

Open
denizetkar opened this issue Jul 15, 2020 · 1 comment
Open

Generated cmake is not valid #7

denizetkar opened this issue Jul 15, 2020 · 1 comment

Comments

@denizetkar
Copy link

Linux kernel version v.5.4.40 is used. I followed your instructions precisely (installed Bear) but the last line of bash code fails cmake .. && make -j12 :

-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/deniz/linux-stable/build
Scanning dependencies of target kernel
[ 0%] Building C object CMakeFiles/kernel.dir/drivers/usb/storage/sierra_ms.c.o
[ 0%] Building C object CMakeFiles/kernel.dir/drivers/iommu/dmar.c.o
[ 0%] Building C object CMakeFiles/kernel.dir/drivers/acpi/acpica/nseval.c.o
[ 0%] Building C object CMakeFiles/kernel.dir/net/wireless/ethtool.c.o
cc: error: ./drivers/scsi: No such file or directory
[ 0%] Building C object CMakeFiles/kernel.dir/arch/x86/pci/irq.c.o
make[2]: *** [CMakeFiles/kernel.dir/build.make:76: CMakeFiles/kernel.dir/drivers/usb/storage/sierra_ms.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 0%] Building C object CMakeFiles/kernel.dir/security/selinux/ss/policydb.c.o
[ 0%] Building C object CMakeFiles/kernel.dir/drivers/hid/hid-sony.c.o
[ 0%] Building C object CMakeFiles/kernel.dir/drivers/gpu/drm/i915/display/intel_bw.c.o
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/kernel.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

@kotee4ko
Copy link

kotee4ko commented May 7, 2021

It seems that the problem not in generated CMake, rather in ёcc: error: ./drivers/scsi: No such file or directory`

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

2 participants