NIC Driver Installation under fedora13-general Linux technology-Linux technology and application information. For details, refer to the following section. My system is Fedora 13 and the kernel version is 2.6.33.3-85. fc13.i686. PAE. I encountered a problem when installing the NIC Driver. Please take a look. It is best to have specific operation steps. The more detailed the operation, the better. Thank you!
I installed it like this: first decompress the driver you provided, then go to the directory after decompression on the linux terminal, run the make command, and then encounter the following problems:
Will it be caused by the lack of software or libraries in my system?
[Root @ localhost Linux-2.6.x] # make
Make-C src/clean
Make [1]: Entering directory '/home/ims/linux-software/Linux-2.6.x/src'
Rm-f *. o *. ko *~ Core *. dep *. *. d. *. cmd *. mod. c *. a *. s. *. flags
Make [1]: Leaving directory '/home/ims/linux-software/Linux-2.6.x/src'
Make-C src/modules
Make [1]: Entering directory '/home/ims/linux-software/Linux-2.6.x/src'
Make-C/lib/modules/2.6.33.3-85. fc13.i686. PAE/build SUBDIRS =/home/ims/linux-software/Linux-2.6.x/src modules
Make [2]: Entering directory '/usr/src/kernels/2.6.33.3-85. fc13.i686. pae'
CC [M]/home/ims/linux-software/Linux-2.6.x/src/r1000_n.o
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 378: Error: expected ') 'Before string constant
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the function 'r1000 _ phy_timer_t_handler:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 525: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ timer_handler' function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 561: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ init_board 'function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 615: Error: Implicit declaration function 'set _ MODULE_OWNER'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 621: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ init_one 'function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 783: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 794: Error: 'struct net_device 'No member named 'open'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 795: Error: 'struct net_device 'No member named 'hard _ start_xmit'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 796: Error: 'struct net_device 'No member named 'get _ stats'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 797: Error: 'struct net_device 'No member named 'stop'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 798: Error: 'struct net_device 'No member named 'tx _ timeout'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 799: Error: 'struct net_device 'No member named 'set _ multicast_list'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 816: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the function 'r1000 _ open:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1052: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1064: Error: 'sa _ SHIRQ 'not declared (used for the first time in this function)
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1064: Error :( even if multiple times appear in a function, each undeclared identifier
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1064: error: the function in which it is located is also reported only once .)
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1064: Warning: transfer between incompatible pointer types when passing the 2nd parameter of 'request _ irq'
Include/linux/interrupt. h: 117: Note: The type 'irq _ handler_t 'is required, but the real parameter type is 'enum irqreturn_t (*) (int, void *, struct pt_regs *)'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ hw_PHY_reset 'function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1140: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ hw_PHY_config 'function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1168: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ hw_start 'function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1244: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ init_ring 'function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1399: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ tx_timeout' function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1475: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ start_xmit 'function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1508: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ interrupt 'function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1749: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ close' function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1812: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ set_rx_mode 'function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1914: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ get_stats 'function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 1980: Error: 'struct net_device 'No member named 'priv'
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: In the 'r1000 _ init_module 'function:
/Home/ims/linux-software/Linux-2.6.x/src/r1000_n.c: 2009: Error: Implicit declaration function 'pci _ module_init'
Make [3]: *** [/home/ims/linux-software/Linux-2.6.x/src/r1000_n.o] Error 1
Make [2]: *** [_ module _/home/ims/linux-software/Linux-2.6.x/src] Error 2
Make [2]: Leaving directory '/usr/src/kernels/2.6.33.3-85. fc13.i686. pae'
Make [1]: *** [modules] Error 2
Make [1]: Leaving directory '/home/ims/linux-software/Linux-2.6.x/src'
Make: *** [modules] Error 2
[Root @ localhost Linux-2.6.x] # uname-
Linux localhost. localdomain 2.6.33.3-85. fc13.i686. PAE #1 SMP Thu May 6 18:27:11 UTC 2010 i686 i686 i386 GNU/Linux
[Root @ localhost Linux-2.6.x] #
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.