Same here,

Debian 11.7, kernel 5.10.0-25-amd64 (5.10.191-1)
ixgbe 5.19.6 can't be compiled.

One of the previous version of ixgbe (5.18.11) can't be compiled on the
same kernel as well, but with different additional errors:

# make
make[1]: Entering directory '/usr/src/linux-headers-5.10.0-25-common'
make[2]: Entering directory '/usr/src/linux-headers-5.10.0-25-amd64'
  CC [M]  /root/devel/drivers/ixgbe-5.18.11/src/ixgbe_main.o
In file included from /root/devel/drivers/ixgbe-5.18.11/src/kcompat.h:7178,
                 from
/root/devel/drivers/ixgbe-5.18.11/src/ixgbe_osdep.h:17,
                 from /root/devel/drivers/ixgbe-5.18.11/src/ixgbe_type.h:45,
                 from /root/devel/drivers/ixgbe-5.18.11/src/ixgbe_dcb.h:7,
                 from /root/devel/drivers/ixgbe-5.18.11/src/ixgbe.h:24,
                 from /root/devel/drivers/ixgbe-5.18.11/src/ixgbe_main.c:31:
/root/devel/drivers/ixgbe-5.18.11/src/kcompat_impl.h:851:20: error:
redefinition of ‘eth_hw_addr_set’
  851 | static inline void eth_hw_addr_set(struct net_device *dev, const u8
*addr)
      |                    ^~~~~~~~~~~~~~~
In file included from
/usr/src/linux-headers-5.10.0-25-common/include/linux/if_vlan.h:11,
                 from
/usr/src/linux-headers-5.10.0-25-common/include/linux/filter.h:21,
                 from
/usr/src/linux-headers-5.10.0-25-common/include/net/sock.h:59,
                 from
/usr/src/linux-headers-5.10.0-25-common/include/linux/tcp.h:19,
                 from /root/devel/drivers/ixgbe-5.18.11/src/ixgbe_main.c:16:
/usr/src/linux-headers-5.10.0-25-common/include/linux/etherdevice.h:309:20:
note: previous definition of ‘eth_hw_addr_set’ was here
  309 | static inline void eth_hw_addr_set(struct net_device *dev, const u8
*addr)
      |                    ^~~~~~~~~~~~~~~
In file included from
/usr/src/linux-headers-5.10.0-25-common/include/linux/export.h:43,
                 from
/usr/src/linux-headers-5.10.0-25-common/include/linux/linkage.h:7,
                 from
/usr/src/linux-headers-5.10.0-25-common/include/linux/kernel.h:8,
                 from
/usr/src/linux-headers-5.10.0-25-common/include/linux/list.h:9,
                 from
/usr/src/linux-headers-5.10.0-25-common/include/linux/module.h:12,
                 from /root/devel/drivers/ixgbe-5.18.11/src/ixgbe_main.c:8:
/root/devel/drivers/ixgbe-5.18.11/src/ixgbe_main.c: In function ‘ixgbe_atr’:
/root/devel/drivers/ixgbe-5.18.11/src/ixgbe_main.c:9841:9: error:
‘VXLAN_HEADROOM’ undeclared (first use in this function); did you mean
‘VXLAN_HF_RCO’?
 9841 |         VXLAN_HEADROOM))
      |         ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-25-common/include/linux/compiler.h:78:42:
note: in definition of macro ‘unlikely’
   78 | # define unlikely(x) __builtin_expect(!!(x), 0)
      |                                          ^
/root/devel/drivers/ixgbe-5.18.11/src/ixgbe_main.c:9841:9: note: each
undeclared identifier is reported only once for each function it appears in
 9841 |         VXLAN_HEADROOM))
      |         ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-25-common/include/linux/compiler.h:78:42:
note: in definition of macro ‘unlikely’
   78 | # define unlikely(x) __builtin_expect(!!(x), 0)
      |                                          ^
make[3]: ***
[/usr/src/linux-headers-5.10.0-25-common/scripts/Makefile.build:291:
/root/devel/drivers/ixgbe-5.18.11/src/ixgbe_main.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.10.0-25-common/Makefile:1856:
/root/devel/drivers/ixgbe-5.18.11/src] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.10.0-25-amd64'
make[1]: *** [Makefile:192: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-25-common'
make: *** [Makefile:99: default] Error 2


On Fri, Sep 1, 2023 at 7:48 PM Thomas Martin <tmartin...@gmail.com> wrote:

> Hello !
>
> I am having issues compiling the ixgbe driver 5.19.6 on Debian
> Bullseye with the latest kernel series :
> 5.10.0-25 (5.10.191-1).
>
> It worked with the previous kernel release 5.10.0-24 (5.10.179-5).
>
> Here is the error I'm having:
>
> make[1]: Entering directory
> '/home/builder/packaging/debian-bullseye/ixgbe/ixgbe-5.19.6/src'
> filtering include/net/flow_keys.h out
> filtering include/linux/jump_label_type.h out
> filtering include/linux/jump_label_type.h out
> make[2]: Entering directory '/usr/src/linux-headers-5.10.0-25-common'
> make[3]: Entering directory '/usr/src/linux-headers-5.10.0-25-amd64'
> CC [M]
> /home/builder/packaging/debian-bullseye/ixgbe/ixgbe-5.19.6/src/ixgbe_main.o
> In file included from
> /usr/src/linux-headers-5.10.0-25-common/include/linux/export.h:43,
> from /usr/src/linux-headers-5.10.0-25-common/include/linux/linkage.h:7,
> from /usr/src/linux-headers-5.10.0-25-common/include/linux/kernel.h:8,
> from /usr/src/linux-headers-5.10.0-25-common/include/linux/list.h:9,
> from /usr/src/linux-headers-5.10.0-25-common/include/linux/module.h:12,
> from
> /home/builder/packaging/debian-bullseye/ixgbe/ixgbe-5.19.6/src/ixgbe_main.c:8:
>
> /home/builder/packaging/debian-bullseye/ixgbe/ixgbe-5.19.6/src/ixgbe_main.c:
> In function ‘ixgbe_atr’:
>
> /home/builder/packaging/debian-bullseye/ixgbe/ixgbe-5.19.6/src/ixgbe_main.c:9872:9:
> error: ‘VXLAN_HEADROOM’ undeclared (first use in this function); did
> you mean ‘VXLAN_HF_RCO’?
> 9872 | VXLAN_HEADROOM))
> | ^~~~~~~~~~~~~~
> /usr/src/linux-headers-5.10.0-25-common/include/linux/compiler.h:78:42:
> note: in definition of macro ‘unlikely’
> 78 | # define unlikely(x) __builtin_expect(!!(x), 0)
> | ^
>
>
> Does anyone have this problem ?
>
> Thanks !
>
>
> _______________________________________________
> E1000-devel mailing list
> E1000-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/e1000-devel
> To learn more about Intel Ethernet, visit
> https://community.intel.com/t5/Ethernet-Products/bd-p/ethernet-products

_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel Ethernet, visit 
https://community.intel.com/t5/Ethernet-Products/bd-p/ethernet-products

Reply via email to