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

RHEL9 support request for libexanic #81

Open
Alexxstud opened this issue Aug 29, 2023 · 0 comments
Open

RHEL9 support request for libexanic #81

Alexxstud opened this issue Aug 29, 2023 · 0 comments

Comments

@Alexxstud
Copy link

At the moment there is still no support in yum for RHEL9: https://exablaze.com/downloads/yum/redhat/ contains el8 as the latest. And if I am trying to build the current 2.7.3 release from sources for 5.14.0-284.25.1.el9_2.x86_64 RHEL the following error arises (standard make, nothing special):

./exanic-2.7.3/modules/exanic/exanic-netdev.c:1935:5: error: too many arguments to function ‘netif_napi_add’
 1935 |     netif_napi_add(ndev, &priv->napi, exanic_netdev_poll, 64);
      |     ^~~~~~~~~~~~~~
In file included from ./exanic-2.7.3/modules/exanic/exanic-netdev.c:12:
./include/linux/netdevice.h:2519:1: note: declared here
 2519 | netif_napi_add(struct net_device *dev, struct napi_struct *napi,
      | ^~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:321: ./exanic-2.7.3/modules/exanic/exanic-netdev.o] Error 1
make[2]: *** [Makefile:1923: ./exanic-2.7.3/modules/exanic] Error 2
make[2]: Leaving directory '/usr/src/kernels/5.14.0-284.25.1.el9_2.x86_64'

which can be fixed by removing , 64); argument in netif_napi_add call. May you please correct this error when building from sources for el9 or introduce the support in yum if possible?

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

1 participant