Skip to content
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

Build fails on debian #4

Open
pappou99 opened this issue Jan 18, 2023 · 1 comment
Open

Build fails on debian #4

pappou99 opened this issue Jan 18, 2023 · 1 comment

Comments

@pappou99
Copy link

The command sudo make install fails with following output:

~/src/madifx (master) $ sudo make install
[sudo] Passwort für emt: 
make -C /lib/modules/`uname -r`/build M=/home/emt/src/madifx EXTRA_CFLAGS="-g -Wall -Werror " modules
make[1]: Verzeichnis „/usr/src/linux-headers-5.10.0-19-amd64“ wird betreten
  CC [M]  /home/emt/src/madifx/madifx.o
/home/emt/src/madifx/madifx.c: In function ‘snd_madifx_probe’:
/home/emt/src/madifx/madifx.c:3611:8: error: implicit declaration of function ‘snd_devm_card_new’; did you mean ‘snd_device_new’? [-Werror=implicit-function-declaration]
 3611 |  err = snd_devm_card_new(&pci->dev, index[dev], id[dev],
      |        ^~~~~~~~~~~~~~~~~
      |        snd_device_new
cc1: all warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.10.0-19-common/scripts/Makefile.build:291: /home/emt/src/madifx/madifx.o] Fehler 1
make[2]: *** [/usr/src/linux-headers-5.10.0-19-common/Makefile:1856: /home/emt/src/madifx] Fehler 2
make[1]: *** [/usr/src/linux-headers-5.10.0-19-common/Makefile:185: __sub-make] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-5.10.0-19-amd64“ wird verlassen
make: *** [Makefile:26: default] Fehler 2

Any hints due this problem?

@adiknoth
Copy link
Owner

Hi!

Yes, this is ffc8dca. The quickest way is to revert it, for instance by saying

git reset --hard HEAD^

or

git revert ffc8dcabb36a7cbb958769a49d6e12277c14e76b

Differently, you could also upgrade your installed kernel to anything newer than 5.12.

HTH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants