Skip to content

RHEL9 support request for libexanic #81

@Alexxstud

Description

@Alexxstud

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions