You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
I try to follow your instructions to build the driver for my ubuntu 22.04 server.
When make all the changes and do 'make' I get the following error output:
Hi,
I try to follow your instructions to build the driver for my ubuntu 22.04 server.
When make all the changes and do 'make' I get the following error output:
michiel@unify:~/linux/drivers/net/ethernet/qlogic/qlcnic$ make
make -C /lib/modules/5.15.0-56-generic/build M=/home/michiel/linux/drivers/net/ethernet/qlogic/qlcnic modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-56-generic'
CC [M] /home/michiel/linux/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.o
/home/michiel/linux/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:519:35: error: initialization of ‘int (*)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char , u16)’ {aka ‘int ()(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char , short unsigned int)’} from incompatible pointer type ‘int ()(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, struct netlink_ext_ack )’ {aka ‘int ()(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, short unsigned int, struct netlink_ext_ack *)’} [-Werror=incompatible-pointer-types]
519 | .ndo_fdb_del = qlcnic_fdb_del,
| ^~~~~~~~~~~~~~
/home/michiel/linux/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:519:35: note: (near initialization for ‘qlcnic_netdev_ops.ndo_fdb_del’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:297: /home/michiel/linux/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.o] Error 1
make[1]: *** [Makefile:1903: /home/michiel/linux/drivers/net/ethernet/qlogic/qlcnic] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-56-generic'
make: *** [Makefile:21: all] Error 2
I would love to use this cheap dual sfp nic in my home setup for experimentation.
The text was updated successfully, but these errors were encountered: