-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error! Bad return status for module build on kernel: 6.1.19-v8+ (aarch64) #48
Comments
sorry for my Bad English her my install steps to run WM8960 on kernel 6.1.21-V8+ sudo apt-get install raspberrypi-kernel-headers |
hey I'm having the same issue and not sure what to do after doing the sudo nano command the &i2c1 is listed as &i2s nonetheless I changed it to &i2c0 but it still does not work for me |
@YashasSingh @Stalker2408 |
They are saying to change the target value on line 25 from |
Confirming that the mentioned workaround works on pi zero 2W - 6.6.31+rpt-rpi-v8 aarch64 |
I did
git clone https://github.com/waveshare/WM8960-Audio-HAT
cd WM8960-Audio-HAT
sudo ./install.sh
sudo reboot
but its not working
this is the log
DKMS make.log for wm8960-soundcard-1.0 for kernel 6.1.19-v8+ (aarch64)
Mon 20 Mar 2023 01:33:32 PM EDT
make: Entering directory '/usr/src/linux-headers-6.1.19-v8+'
CC [M] /var/lib/dkms/wm8960-soundcard/1.0/build/wm8960.o
CC [M] /var/lib/dkms/wm8960-soundcard/1.0/build/wm8960-soundcard.o
/var/lib/dkms/wm8960-soundcard/1.0/build/wm8960.c:1417:3: error: ‘const struct snd_soc_component_driver’ has no member named ‘non_legacy_dai_naming’; did you mean ‘legacy_dai_naming’?
1417 | .non_legacy_dai_naming = 1,
| ^~~~~~~~~~~~~~~~~~~~~
| legacy_dai_naming
/var/lib/dkms/wm8960-soundcard/1.0/build/wm8960.c:1532:14: error: initialization of ‘void (*)(struct i2c_client )’ from incompatible pointer type ‘int ()(struct i2c_client *)’ [-Werror=incompatible-pointer-types]
1532 | .remove = wm8960_i2c_remove,
| ^~~~~~~~~~~~~~~~~
/var/lib/dkms/wm8960-soundcard/1.0/build/wm8960.c:1532:14: note: (near initialization for ‘wm8960_i2c_driver.remove’)
/var/lib/dkms/wm8960-soundcard/1.0/build/wm8960.c: In function ‘wm8960_hw_params’:
/var/lib/dkms/wm8960-soundcard/1.0/build/wm8960.c:882:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
882 | if ((iface & 0x3) != 0) {
| ^
/var/lib/dkms/wm8960-soundcard/1.0/build/wm8960.c:887:2: note: here
887 | default:
| ^~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:250: /var/lib/dkms/wm8960-soundcard/1.0/build/wm8960.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:2012: /var/lib/dkms/wm8960-soundcard/1.0/build] Error 2
make: Leaving directory '/usr/src/linux-headers-6.1.19-v8+'
The text was updated successfully, but these errors were encountered: