[Q] Compile error, linaro 4.8, fsnotify.h

801 posts
Thanks Meter: 436
By jcfunk, Senior Member on 13th April 2014, 10:37 PM
Post Reply Subscribe to Thread Email Thread
First time for me trying to compile kernel. Other stuff easy to compile, kernel is a pain.

In file included from include/linux/security.h:26:0,
                 from init/main.c:32:
include/linux/fsnotify.h: In function 'fsnotify_perm':
include/linux/fsnotify.h:41:9: error: implicit declaration of function 'file_inode' [-Werror=implicit-function-declaration]
  struct inode *inode = file_inode(file);
include/linux/fsnotify.h:41:24: warning: initialization makes pointer from integer without a cast [enabled by default]
error, forbidden warning: fsnotify.h:41
The source I'm using I was told compiled in 4.7, I would like to fix code so I can compile but I have no idea how to

Sent from my PG86100 using Tapatalk
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes