我正在尝试使用这个guide构建Klips capable version of OpenSwan,它的内容类似于
make KERNELSRC=/lib/modules/`uname -r`/build module它给出了fol输出
KLIPS26 module built successfully.
ipsec.ko is in /home/naruto/Downloads/Openswan-master/modobj26
-rw-r--r-- 1 root root 11662573 Feb 20 10:32 ipsec.ko
text data bss dec hex filename
367195 15808 8244 391247 5f84f ipsec.ko
use make minstall as root to install it但是当我跑的时候
make KERNELSRC=/lib/modules/`uname -r`/build install minstall它给了我
make[3]:/usr/src/kernels/2.6.32-504.8.1.el6.x86_64/Documentation/DocBook/Makefile:No such file or directory
make[3]: *** No rule to make target/usr/src/kernels/2.6.32-504.8.1.el6.x86_64/Documentation/DocBook/Makefile'Stop.
make[2]: *** [help] Error 2我有一个目录/usr/src/kernels/2.6.32-504.8.1.el6.x86_64,但是/usr/src/kernels/2.6.32-504.8.1.el6.x86_64/Documentation/DocBook不存在
如何将ipsec.ko构建到内核中,请参阅指南
问候
发布于 2015-02-20 13:57:11
这两个内核在我看来都不一样。一个是2.6.18,另一个是2.6.32,您可能还需要kernel-devel
https://stackoverflow.com/questions/28622455
复制相似问题