error: missing syscalls when compiling kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all. This is the error that I am getting when I try to compile a
loadable module(it tries to intercept a system call by directly
editing the sys_call_table in the memory):-

make -C /lib/modules/2.6.32-504.1.3.el6.x86_64/build M= modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-504.1.3.el6.x86_64'
make[2]: Nothing to be done for `all'.
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
make[2]: *** No rule to make target `missing-syscalls'.  Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-504.1.3.el6.x86_64'
make: *** [all] Error 2



The Makefile is:-

obj-m   +:= hijack.o
PWD    := $(pwd)
all:
        make -C /lib/modules/2.6.32-504.1.3.el6.x86_64/build M=$(PWD) modules
clean:
        make -C /lib/modules/2.6.32-504.1.3.el6.x86_64/build M=$(PWD) clean




I have googled the error but most links are unresolved. I am trying to
install this against the currently running kernel and not the complete
source.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux