[CentOS] Problem with install Boardcom driver

Pete Kay

petedao at gmail.com
Mon Sep 8 05:37:23 UTC 2008


Hi,

I have to install Broadcom driver because the  Dell Optiplex 330
running Centos 5.2 is not able to connect to the network.


I am trying to install a Broadcom driver, but I get the followng error:

[root at localhost tg3-3.85l]#
[root at localhost tg3-3.85l]# make
make -C /lib/modules/2.6.18-92.el5/build
SUBDIRS=/usr/src/Server/Linux/Driver/tg3-3.85l modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-92.el5-x86_64'
  CC [M]  /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.o
In file included from /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.c:85:
/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:234: error: redefinition
of 'skb_transport_offset'
include/linux/skbuff.h:1006: error: previous definition of
'skb_transport_offset' was here
/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:239: error: redefinition
of 'ip_hdr'
include/linux/ip.h:109: error: previous definition of 'ip_hdr' was here
/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:244: error: redefinition
of 'ip_hdrlen'
include/net/ip.h:48: error: previous definition of 'ip_hdrlen' was here
/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:249: error: redefinition
of 'tcp_hdr'
include/linux/tcp.h:169: error: previous definition of 'tcp_hdr' was here
/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:254: error: redefinition
of 'tcp_optlen'
include/linux/tcp.h:179: error: previous definition of 'tcp_optlen' was here
make[2]: *** [/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.o] Error 1
make[1]: *** [_module_/usr/src/Server/Linux/Driver/tg3-3.85l] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.el5-x86_64'
make: *** [default] Error 2
[root at localhost tg3-3.85l]#

Does anyone know how to resolve this problem?

Many thanks in advance for all your help.

Regards,
Pete



More information about the CentOS mailing list