linux-kernel-module-cheat
linux-kernel-module-cheat copied to clipboard
compilation error: fatal error: Eigen/Dense: No such file or directory
my build fails with:
eigen.cpp:5:23: fatal error: Eigen/Dense: No such file or directory #include <Eigen/Dense> ^ compilation terminated. Makefile:38: recipe for target 'eigen.out' failed make[2]: *** [eigen.out] Error 1 package/pkg-generic.mk:223: recipe for target '/home/blah/linux-kernel-module-cheat/out/x86_64/buildroot/build/kernel_module-1.0/.stamp_built' failed make[1]: *** [/home/blah/linux-kernel-module-cheat/out/x86_64/buildroot/build/kernel_module-1.0/.stamp_built] Error 2 Makefile:79: recipe for target '_all' failed make: *** [_all] Error 2
Hi Dafna,
What commit are you on? Do you have: 82d4730cb6da27b9e829a2030a7cda7e98552953 ?
What is your build command? Are you enabling Eigen as explained at: https://github.com/cirosantilli/linux-kernel-module-cheat/tree/291de25ac76505f33c5f39bfef1dc9b661816bfc#eigen with: ./build -B 'BR2_PACKAGE_EIGEN=y' -k?
Hi,
I do have this commit, I cloned yesterday.
I built with just ./configure && ./build
I worked around it by just removing the the intractable c file.
Another problem I encountered is that there is the . common line in the start of the build script.
But the source command (which is the dot) first look in the $PATH for a file named common and I happen to have one.
I think it's better to change it to . ./common
OK, thanks for the report.
I tried to fix the . common problem with: https://github.com/cirosantilli/linux-kernel-module-cheat/commit/d330f8d250001e34da8e53b09d0e6a2cdb73d31c Let me know if it persists.
I will try a full clean build later on to see about the eigen problem.
https://github.com/cirosantilli/linux-kernel-module-cheat/commit/802fe1fda03a1030f53abbb7036a59b9336c31d2 should fix the eigen problem, please confirm when you get a moment.
Thanks for the reports Dafna, I'm glad someone is actually compiling this thing besides me.
Hi, I just started a clean build and I got:
package/pkg-generic.mk:207: *** BR2_GLOBAL_PATCH_DIR contains nonexistent directory ../global_patch_dir. Stop.
Makefile:79: recipe for target '_all' failed
make: *** [_all] Error 2
@kamomil hey, try to pull again, I think I fixed this on a force push. Sorry for the slight mess:
https://github.com/cirosantilli/linux-kernel-module-cheat/blob/6792bfd45a632236bd0829a7fe7e18169a7a39b1/br2/default#L24