compilation issues in LKM

vs63sipu
Neuling
Neuling
Beiträge: 8
Registriert: 9. Mai 2016 23:16

compilation issues in LKM

Beitrag von vs63sipu » 2. Dez 2016 16:21

Hello,
After installing the headers, when i try to compile my module i get the following error:

vaibhav@debian:~/Desktop/Lab2/Task1$ make
make: root: Command not found
make -C /lib/modules/3.16.0-4-amd64/build SUBDIRS= modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
/usr/src/linux-headers-3.16.0-4-common/arch/x86/Makefile:136: CONFIG_X86_X32 enabled but no binutils support
/usr/src/linux-headers-3.16.0-4-common/Makefile:647: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:44: /usr/src/linux-headers-3.16.0-4-common/scripts/basic/Makefile: No such file or directory
make[5]: *** No rule to make target '/usr/src/linux-headers-3.16.0-4-common/scripts/basic/Makefile'. Stop.
/usr/src/linux-headers-3.16.0-4-common/Makefile:457: recipe for target 'scripts_basic' failed
make[4]: *** [scripts_basic] Error 2
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:44: /usr/src/linux-headers-3.16.0-4-common/arch/x86/syscalls/Makefile: No such file or directory
make[4]: *** No rule to make target '/usr/src/linux-headers-3.16.0-4-common/arch/x86/syscalls/Makefile'. Stop.
/usr/src/linux-headers-3.16.0-4-common/arch/x86/Makefile:187: recipe for target 'archheaders' failed
make[3]: *** [archheaders] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
makefile:6: recipe for target 'default' failed
make: *** [default] Error 2

Does someone else also experience the the same issue ?

Zurück zu „Archiv“