I am trying to make the respeaker 2-Mic HAT work on RPi 3. I have followed the instructions given in Wiki but I am getting error . Please find the log as below:
cleaning build area…
make -j4 KERNELRELEASE=5.4.51+ -C /lib/modules/5.4.51+/build M=/var/lib/dkms/seeed-voicecard/0.3/build…(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.4.51+ (armv7l)
Consult /var/lib/dkms/seeed-voicecard/0.3/build/make.log for more information.
can not compile with this kernel, abort
please try compile with the option --compat-kernel
Please suggest the solution for the same