Go Back   nV News Forums > Linux Support Forums > General Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-12-07, 10:06 AM   #1
bobism
Registered User
 
Join Date: Aug 2007
Posts: 7
Default FC6 forcedeth.c 0.62 errors and warnings during compile

I have a problem with my M2N-MX mob using the FC6 forcedeth.ko, versions 0.59 and 0.60 (latest kernel). The ethernet link will go "corrupt" and wont recover, ifdown/ifup wont help. If I reload the driver, it recovers e.g. rmmod/modprobe. So I'm trying to compile 0.62 source as supplied in NVIDIA 1.23;

http://www.nvidia.com/object/linux_nforce_1.23.html

However, when I compile the module using the following Makefile;

> obj-m := forcedeth.o
>
> KDIR := /lib/modules/$(shell uname -r)/build
> PWD := $(shell pwd)

> default:
> $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean
> $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules

I get the warnings and errors shown at the end of my post. What am I doing wrong? Please help!

-- log of make

make -C /lib/modules/2.6.22.1-32.fc6/build SUBDIRS=/root/forcedeth-build clean
make[1]: Entering directory `/usr/src/kernels/2.6.22.1-32.fc6-i686'
CLEAN /root/forcedeth-build/.tmp_versions
make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-32.fc6-i686'
make -C /lib/modules/2.6.22.1-32.fc6/build SUBDIRS=/root/forcedeth-build modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.1-32.fc6-i686'
CC [M] /root/forcedeth-build/forcedeth.o
/root/forcedeth-build/forcedeth.c: In function ‘nv_start_xmit’:
/root/forcedeth-build/forcedeth.c:2367: error: ‘CHECKSUM_HW’ undeclared (first use in this function)
/root/forcedeth-build/forcedeth.c:2367: error: (Each undeclared identifier is reported only once
/root/forcedeth-build/forcedeth.c:2367: error: for each function it appears in.)
/root/forcedeth-build/forcedeth.c: In function ‘nv_start_xmit_optimized’:
/root/forcedeth-build/forcedeth.c:2475: error: ‘CHECKSUM_HW’ undeclared (first use in this function)
/root/forcedeth-build/forcedeth.c: In function ‘nv_request_irq’:
/root/forcedeth-build/forcedeth.c:3823: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3823: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c:3830: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3830: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c:3837: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3837: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c:3854: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3854: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c:3856: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3856: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c:3858: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3858: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c:3875: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3875: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c:3877: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3877: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c:3878: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3878: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c:3980: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3980: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c:3982: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3982: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c:3983: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/root/forcedeth-build/forcedeth.c:3983: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/forcedeth-build/forcedeth.c: In function ‘nv_resume’:
/root/forcedeth-build/forcedeth.c:6422: warning: ignoring return value of ‘pci_enable_device’, declared with attribute warn_unused_result
/root/forcedeth-build/forcedeth.c: In function ‘nv_reboot_handler’:
/root/forcedeth-build/forcedeth.c:6490: warning: ‘pci_find_device’ is deprecated (declared at include/linux/pci.h:477)
/root/forcedeth-build/forcedeth.c: In function ‘init_nic’:
/root/forcedeth-build/forcedeth.c:6516: warning: implicit declaration of function ‘pci_module_init’
make[2]: *** [/root/forcedeth-build/forcedeth.o] Error 1
make[1]: *** [_module_/root/forcedeth-build] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-32.fc6-i686'
make: *** [default] Error 2
bobism is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:29 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.