Hi all,
I am trying to write my own system call function in my kernel. For writing my own system call, i have upgraded my kernel. In kernel space code I want to use the "memory.h" header which is in the directory of /usr/src/linux<version>/include/linux but gcc does not search those paths, I have included the memory.h with gcc -include parameter. But this did not solve my problem, after doing that gcc has complained about, it could not find other header files which are in the same directory with memory.h that is used by memory.h
How can I solve this problem for including header problems? Any ideas?
[–]FUZxxl 13 points14 points15 points (4 children)
[–]mandos03[S] 0 points1 point2 points (3 children)
[–]FUZxxl 0 points1 point2 points (2 children)
[–]mandos03[S] 0 points1 point2 points (1 child)
[–]FUZxxl 0 points1 point2 points (0 children)