Open daugustus opened 8 years ago
This is valid issue as PDE_DATA is introduced in Kernel version 3.10. Will submit the required changes Today.
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
make[1]: Entering directory /usr/src/linux-headers-3.2.0-88-virtual' CC [M] /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_conf.o CC [M] /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_ioctl.o CC [M] /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_main.o CC [M] /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_mem.o CC [M] /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_policy.o 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_module_procfs_init’: /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c:1241:3: error: expected ‘;’ before ‘if’ /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c: In function ‘eio_procfs_ctr’: /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c:1275:2: error: expected ‘;’ before ‘if’ /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c:1279:2: error: expected ‘;’ before ‘if’ /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c:1283:2: error: expected ‘;’ before ‘if’ /usr/local/src/EnhanceIO-master/Driver/enhanceio/eio_procfs.c:1287:2: error: expected ‘;’ before ‘if’ 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
Hello Daugustus,
I already pushed a new patch before 2/3 hours which have fixed for your newly reported issue. Hope Akhil will push it soon.
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