- 论坛徽章:
- 0
|
编译安装netxtreme2-6.2.23.tar.gz时make出现以下错误:
/tools/tarbag/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 /tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x.h:68,
from /tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:80:
/tools/tarbag/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 /tools/tarbag/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 /tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x.h:68,
from /tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:80:
/tools/tarbag/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 /tools/tarbag/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 /tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x.h:68,
from /tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:80:
/tools/tarbag/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 /tools/tarbag/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 /tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x.h:68,
from /tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.c:80:
/tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_compat.h:1019:1: error: "PCI_VPD_SRDT_END" redefined
In file included from /tools/tarbag/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
/tools/tarbag/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
/tools/tarbag/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
/tools/tarbag/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
/tools/tarbag/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
/tools/tarbag/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
/tools/tarbag/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]: *** [/tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src/bnx2x_main.o] Error 1
make[2]: *** [_module_/tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-308.el5-x86_64'
make[1]: *** [bnx2x.o] Error 2
make[1]: Leaving directory `/tools/tarbag/netxtreme2-6.2.23/bnx2x-1.62.15/src'
make: *** [l2build] Error 2
求解!!!!!! |
|