0

我正在尝试在 centos 6.3 上为 HP DL360 G7 Emulex 驱动程序进行 rpmbuild

但它失败了这个错误..有什么想法吗?

+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd hp-be2net-4.1.402.6
+ LANG=C
+ export LANG
+ unset DISPLAY
+ export 'EXTRA_CFLAGS=-DVERSION=\"4.1.402.6\"'
+ EXTRA_CFLAGS='-DVERSION=\"4.1.402.6\"'
+ for flavor in default
+ rm -rf obj/default
+ cp -r source obj/default
+ export SRC=/root/rpmbuild/BUILD/hp-be2net-4.1.402.6/obj/default
+ SRC=/root/rpmbuild/BUILD/hp-be2net-4.1.402.6/obj/default
++ '[' default = default ']'
+ make -C /usr/src/kernels/2.6.32-279.1.1.el6.centos.plus.x86_64 modules M=/root/rpmbuild/BUILD/hp-be2net-4.1.402.6/obj/default CONFIG_BE2NET=m
make: Entering directory `/usr/src/kernels/2.6.32-279.1.1.el6.centos.plus.x86_64'
  CC [M]  /root/rpmbuild/BUILD/hp-be2net-4.1.402.6/obj/default/be_main.o
/root/rpmbuild/BUILD/hp-be2net-4.1.402.6/obj/default/be_main.c: In function 'get_rx_page_info':
/root/rpmbuild/BUILD/hp-be2net-4.1.402.6/obj/default/be_main.c:1279: error: 'struct be_rx_page_info' has no member named 'bus'
/root/rpmbuild/BUILD/hp-be2net-4.1.402.6/obj/default/be_main.c: In function 'be_post_rx_frags':
/root/rpmbuild/BUILD/hp-be2net-4.1.402.6/obj/default/be_main.c:1679: error: 'struct be_rx_page_info' has no member named 'bus'
make[1]: *** [/root/rpmbuild/BUILD/hp-be2net-4.1.402.6/obj/default/be_main.o] Error 1
make: *** [_module_/root/rpmbuild/BUILD/hp-be2net-4.1.402.6/obj/default] Error 2
make: Leaving directory `/usr/src/kernels/2.6.32-279.1.1.el6.centos.plus.x86_64'
error: Bad exit status from /var/tmp/rpm-tmp.R3DzsV (%build)
4

1 回答 1

0

我遇到了同样的问题。HP 尚未为我提供解决方案,因此我开始四处寻找其他可能的解决方案。我发现 Emulex(该卡的制造商)提供了与 RHEL 6.2 兼容的二进制驱动程序,该驱动程序似乎在 RHEL 6.3 中加载良好。

查找 UCNA 以太网驱动程序 - 二进制驱动程序 RPM 套件 http://www.emulex.com/downloads/emulex/linux/rhel6x/drivers.html

于 2012-08-08T04:07:43.837 回答