thopiekar / rcraid-dkms

AMD RAIDXpert driver as DKMS package
Other
126 stars 27 forks source link

Build fails, undeclared GOOD and CHECK_CONDITION #41

Open knuxyl opened 2 years ago

knuxyl commented 2 years ago

Trying to build on Arch 5.14

rcraid-dkms/arch/src/rc_msg.c:1873:70: error: ‘GOOD’ undeclared (first use in this function)
 1873 |              scp->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | GOOD;
      |                                                                   ^~~~
rcraid-dkms/arch/src/rc_msg.c:1913:62: error: ‘CHECK_CONDITION’ undeclared (first use in this function)
 1913 |        scp->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | CHECK_CONDITION;
      |                                                             ^~~~~~~~~~~~~~~
FatildaIV commented 2 years ago

Same error on 5.14.11-arch1-1.

Crono141 commented 2 years ago

Same error on 5.15.6-2-Manjaro

mbana commented 2 years ago

Please see this pull request:

https://github.com/thopiekar/rcraid-dkms/pull/42

Although I cannot get this module to recognise my RAID NVME M.2 array, I can get it to compile on Fedora 35 with the 5.15.6-200 Kernel.