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

Does not compile on kernel >=5.15-rc1 #58

Closed
All3xJ opened this issue Mar 20, 2022 · 1 comment
Closed

Does not compile on kernel >=5.15-rc1 #58

All3xJ opened this issue Mar 20, 2022 · 1 comment

Comments

@All3xJ
Copy link

All3xJ commented Mar 20, 2022

I downloaded huawei-wmi-3.4-source-only.dkms.tar.gz release and then

sudo dkms ldtarball --archive=huawei-wmi-3.4-source-only.dkms.tar.gz
sudo dkms autoinstall -m huawei-wmi/3.4 # fails

In the logs cat /var/lib/dkms/rtl88x2bu/5.6.1/build/make.log:

/usr/src/rtl88x2bu-5.6.1/core/rtw_br_ext.c:20:18: fatal error: net/ipx.h: No such file or directory
   20 |         #include <net/ipx.h>
      |                  ^~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:287: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_br_ext.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1846: /var/lib/dkms/rtl88x2bu/5.6.1/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.16.15-arch1-1/build'
make: *** [Makefile:2284: modules] Error 2

This is due to kernel commit 6c9b40844751 ("net: Remove net/ipx.h and uapi/linux/ipx.h header files"), merged in v5.15-rc1

@egormanga
Copy link
Contributor

Just to clarify: am I right seeing you posting about rtl88x2bu build errors on the huawei-wmi repo?

Anyway, let's see (man dkms):

ACTIONS
       ...

       autoinstall

           Attempt to install the latest revision of  all  modules  that  have
           been installed for other kernel revisions. ...

to install ... all modules

See?

You're supposed to use plain install command (or rather not complain about other modules' build failures on a batch build).

P.S. Yes, the comments in the readme section are incorrect too, but it's always a good thing to be observant and critical nonetheless. You have missed both noticing the wrong dkms module in the output and reading the man first, which helps in most cases. This could've been a nice doc-fixing PR instead then :)

No offense tho, this is a fine issue otherwise — just belonging elsewhere but here. (And please, remember to strip out the huawei-wmi mentions when you post it to the right place!)

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

3 participants