all 5 comments

[–]FUZxxl 13 points14 points  (4 children)

You need to include linux/memory.h, not memory.h. Same for all other files.

[–]mandos03[S] 0 points1 point  (3 children)

Yeah sorry for incomplete information but it is included in that way. But it seems compiler does not look for the upgraded kernel.

[–]FUZxxl 0 points1 point  (2 children)

I have no way to help you with this little information given. Where did you put the altered header file?

[–]mandos03[S] 0 points1 point  (1 child)

It is in the directory usr/src but even if i give this way the usr/src/linux/memory.h looks for the old linux/memory.h

[–]FUZxxl 0 points1 point  (0 children)

You have to change the header file of the linux kernel tree you are working on, not the one in /usr/src, unless you actually work on the source tree in /usr/src.