I attempted to reproduce this on a new RHEL 5.5 i686 install, however I was able to successfully compile the driver. The kernel was 2.6.18-194.el5. I then installed CentOS 5.8 and did a yum update, which got me up to the same kernel you appear to be running, 2.6.18-308.4.1.el5. In that compile attempt I observed the same output you pasted. So I looked at the existing driver versions: [js[NAME] ~]$ /sbin/modinfo -F version bnx2 2.0.2 [js[NAME] ~]$ /sbin/modinfo -F version bnx2 2.1.11 The bnx2 driver version in the netxtreme2-6.2.23 package is 2.0.23b, so it is newer than 5.5, but older than 5.8, and may be considered updated already. Do you have a specific need for 2.0.23b?
Hello , I am trying to compile the netxtreme2-6.2.23 driver on { {Svc Tag Removed By Moderator}}machine . In order to upgrade my network driver card driver . This is the error I am getting : [root[NAME]-s10 netxtreme2-6.2.23]# makemake -C bnx2/src  KVER=2.6.18-308.4.1.el5 PREFIX=make[1]: Entering directory `/opt/netxtreme2-6.2.23/bnx2-2.0.23b/src'make -C /lib/modules/2.6.18-308.4.1.el5/build SUBDIRS=/opt/netxtreme2-6.2.23/bnx2-2.0.23b/src modulesmake[2]: Entering directory `/usr/src/kernels/2.6.18-308.4.1.el5-x86_64'  CC   /opt/netxtreme2-6.2.23/bnx2-2.0.23b/src/bnx2.o /opt/netxtreme2-6.2.23/bnx2-2.0.23b/src/bnx2.c: In function גbnx2_gunzipג: /opt/netxtreme2-6.2.23/bnx2-2.0.23b/src/bnx2.c:4265: warning: assignment discards qualifiers from pointer target type   CC   /opt/netxtreme2-6.2.23/bnx2-2.0.23b/src/cnic.o   Building modules, stage 2.   MODPOST   CC      /opt/netxtreme2-6.2.23/bnx2-2.0.23b/src/bnx2.mod.o   LD   /opt/netxtreme2-6.2.23/bnx2-2.0.23b/src/bnx2.ko   CC      /opt/netxtreme2-6.2.23/bnx2-2.0.23b/src/cnic.mod.o   LD   /opt/netxtreme2-6.2.23/bnx2-2.0.23b/src/cnic.ko make[2]: Leaving directory `/usr/src/kernels/2.6.18-308.4.1.el5-x86_64' make[1]: Leaving directory `/opt/netxtreme2-6.2.23/bnx2-2.0.23b/src' make -C bnx2x/src KVER=2.6.18-308.4.1.el5 PREFIX= make[1]: Entering directory `/opt/netxtreme2-6.2.23/bnx2x-1.62.15/src' make -C /lib/modules/2.6.18-308.4.1.el5/build M=`pwd` modules make[2]: Entering directory `/usr/src/kernels/2.6.18-308.4.1.el5-x86_64'   CC   /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.o In file included from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x.h:68,                  from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:80: /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:995: error: redefinition of גskb_checksum_none_assertג include/linux/skbuff.h:1827: error: previous definition of גskb_checksum_none_assertג was here In file included from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x.h:68,                  from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:80: /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:1009:1: error: "PCI_VPD_LRDT_ID_STRING" redefined In file included from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:34: include/linux/pci.h:1041:1: error: this is the location of the previous definition In file included from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x.h:68,                  from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:80: /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:1011:1: error: "PCI_VPD_LRDT_RO_DATA" redefined In file included from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:34: include/linux/pci.h:1042:1: error: this is the location of the previous definition In file included from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x.h:68,                  from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:80: /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:1013:1: error: "PCI_VPD_LRDT_RW_DATA" redefined In file included from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:34: include/linux/pci.h:1043:1: error: this is the location of the previous definition In file included from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x.h:68,                  from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:80: /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:1019:1: error: "PCI_VPD_SRDT_END" redefined In file included from /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:34: include/linux/pci.h:1048:1: error: this is the location of the previous definition /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:1033: error: conflicting types for גpci_vpd_lrdt_sizeג include/linux/pci.h:1070: error: previous definition of גpci_vpd_lrdt_sizeג was here /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:1038: error: conflicting types for גpci_vpd_srdt_sizeג include/linux/pci.h:1081: error: previous definition of גpci_vpd_srdt_sizeג was here /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:1044: error: conflicting types for גpci_vpd_find_tagג include/linux/pci.h:1106: error: previous declaration of גpci_vpd_find_tagג was here /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:1078: error: conflicting types for גpci_vpd_info_field_sizeג include/linux/pci.h:1092: error: previous definition of גpci_vpd_info_field_sizeג was here /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:1086: error: conflicting types for גpci_vpd_find_info_keywordג include/linux/pci.h:1119: error: previous declaration of גpci_vpd_find_info_keywordג was here /opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:1125: error: redefinition of גvlan_get_protocolג include/linux/if_vlan.h:425: error: previous definition of גvlan_get_protocolג was here make[3]: *** [/opt/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.o] Error 1 make[2]: *** [_module_/opt/netxtreme2-6.2.23/bnx2x-1.62.15/src] Error 2 make[2]: Leaving directory `/usr/src/kernels/2.6.18-308.4.1.el5-x86_64' make[1]: *** [bnx2x.o] Error 2 make[1]: Leaving directory `/opt/netxtreme2-6.2.23/bnx2x-1.62.15/src' make: *** [l2build] Error 2 
compiling netxtreme2-6.2.23 on 5.5 linux box poweredge-1950