Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: linux/version.h: No such file or directory #2

Open
Bhaveshpatil60 opened this issue Jan 19, 2019 · 0 comments
Open

fatal error: linux/version.h: No such file or directory #2

Bhaveshpatil60 opened this issue Jan 19, 2019 · 0 comments

Comments

@Bhaveshpatil60
Copy link

Bhaveshpatil60 commented Jan 19, 2019

make -C UTIL/ osutil
make[1]: Entering directory '/root/Desktop/t2uh-master/UTIL'
cp -f os/linux/Makefile.6.util /root/Desktop/t2uh-master/UTIL/os/linux/Makefile
make -C /lib/modules/4.17.0-kali1-amd64/build SUBDIRS=/root/Desktop/t2uh-master/UTIL/os/linux modules
make[2]: Entering directory '/usr/lib/modules/4.17.0-kali1-amd64/build'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax

WARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /root/Desktop/t2uh-master/UTIL/os/linux/../../common/rt_os_util.o
In file included from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/asm-offsets.h:1,
from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/syscall.h:20,
from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/elf.h:13,
from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/elf.h:5,
from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/module.h:15,
from /root/Desktop/t2uh-master/UTIL/include/os/rt_linux.h:18,
from /root/Desktop/t2uh-master/UTIL/include/rtmp_os.h:48,
from /root/Desktop/t2uh-master/UTIL/include/rtmp_comm.h:62,
from /root/Desktop/t2uh-master/UTIL/os/linux/../../common/rt_os_util.c:20:
/usr/src/linux-headers-3.18.0-kali3-common/include/generated/asm-offsets.h:43: warning: "NR_syscalls" redefined
#define NR_syscalls 548 /* sizeof(syscalls_64) */

In file included from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/unistd.h:24,
from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/seccomp.h:5,
from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/seccomp.h:14,
from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/sched.h:21,
from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/syscall.h:17,
from /usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/elf.h:13,
from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/elf.h:5,
from /usr/src/linux-headers-3.18.0-kali3-common/include/linux/module.h:15,
from /root/Desktop/t2uh-master/UTIL/include/os/rt_linux.h:18,
from /root/Desktop/t2uh-master/UTIL/include/rtmp_os.h:48,
from /root/Desktop/t2uh-master/UTIL/include/rtmp_comm.h:62,
from /root/Desktop/t2uh-master/UTIL/os/linux/../../common/rt_os_util.c:20:
/usr/src/linux-headers-3.18.0-kali3-common/arch/x86/include/asm/unistd_64.h:419: note: this is the location of the previous definition
#define NR_syscalls 394

In file included from /root/Desktop/t2uh-master/UTIL/include/rtmp_os.h:48,
from /root/Desktop/t2uh-master/UTIL/include/rtmp_comm.h:62,
from /root/Desktop/t2uh-master/UTIL/os/linux/../../common/rt_os_util.c:20:
/root/Desktop/t2uh-master/UTIL/include/os/rt_linux.h:19:10: fatal error: linux/version.h: No such file or directory

#include <linux/version.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [/usr/src/linux-headers-3.18.0-kali3-common/scripts/Makefile.build:309: /root/Desktop/t2uh-master/UTIL/os/linux/../../common/rt_os_util.o] Error 1
make[4]: *** [/usr/src/linux-headers-3.18.0-kali3-common/Makefile:1532: module/root/Desktop/t2uh-master/UTIL/os/linux] Error 2
make[3]: *** [Makefile:146: sub-make] Error 2
make[2]: *** [Makefile:8: all] Error 2
make[2]: Leaving directory '/usr/lib/modules/4.17.0-kali1-amd64/build'
make[1]: *** [Makefile:528: osutil] Error 2
make[1]: Leaving directory '/root/Desktop/t2uh-master/UTIL'
make: *** [Makefile:3: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant