-
Notifications
You must be signed in to change notification settings - Fork 177
Ubuntu 14.04 LTS - 3.2.0-88-virtual #126-Ubuntu #107
Comments
This is valid issue as PDE_DATA is introduced in Kernel version 3.10. |
PDE_DATA is introduced from Kernel 3.10. create_proc_entry() no more supported from kernel 3.10. Handled both cases. Now, code will run from Kernel 2.6.32 to 4.2. Signed-off-by: Deepen Mehta <[email protected]>
Fixed 3.9 compilation issue #107.
Hi Daugustus, could you please verify the latest patch from deepenmehta85 and close the issue if you find it fixed. Thanks. |
Thanks for that. Now getting a new error: make -C /lib/modules/3.2.0-88-virtual/build M=/usr/local/src/EnhanceIO-master/Driver/enhanceio modules V=0 |
Hello Daugustus, I already pushed a new patch before 2/3 hours which have fixed for your newly reported issue. Deepen |
I am unable successfully compile the modules. I have tried both master and the 3.9 branch.
Thanks!
Dave
Here is the compilation error:
make -C /lib/modules/3.2.0-88-virtual/build M=/usr/local/src/EnhanceIO-master/Driver/enhanceio modules V=0
make[1]: Entering directory
/usr/src/linux-headers-3.2.0-88-virtual' CC [M] /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.o /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c: In function ‘eio_stats_open’: /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c:1803:2: error: implicit declaration of function ‘PDE_DATA’ [-Werror=implicit-function-declaration] /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c:1803:2: warning: passing argument 3 of ‘single_open’ makes pointer from integer without a cast [enabled by default] include/linux/seq_file.h:119:5: note: expected ‘void *’ but argument is of type ‘int’ /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c: In function ‘eio_errors_open’: /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c:1836:2: warning: passing argument 3 of ‘single_open’ makes pointer from integer without a cast [enabled by default] include/linux/seq_file.h:119:5: note: expected ‘void *’ but argument is of type ‘int’ /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c: In function ‘eio_iosize_hist_open’: /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c:1871:2: warning: passing argument 3 of ‘single_open’ makes pointer from integer without a cast [enabled by default] include/linux/seq_file.h:119:5: note: expected ‘void *’ but argument is of type ‘int’ /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c: In function ‘eio_version_open’: /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c:1893:2: warning: passing argument 3 of ‘single_open’ makes pointer from integer without a cast [enabled by default] include/linux/seq_file.h:119:5: note: expected ‘void *’ but argument is of type ‘int’ /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c: In function ‘eio_config_open’: /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c:1930:2: warning: passing argument 3 of ‘single_open’ makes pointer from integer without a cast [enabled by default] include/linux/seq_file.h:119:5: note: expected ‘void *’ but argument is of type ‘int’ cc1: some warnings being treated as errors make[2]: *** [/usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.o] Error 1 make[1]: *** [_module_/usr/local/src/EnhanceIO-master/Driver/enhanceio] Error 2 make[1]: Leaving directory
/usr/src/linux-headers-3.2.0-88-virtual'make: *** [modules] Error 2
The text was updated successfully, but these errors were encountered: