rcraid-dkms icon indicating copy to clipboard operation
rcraid-dkms copied to clipboard

Build fails, undeclared GOOD and CHECK_CONDITION

Open knuxyl opened this issue 4 years ago • 3 comments

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;
      |                                                             ^~~~~~~~~~~~~~~

knuxyl avatar Oct 10 '21 15:10 knuxyl

Same error on 5.14.11-arch1-1.

FatildaIV avatar Oct 13 '21 20:10 FatildaIV

Same error on 5.15.6-2-Manjaro

Crono141 avatar Dec 13 '21 03:12 Crono141

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.

mbana avatar Dec 13 '21 13:12 mbana