ewust / forge_socket

Linux kernel module for inspecting/modifying TCP socket state from user space
GNU General Public License v2.0
86 stars 26 forks source link

compile forge_socket error #3

Open forzxc opened 9 years ago

forzxc commented 9 years ago

make make -C /lib/modules/2.6.32-504.el6.x86_64/build M=/home/zmap/forge_socket modules make: * /lib/modules/2.6.32-504.el6.x86_64/build: not found file or directory 。stop。 make: * [all] error 2 what is wrong? please help. my os is centos6.5

akatrevorjay commented 6 years ago

You need to install your kernel headers.

When such are installed, they are presented as a symlink, at least in debian-like environments, from /lib/modules/$(uname -r)/build towards /usr/src/linux-$(uname -r).