- 论坛徽章:
- 0
|
RHEL6.4-x86_64
服务器型号Dell R720网卡型号BCM5720
驱动是从BCM官网上下的,在make时报错了。
[root@localhost tg3-3.124c]# make
make -C /lib/modules/2.6.32-358.el6.x86_64/build SUBDIRS=/tmp/Server/Linux/Driver/tg3-3.124c modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-358.el6.x86_64'
CC [M] /tmp/Server/Linux/Driver/tg3-3.124c/tg3.o
In file included from /tmp/Server/Linux/Driver/tg3-3.124c/tg3.h:13,
from /tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:119:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:61: 错误:与‘bool’类型冲突
include/linux/types.h:34: 附注:‘bool’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:67: 错误:typedef‘__le32’重定义
include/linux/types.h:184: 附注:‘__le32’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:68: 错误:typedef‘__be32’重定义
include/linux/types.h:185: 附注:‘__be32’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:72: 错误:与‘resource_size_t’类型冲突
include/linux/types.h:207: 附注:‘resource_size_t’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:97: 错误:与‘kzalloc’类型冲突
include/linux/slab.h:324: 附注:‘kzalloc’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:121: 错误:对‘jiffies_to_usecs’的静态声明出现在非静态声明之后
include/linux/jiffies.h:297: 附注:‘jiffies_to_usecs’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:134: 错误:对‘usecs_to_jiffies’的静态声明出现在非静态声明之后
include/linux/jiffies.h:299: 附注:‘usecs_to_jiffies’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:149: 错误:对‘msecs_to_jiffies’的静态声明出现在非静态声明之后
include/linux/jiffies.h:298: 附注:‘msecs_to_jiffies’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:185: 错误:对‘msleep’的静态声明出现在非静态声明之后
include/linux/delay.h:46: 附注:‘msleep’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:197: 错误:对‘msleep_interruptible’的静态声明出现在非静态声明之后
include/linux/delay.h:47: 附注:‘msleep_interruptible’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:254: 错误:对‘pci_ioremap_bar’的静态声明出现在非静态声明之后
include/linux/pci.h:1489: 附注:‘pci_ioremap_bar’的上一个声明在此
在包含自 /tmp/Server/Linux/Driver/tg3-3.124c/tg3.h:13 的文件中,
从 /tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:119:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:519:1: 警告:“dma_unmap_addr”重定义
在包含自 include/asm-generic/pci-dma-compat.h:7 的文件中,
从 /usr/src/kernels/2.6.32-358.el6.x86_64/arch/x86/include/asm/pci.h:100,
从 include/linux/pci.h:1303,
从 /tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:47:
include/linux/dma-mapping.h:257:1: 警告:这是先前定义的位置
在包含自 /tmp/Server/Linux/Driver/tg3-3.124c/tg3.h:13 的文件中,
从 /tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:119:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:523:1: 警告:“dma_unmap_addr_set”重定义
在包含自 include/asm-generic/pci-dma-compat.h:7 的文件中,
从 /usr/src/kernels/2.6.32-358.el6.x86_64/arch/x86/include/asm/pci.h:100,
从 include/linux/pci.h:1303,
从 /tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:47:
include/linux/dma-mapping.h:258:1: 警告:这是先前定义的位置
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:529: 错误:对‘pci_choose_state’的静态声明出现在非静态声明之后
include/linux/pci.h:828: 附注:‘pci_choose_state’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在函数‘pci_choose_state’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:530: 错误:将‘pm_message_t’返回为‘pci_power_t’时类型不兼容
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在文件层:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:535: 错误:与‘pci_enable_wake’类型冲突
include/linux/pci.h:831: 附注:‘pci_enable_wake’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:562: 错误:与‘pci_pme_capable’类型冲突
include/linux/pci.h:829: 附注:‘pci_pme_capable’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:583: 错误:与‘pci_wake_from_d3’类型冲突
include/linux/pci.h:832: 附注:‘pci_wake_from_d3’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:593: 错误:对‘pci_set_power_state’的静态声明出现在非静态声明之后
include/linux/pci.h:827: 附注:‘pci_set_power_state’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:727: 错误:对‘pcie_set_readrq’的静态声明出现在非静态声明之后
include/linux/pci.h:807: 附注:‘pcie_set_readrq’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:766: 错误:与‘pci_read_vpd’类型冲突
include/linux/pci.h:865: 附注:‘pci_read_vpd’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:959: 错误:对‘print_mac’的静态声明出现在非静态声明之后
include/linux/if_ether.h:144: 附注:‘print_mac’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1049: 错误:‘skb_transport_offset’重定义
include/linux/skbuff.h:1403: 附注:‘skb_transport_offset’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在函数‘skb_transport_offset’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1051: 错误:‘const struct sk_buff’没有名为‘h’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在文件层:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1056: 错误:‘ip_hdr’重定义
include/linux/ip.h:110: 附注:‘ip_hdr’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在函数‘ip_hdr’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1058: 错误:‘const struct sk_buff’没有名为‘nh’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在文件层:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1063: 错误:‘ip_hdrlen’重定义
include/net/ip.h:48: 附注:‘ip_hdrlen’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1070: 错误:‘tcp_hdr’重定义
include/linux/tcp.h:184: 附注:‘tcp_hdr’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在函数‘tcp_hdr’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1072: 错误:‘const struct sk_buff’没有名为‘h’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在文件层:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1077: 错误:‘tcp_hdrlen’重定义
include/linux/tcp.h:189: 附注:‘tcp_hdrlen’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1084: 错误:‘tcp_optlen’重定义
include/linux/tcp.h:194: 附注:‘tcp_optlen’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1312: 错误:‘skb_copy_from_linear_data’重定义
include/linux/skbuff.h:2035: 附注:‘skb_copy_from_linear_data’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1328: 错误:‘skb_is_gso_v6’重定义
include/linux/skbuff.h:2325: 附注:‘skb_is_gso_v6’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1337: 错误:‘skb_checksum_none_assert’重定义
include/linux/skbuff.h:2360: 附注:‘skb_checksum_none_assert’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1344: 错误:typedef‘netdev_tx_t’重定义
include/linux/netdevice.h:97: 附注:‘netdev_tx_t’的上一个声明在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1409: 错误:‘netif_tx_lock’重定义
include/linux/netdevice.h:2121: 附注:‘netif_tx_lock’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在函数‘netif_tx_lock’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1411: 错误:‘struct net_device’没有名为‘xmit_lock’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1412: 错误:‘struct net_device’没有名为‘xmit_lock_owner’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在文件层:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1415: 错误:‘netif_tx_unlock’重定义
include/linux/netdevice.h:2149: 附注:‘netif_tx_unlock’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在函数‘netif_tx_unlock’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1417: 错误:‘struct net_device’没有名为‘xmit_lock_owner’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1418: 错误:‘struct net_device’没有名为‘xmit_lock’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在文件层:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1487: 错误:与‘netdev_priv’类型冲突
include/linux/netdevice.h:1349: 附注:‘netdev_priv’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在函数‘netdev_priv’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1489: 错误:‘struct net_device’没有名为‘priv’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h: 在文件层:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1578: 错误:‘struct netdev_hw_addr’重定义
In file included from /tmp/Server/Linux/Driver/tg3-3.124c/tg3.h:13,
from /tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:119:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1708: 错误:‘ethtool_adv_to_mii_adv_t’重定义
include/linux/mii.h:253: 附注:‘ethtool_adv_to_mii_adv_t’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1728: 错误:‘mii_adv_to_ethtool_adv_t’重定义
include/linux/mii.h:280: 附注:‘mii_adv_to_ethtool_adv_t’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1748: 错误:‘ethtool_adv_to_mii_ctrl1000_t’重定义
include/linux/mii.h:308: 附注:‘ethtool_adv_to_mii_ctrl1000_t’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1760: 错误:‘mii_ctrl1000_to_ethtool_adv_t’重定义
include/linux/mii.h:328: 附注:‘mii_ctrl1000_to_ethtool_adv_t’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1772: 错误:‘mii_lpa_to_ethtool_lpa_t’重定义
include/linux/mii.h:348: 附注:‘mii_lpa_to_ethtool_lpa_t’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1782: 错误:‘mii_stat1000_to_ethtool_lpa_t’重定义
include/linux/mii.h:366: 附注:‘mii_stat1000_to_ethtool_lpa_t’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1794: 错误:‘ethtool_adv_to_mii_adv_x’重定义
include/linux/mii.h:386: 附注:‘ethtool_adv_to_mii_adv_x’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1810: 错误:‘mii_adv_to_ethtool_adv_x’重定义
include/linux/mii.h:410: 附注:‘mii_adv_to_ethtool_adv_x’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1826: 错误:‘mii_lpa_to_ethtool_lpa_x’重定义
include/linux/mii.h:434: 附注:‘mii_lpa_to_ethtool_lpa_x’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1838: 错误:‘ethtool_rxfh_indir_default’重定义
include/linux/ethtool.h:573: 附注:‘ethtool_rxfh_indir_default’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1851: 错误:‘mii_resolve_flowctrl_fdx’重定义
include/linux/mii.h:467: 附注:‘mii_resolve_flowctrl_fdx’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1869: 错误:与‘mii_advertise_flowctrl’类型冲突
include/linux/mii.h:448: 附注:‘mii_advertise_flowctrl’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1953: 错误:‘ethtool_cmd_speed’重定义
include/linux/ethtool.h:48: 附注:‘ethtool_cmd_speed’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat.h:1960: 错误:与‘ethtool_cmd_speed_set’类型冲突
include/linux/ethtool.h:40: 附注:‘ethtool_cmd_speed_set’的上一个定义在此
In file included from /tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:274:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat2.h:4: 错误:‘pci_pcie_cap’重定义
include/linux/pci.h:1531: 附注:‘pci_pcie_cap’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat2.h:14: 错误:与‘pci_is_pcie’类型冲突
include/linux/pci.h:1631: 附注:‘pci_is_pcie’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat2.h:283: 错误:嵌套的‘enum ethtool_phys_id_state’重定义
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat2.h:283: 错误:‘enum ethtool_phys_id_state’重声明
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat2.h:284: 错误:枚举‘ETHTOOL_ID_INACTIVE’重声明
include/linux/ethtool.h:558: 附注:‘ETHTOOL_ID_INACTIVE’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat2.h:285: 错误:枚举‘ETHTOOL_ID_ACTIVE’重声明
include/linux/ethtool.h:559: 附注:‘ETHTOOL_ID_ACTIVE’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat2.h:286: 错误:枚举‘ETHTOOL_ID_ON’重声明
include/linux/ethtool.h:560: 附注:‘ETHTOOL_ID_ON’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3_compat2.h:288: 错误:枚举‘ETHTOOL_ID_OFF’重声明
include/linux/ethtool.h:562: 附注:‘ETHTOOL_ID_OFF’的上一个定义在此
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_tx’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:6640: 错误:隐式声明函数‘dma_unmap_addr’
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:6640: 错误:‘mapping’未声明(在此函数内第一次使用)
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:6640: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:6640: 错误:所在的函数内也只报告一次。)
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_rx_data_free’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:6710: 错误:‘mapping’未声明(在此函数内第一次使用)
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_alloc_rx_data’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:6777: 错误:隐式声明函数‘dma_unmap_addr_set’
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_recycle_rx’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:6822: 错误:‘mapping’未声明(在此函数内第一次使用)
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_rx’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:6894: 错误:‘mapping’未声明(在此函数内第一次使用)
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:6999: 错误:‘struct tg3’没有名为‘vlgrp’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7023: 错误:‘struct tg3’没有名为‘vlgrp’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7110: 错误:隐式声明函数‘netif_rx_schedule’
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_poll’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7446: 错误:隐式声明函数‘netif_rx_complete’
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7460: 错误:‘struct net_device’没有名为‘quota’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7461: 错误:‘struct net_device’没有名为‘quota’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7466: 错误:‘struct net_device’没有名为‘quota’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_napi_disable’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7495: 错误:隐式声明函数‘netif_poll_disable’
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_napi_init’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7508: 错误:‘struct net_device’没有名为‘poll’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7509: 错误:‘struct net_device’没有名为‘weight’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_napi_enable’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7531: 错误:隐式声明函数‘netif_poll_enable’
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_tx_skb_unmap’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7923: 错误:‘mapping’未声明(在此函数内第一次使用)
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tigon3_dma_hwbug_workaround’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:7989: 错误:‘mapping’未声明(在此函数内第一次使用)
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_run_loopback’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:13901: 错误:‘mapping’未声明(在此函数内第一次使用)
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在文件层:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:14518: 错误:初始值设定项里有未知的字段‘get_channels’
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:14518: 警告:从不兼容的指针类型初始化
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:14519: 错误:初始值设定项里有未知的字段‘set_channels’
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:14519: 警告:从不兼容的指针类型初始化
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c: 在函数‘tg3_init_one’中:
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:18056: 错误:‘struct net_device’没有名为‘open’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:18057: 错误:‘struct net_device’没有名为‘stop’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:18058: 错误:‘struct net_device’没有名为‘get_stats’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:18059: 错误:‘struct net_device’没有名为‘set_multicast_list’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:18060: 错误:‘struct net_device’没有名为‘set_mac_address’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:18061: 错误:‘struct net_device’没有名为‘do_ioctl’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:18062: 错误:‘struct net_device’没有名为‘tx_timeout’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:18063: 错误:‘struct net_device’没有名为‘change_mtu’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:18069: 错误:‘struct net_device’没有名为‘poll_controller’的成员
/tmp/Server/Linux/Driver/tg3-3.124c/tg3.c:18072: 错误:‘struct net_device’没有名为‘hard_start_xmit’的成员
make[2]: *** [/tmp/Server/Linux/Driver/tg3-3.124c/tg3.o] 错误 1
make[1]: *** [_module_/tmp/Server/Linux/Driver/tg3-3.124c] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.el6.x86_64'
make: *** [default] 错误 2
望大侠支招。。。。。
|
|