stec-inc / EnhanceIO

EnhanceIO Open Source for Linux
Other
420 stars 176 forks source link

make && make install fails due to conflicting types for 'bio_rw_flagged' #112

Open KadeLi opened 8 years ago

KadeLi commented 8 years ago

Hello, so in the process of make && make install, I receive this error:

[root@DevTest enhanceio]# make && make install make -C /lib/modules/2.6.32-431.66.1.el6.x86_64/build M=/mnt/automation/EnhanceIO/Driver/enhanceio modules V=0 make[1]: Entering directory /usr/src/kernels/2.6.32-431.66.1.el6.x86_64' CC [M] /mnt/automation/EnhanceIO/Driver/enhanceio/eio_conf.o In file included from /mnt/automation/EnhanceIO/Driver/enhanceio/eio_conf.c:40: /mnt/automation/EnhanceIO/Driver/enhanceio/eio_ttc.h:27: error: conflicting types for ‘bio_rw_flagged’ include/linux/bio.h:116: note: previous definition of ‘bio_rw_flagged’ was here make[2]: *** [/mnt/automation/EnhanceIO/Driver/enhanceio/eio_conf.o] Error 1 make[1]: *** [_module_/mnt/automation/EnhanceIO/Driver/enhanceio] Error 2 make[1]: Leaving directory/usr/src/kernels/2.6.32-431.66.1.el6.x86_64' make: *\ [modules] Error 2

lanconnected commented 8 years ago

For RHEL6-compatible kernels you can use this fork: https://github.com/lanconnected/EnhanceIO