I need Help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have installed a HP LC2000 Server with ethernet card 3C996
With redhat 7.2 
uname -a
Linux cosmos 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown

I have problems. in /var/log/messages i can see:

Feb 22 11:18:38 cosmos kernel: NETDEV WATCHDOG: eth1: transmit timed out
Feb 22 11:18:38 cosmos kernel: eth1: Tx hung

I dowload the latest driver from 3COM to make the driver
bcm5700.o

but when i try to compile the drvier like it's explain in release.txt
with rpm -bb SPECS/bcm5700.spec i obtain this message:

gcc -DMODULE -D__KERNEL__ -DDBG=0 -DT3_JUMBO_RCV_RCB_ENTRY_COUNT=256
-DNICE_SUPPORT -DPCIX_TARGET_WORKAROUND=1 -DINCLUDE_TBI_SUPPORT
-DINCLUDE_5701_AX_FIX=1 -Wall -Wstrict-prototypes -O6
-I/lib/modules/`uname -r`/build/include   -c -o b57um.o b57um.c
In file included from mm.h:31,
                 from b57um.c:19:
/usr/include/linux/modversions.h:1:2: #error Modules should never use
kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an
appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change
-I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname
-r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the
currently-running kernel.
make: *** [b57um.o] Erreur 1
error: Bad exit status from /var/tmp/rpm-tmp.80706 (%build)


Can someone give me information for the good way to compile this module?

Thanks in advance for your answer.
-- 
_______________________________________________________________
Patrick Gatt             Phone  :  04 93-95-74-47
Cenerg-Ensmp             Fax    :  04 93-95-75-35
Rue C. Daunesse BP 207   E-mail :  patrick.gatt@xxxxxxxxxxxxx
O6904 Sophia Antipolis   Web    :  http://www-cenerg.cma.fr
CEDEX FRANCE                    :   
_______________________________________________________________





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Linux Wireless]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux