bnx2 1.71c does not compile on rhel5.2
Eugene Pik
eugene.pik at gmail.com
Sat Jul 5 15:22:40 CDT 2008
I'm not sure if that was resolved since then... I'm trying yum with
Dell repository on CentOS 5.
It installs but error messages make me worried...
Please advise. Thanks.
# yum install bnx2.noarch
==========================================================
Package Arch Version Repository Size
==========================================================
Installing:
bnx2 noarch 1.7.1c-3.3dkms dell-hardware-auto 2.5 M
Transaction Summary
==========================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 2.5 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): bnx2-1.7.1c-3.3dkm 100% |=========================| 2.5 MB 00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: bnx2 ######################### [1/1]
Creating symlink /var/lib/dkms/bnx2/1.7.1c/source ->
/usr/src/bnx2-1.7.1c
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.18-92.1.6.el5 -C
/lib/modules/2.6.18-92.1.6.el5/build
BCMEXTSRCDIR=/lib/modules/2.6.18-92.1.6.el5/build
SUBDIRS=/var/lib/dkms/bnx2/1.7.1c/build modules....(bad exit status:
2)
Error! Bad return status for module build on kernel: 2.6.18-92.1.6.el5 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/bnx2/1.7.1c/build/ for more information.
Installed: bnx2.noarch 0:1.7.1c-3.3dkms
Complete!
On Fri, May 23, 2008 at 5:17 AM, Rainer Traut <tr.ml at gmx.de> wrote:
>
> Hi,
>
> it seems the new dell package "v.11.0/T4.2, A00" from may 20 does not
> compile on el5.2 x86_64 kernel 2.6.18-92.el5:
>
> # cat /var/lib/dkms/bnx2/1.7.1c/build/make.log
> DKMS make.log for bnx2-1.7.1c for kernel 2.6.18-92.el5 (x86_64)
> Fri May 23 11:16:28 CEST 2008
> make: Entering directory `/usr/src/kernels/2.6.18-92.el5-x86_64'
> CC [M] /var/lib/dkms/bnx2/1.7.1c/build/bnx2.o
> In file included from /var/lib/dkms/bnx2/1.7.1c/build/bnx2.c:74:
> /var/lib/dkms/bnx2/1.7.1c/build/bnx2.h:261: error: redefinition of
> 'skb_transport_offset'
> include/linux/skbuff.h:1006: error: previous definition of
> 'skb_transport_offset' was here
> /var/lib/dkms/bnx2/1.7.1c/build/bnx2.h:266: error: redefinition of 'ip_hdr'
> include/linux/ip.h:109: error: previous definition of 'ip_hdr' was here
> /var/lib/dkms/bnx2/1.7.1c/build/bnx2.h:271: error: redefinition of
> 'ip_hdrlen'
> include/net/ip.h:48: error: previous definition of 'ip_hdrlen' was here
> /var/lib/dkms/bnx2/1.7.1c/build/bnx2.h:276: error: redefinition of 'tcp_hdr'
> include/linux/tcp.h:169: error: previous definition of 'tcp_hdr' was here
> /var/lib/dkms/bnx2/1.7.1c/build/bnx2.h:281: error: redefinition of
> 'tcp_optlen'
> include/linux/tcp.h:179: error: previous definition of 'tcp_optlen' was here
> make[1]: *** [/var/lib/dkms/bnx2/1.7.1c/build/bnx2.o] Error 1
> make: *** [_module_/var/lib/dkms/bnx2/1.7.1c/build] Error 2
> make: Leaving directory `/usr/src/kernels/2.6.18-92.el5-x86_64'
>
> Thx
> Rainer
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
More information about the Linux-PowerEdge
mailing list