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

Fail to compile in CentOS Stream 9 #89

Open
handewo opened this issue May 6, 2024 · 1 comment
Open

Fail to compile in CentOS Stream 9 #89

handewo opened this issue May 6, 2024 · 1 comment

Comments

@handewo
Copy link

handewo commented May 6, 2024

Fail to compile in CentOS Stream 9 when update to the latest kernel.
kernel version: kernel-headers-x86_64-5.14.0-437.el9
Error info:

[root@localhost exanic-software]# make
make -C modules/exanic
make[1]: Entering directory '/root/exanic-software/modules/exanic'
make -C /lib/modules/`uname -r`/build M=$PWD modules
make[2]: Entering directory '/usr/src/kernels/5.14.0-437.el9.x86_64'
  CC [M]  /root/exanic-software/modules/exanic/exanic-main.o
/root/exanic-software/modules/exanic/exanic-main.c: In function ‘exanic_probe’:
/root/exanic-software/modules/exanic/exanic-main.c:1884:5: error: implicit declaration of function ‘pci_disable_pcie_error_reporting’ [-Werror=implicit-function-declaration]
 1884 |     pci_disable_pcie_error_reporting(pdev);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:300: /root/exanic-software/modules/exanic/exanic-main.o] Error 1
make[2]: *** [Makefile:1927: /root/exanic-software/modules/exanic] Error 2
make[2]: Leaving directory '/usr/src/kernels/5.14.0-437.el9.x86_64'
make[1]: *** [Makefile:20: default] Error 2
make[1]: Leaving directory '/root/exanic-software/modules/exanic'
make: *** [Makefile:9: modules] Error 2  

I found the function pci_disable_pcie_error_reporting is removed in kernel.

@handewo handewo changed the title Fail to compile in CentOS Stream Fail to compile in CentOS Stream 9 May 6, 2024
@danfruehauf
Copy link

Please see #91

Disclosure: I'm not an official maintainer or a Cisco employee.

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