QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 552|回复: 0

怎样用make 和make install (用来装网卡驱动

[复制链接]
发表于 2003-10-24 19:09:50 | 显示全部楼层 |阅读模式
我的网卡是nvidia 我下载了nvidia_nforce-1.0=0248.tar.gz并拷贝到
usr/src目录下.使用了tar -zxvf  来解压文件之后 cd /usr/src/linux-2.4
make mrproper    make menuconfig make dep
cd ../nforce make make install
但我在make  ,make install 出了问题.
[root@localhost nforce]# make
In file included from /usr/include/linux/module.h:20,
from nvnet.h:20,
from nvnet.c:21:
/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.
In file included from /usr/include/linux/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from nvnet.h:23,
from nvnet.c:21:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/sched.h:14,
from nvnet.h:23,
from nvnet.c:21:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from nvnet.h:23,
from nvnet.c:21:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from nvnet.h:23,
from nvnet.c:21:
/usr/include/asm/signal.h:107: parse error before "sigset_t"
/usr/include/asm/signal.h:110: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
from nvnet.h:23,
from nvnet.c:21:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from nvnet.h:30,
from nvnet.c:21:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from nvnet.h:30,
from nvnet.c:21:
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:77: parse error before '(' token
/usr/include/linux/interrupt.h:78: parse error before '(' token
/usr/include/linux/interrupt.h:106: parse error before "atomic_t"
/usr/include/linux/interrupt.h:109: parse error before '}' token
/usr/include/linux/interrupt.h:127: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:127: requested alignment is not a constant
/usr/include/linux/interrupt.h:154: parse error before '(' token
/usr/include/linux/interrupt.h: In function `tasklet_schedule':
/usr/include/linux/interrupt.h:158: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:162: parse error before '(' token
/usr/include/linux/interrupt.h: In function `tasklet_hi_schedule':
/usr/include/linux/interrupt.h:166: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: In function `tasklet_disable_nosync':
/usr/include/linux/interrupt.h:173: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: In function `tasklet_enable':
/usr/include/linux/interrupt.h:187: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: In function `tasklet_hi_enable':
/usr/include/linux/interrupt.h:193: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:224: parse error before "global_bh_lock"
/usr/include/linux/interrupt.h: In function `mark_bh':
/usr/include/linux/interrupt.h:228: invalid use of undefined type `struct tasklet_struct'
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from nvnet.h:37,
from nvnet.c:21:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from nvnet.h:37,
from nvnet.c:21:
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:57: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/include/asm/pgalloc.h:59: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: (Each undeclared identifier is reported only once
/usr/include/asm/pgalloc.h:59: for each function it appears in.)
/usr/include/asm/pgalloc.h:59: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: parse error before ')' token
/usr/include/asm/pgalloc.h:62: `USER_PTRS_PER_PGD' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:63: `swapper_pg_dir' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:63: `PTRS_PER_PGD' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:70: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/include/asm/pgalloc.h:80: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:80: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:83: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `free_pgd_fast':
/usr/include/asm/pgalloc.h:85: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:90: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `free_pgd_slow':
/usr/include/asm/pgalloc.h:99: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:103: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_alloc_one':
/usr/include/asm/pgalloc.h:105: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:105: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:109: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:118: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
/usr/include/asm/pgalloc.h:127: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:127: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:130: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_free_fast':
/usr/include/asm/pgalloc.h:132: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:137: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_free_slow':
/usr/include/asm/pgalloc.h:139: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_mm':
/usr/include/asm/pgalloc.h:183: `current' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_page':
/usr/include/asm/pgalloc.h:190: dereferencing pointer to incomplete type
/usr/include/asm/pgalloc.h:190: `current' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_range':
/usr/include/asm/pgalloc.h:197: `current' undeclared (first use in this function)
In file included from nvnet.h:37,
from nvnet.c:21:
/usr/include/linux/skbuff.h: At top level:
/usr/include/linux/skbuff.h:100: parse error before "spinlock_t"
/usr/include/linux/skbuff.h:120: parse error before "atomic_t"
/usr/include/linux/skbuff.h:124: parse error before '}' token
/usr/include/linux/skbuff.h:183: parse error before "atomic_t"
/usr/include/linux/skbuff.h:189: conflicting types for `data'
/usr/include/linux/interrupt.h:108: previous declaration of `data'
/usr/include/linux/skbuff.h:215: parse error before '}' token
In file included from nvnet.h:39,
from nvnet.c:21:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from nvnet.c:21:
nvnet.h:44:25: asm/uaccess.h: No such file or directory
In file included from nvnet.h:47,
from nvnet.c:21:
/usr/include/linux/proc_fs.h:70: parse error before "atomic_t"
/usr/include/linux/proc_fs.h:73: parse error before '}' token
/usr/include/linux/proc_fs.h:203: parse error before "void"
In file included from nvnet.c:21:
nvnet.h:166: parse error before "spinlock_t"
nvnet.h:166: warning: no semicolon at end of struct or union
nvnet.h:167: warning: type defaults to `int' in declaration of `phylock'
nvnet.h:167: warning: data definition has no type or storage class
nvnet.h:179: parse error before '}' token
nvnet.h:185: warning: `struct pci_device_id' declared inside parameter list
nvnet.c:90: elements of array `nvnet_pci_table' have incomplete type
nvnet.c:91: warning: excess elements in struct initializer
nvnet.c:91: warning: (near initialization for `nvnet_pci_table[0]')
nvnet.c:91: warning: excess elements in struct initializer
nvnet.c:91: warning: (near initialization for `nvnet_pci_table[0]')
nvnet.c:91: `PCI_ANY_ID' undeclared here (not in a function)
nvnet.c:91: warning: excess elements in struct initializer
nvnet.c:91: warning: (near initialization for `nvnet_pci_table[0]')
nvnet.c:91: `PCI_ANY_ID' undeclared here (not in a function)
nvnet.c:91: warning: excess elements in struct initializer
nvnet.c:91: warning: (near initialization for `nvnet_pci_table[0]')
nvnet.c:92: warning: excess elements in struct initializer
nvnet.c:92: warning: (near initialization for `nvnet_pci_table[1]')
nvnet.c:92: warning: excess elements in struct initializer
nvnet.c:92: warning: (near initialization for `nvnet_pci_table[1]')
nvnet.c:92: `PCI_ANY_ID' undeclared here (not in a function)
nvnet.c:92: warning: excess elements in struct initializer
nvnet.c:92: warning: (near initialization for `nvnet_pci_table[1]')
nvnet.c:92: `PCI_ANY_ID' undeclared here (not in a function)
nvnet.c:92: warning: excess elements in struct initializer
nvnet.c:92: warning: (near initialization for `nvnet_pci_table[1]')
nvnet.c:93: warning: excess elements in struct initializer
nvnet.c:93: warning: (near initialization for `nvnet_pci_table[2]')
nvnet.c:93: warning: excess elements in struct initializer
nvnet.c:93: warning: (near initialization for `nvnet_pci_table[2]')
nvnet.c:93: `PCI_ANY_ID' undeclared here (not in a function)
nvnet.c:93: warning: excess elements in struct initializer
nvnet.c:93: warning: (near initialization for `nvnet_pci_table[2]')
nvnet.c:93: `PCI_ANY_ID' undeclared here (not in a function)
nvnet.c:93: warning: excess elements in struct initializer
nvnet.c:93: warning: (near initialization for `nvnet_pci_table[2]')
nvnet.c:94: warning: excess elements in struct initializer
nvnet.c:94: warning: (near initialization for `nvnet_pci_table[3]')
nvnet.c:94: warning: excess elements in struct initializer
nvnet.c:94: warning: (near initialization for `nvnet_pci_table[3]')
nvnet.c:94: warning: excess elements in struct initializer
nvnet.c:94: warning: (near initialization for `nvnet_pci_table[3]')
nvnet.c:94: warning: excess elements in struct initializer
nvnet.c:94: warning: (near initialization for `nvnet_pci_table[3]')
nvnet.c:97: sizeof applied to an incomplete type
nvnet.c:99: variable `nvnet_driver' has initializer but incomplete type
nvnet.c:101: unknown field `name' specified in initializer
nvnet.c:101: warning: excess elements in struct initializer
nvnet.c:101: warning: (near initialization for `nvnet_driver')
nvnet.c:102: unknown field `id_table' specified in initializer
nvnet.c:102: warning: excess elements in struct initializer
nvnet.c:102: warning: (near initialization for `nvnet_driver')
nvnet.c:103: unknown field `probe' specified in initializer
nvnet.c:103: warning: excess elements in struct initializer
nvnet.c:103: warning: (near initialization for `nvnet_driver')
nvnet.c:104: unknown field `remove' specified in initializer
nvnet.c:104: warning: excess elements in struct initializer
nvnet.c:104: warning: (near initialization for `nvnet_driver')
nvnet.c:106: unknown field `suspend' specified in initializer
nvnet.c:106: warning: excess elements in struct initializer
nvnet.c:106: warning: (near initialization for `nvnet_driver')
nvnet.c:107: unknown field `resume' specified in initializer
nvnet.c:107: warning: excess elements in struct initializer
nvnet.c:107: warning: (near initialization for `nvnet_driver')
nvnet.c: In function `linuxlockalloc':
nvnet.c:115: dereferencing pointer to incomplete type
nvnet.c:117: warning: implicit declaration of function `spin_lock_init'
nvnet.c:117: dereferencing pointer to incomplete type
nvnet.c:118: dereferencing pointer to incomplete type
nvnet.c: In function `linuxlockacquire':
nvnet.c:127: warning: implicit declaration of function `spin_lock'
nvnet.c: In function `linuxlockrelease':
nvnet.c:136: warning: implicit declaration of function `spin_unlock'
nvnet.c: In function `linuxalloc':
nvnet.c:146: dereferencing pointer to incomplete type
nvnet.c:151: warning: implicit declaration of function `pci_alloc_consistent'
nvnet.c:151: dereferencing pointer to incomplete type
nvnet.c: In function `linuxfree':
nvnet.c:175: dereferencing pointer to incomplete type
nvnet.c:182: warning: implicit declaration of function `pci_free_consistent'
nvnet.c:182: dereferencing pointer to incomplete type
nvnet.c: In function `linuxdelay':
nvnet.c:266: warning: implicit declaration of function `udelay'
nvnet.c: In function `linuxallocrxbuf':
nvnet.c:276: dereferencing pointer to incomplete type
nvnet.c:280: warning: implicit declaration of function `dev_alloc_skb'
nvnet.c:280: warning: assignment makes pointer from integer without a cast
nvnet.c:287: dereferencing pointer to incomplete type
nvnet.c:298: warning: implicit declaration of function `pci_map_single'
nvnet.c:298: dereferencing pointer to incomplete type
nvnet.c:298: dereferencing pointer to incomplete type
nvnet.c:298: `PCI_DMA_FROMDEVICE' undeclared (first use in this function)
nvnet.c: In function `linuxfreerxbuf':
nvnet.c:311: dereferencing pointer to incomplete type
nvnet.c:324: warning: implicit declaration of function `pci_unmap_single'
nvnet.c:324: dereferencing pointer to incomplete type
nvnet.c:324: `PCI_DMA_FROMDEVICE' undeclared (first use in this function)
nvnet.c:326: warning: implicit declaration of function `dev_kfree_skb'
nvnet.c: In function `linuxpackettx':
nvnet.c:340: dereferencing pointer to incomplete type
nvnet.c:352: dereferencing pointer to incomplete type
nvnet.c:352: dereferencing pointer to incomplete type
nvnet.c:352: `PCI_DMA_TODEVICE' undeclared (first use in this function)
nvnet.c:356: warning: implicit declaration of function `dev_kfree_skb_irq'
nvnet.c:357: dereferencing pointer to incomplete type
nvnet.c:359: dereferencing pointer to incomplete type
nvnet.c:359: dereferencing pointer to incomplete type
nvnet.c:359: dereferencing pointer to incomplete type
nvnet.c:363: dereferencing pointer to incomplete type
nvnet.c:365: warning: implicit declaration of function `netif_wake_queue'
nvnet.c: In function `linuxpacketrx':
nvnet.c:386: dereferencing pointer to incomplete type
nvnet.c:393: dereferencing pointer to incomplete type
nvnet.c:397: dereferencing pointer to incomplete type
nvnet.c:397: `PCI_DMA_FROMDEVICE' undeclared (first use in this function)
nvnet.c:400: warning: implicit declaration of function `skb_put'
nvnet.c:401: dereferencing pointer to incomplete type
nvnet.c:401: warning: implicit declaration of function `eth_type_trans'
nvnet.c:406: warning: implicit declaration of function `netif_rx'
nvnet.c:411: dereferencing pointer to incomplete type
nvnet.c:415: dereferencing pointer to incomplete type
nvnet.c: In function `linuxlinkchanged':
nvnet.c:435: warning: implicit declaration of function `netif_carrier_on'
nvnet.c:436: dereferencing pointer to incomplete type
nvnet.c:439: warning: implicit declaration of function `netif_carrier_off'
nvnet.c:440: dereferencing pointer to incomplete type
nvnet.c: In function `nvnet_stats':
nvnet.c:460: dereferencing pointer to incomplete type
nvnet.c:465: dereferencing pointer to incomplete type
nvnet.c:471: dereferencing pointer to incomplete type
nvnet.c:472: dereferencing pointer to incomplete type
nvnet.c:473: dereferencing pointer to incomplete type
nvnet.c:479: dereferencing pointer to incomplete type
nvnet.c:485: dereferencing pointer to incomplete type
nvnet.c:487: dereferencing pointer to incomplete type
nvnet.c:488: dereferencing pointer to incomplete type
nvnet.c:489: dereferencing pointer to incomplete type
nvnet.c:490: dereferencing pointer to incomplete type
nvnet.c:492: dereferencing pointer to incomplete type
nvnet.c:498: dereferencing pointer to incomplete type
nvnet.c: In function `nvnet_multicast':
nvnet.c:516: dereferencing pointer to incomplete type
nvnet.c:517: dereferencing pointer to incomplete type
nvnet.c:529: warning: implicit declaration of function `spin_lock_irqsave'
nvnet.c:529: dereferencing pointer to incomplete type
nvnet.c:529: dereferencing pointer to incomplete type
nvnet.c:531: dereferencing pointer to incomplete type
nvnet.c:535: dereferencing pointer to incomplete type
nvnet.c:535: dereferencing pointer to incomplete type
nvnet.c:541: dereferencing pointer to incomplete type
nvnet.c:555: dereferencing pointer to incomplete type
nvnet.c:557: dereferencing pointer to incomplete type
nvnet.c:559: dereferencing pointer to incomplete type
nvnet.c:560: dereferencing pointer to incomplete type
nvnet.c:566: dereferencing pointer to incomplete type
nvnet.c:595: warning: implicit declaration of function `spin_unlock_irqrestore'
nvnet.c:595: dereferencing pointer to incomplete type
nvnet.c:595: dereferencing pointer to incomplete type
nvnet.c: In function `nvnet_xmit':
nvnet.c:616: dereferencing pointer to incomplete type
nvnet.c:617: dereferencing pointer to incomplete type
nvnet.c:627: dereferencing pointer to incomplete type
nvnet.c:634: dereferencing pointer to incomplete type
nvnet.c:634: dereferencing pointer to incomplete type
nvnet.c:639: dereferencing pointer to incomplete type
nvnet.c:641: warning: implicit declaration of function `netif_stop_queue'
nvnet.c:642: dereferencing pointer to incomplete type
nvnet.c:649: dereferencing pointer to incomplete type
nvnet.c:649: dereferencing pointer to incomplete type
nvnet.c:658: dereferencing pointer to incomplete type
nvnet.c:658: dereferencing pointer to incomplete type
nvnet.c:658: dereferencing pointer to incomplete type
nvnet.c:658: `PCI_DMA_TODEVICE' undeclared (first use in this function)
nvnet.c:663: dereferencing pointer to incomplete type
nvnet.c:670: dereferencing pointer to incomplete type
nvnet.c:670: dereferencing pointer to incomplete type
nvnet.c:671: dereferencing pointer to incomplete type
nvnet.c:672: dereferencing pointer to incomplete type
nvnet.c:672: dereferencing pointer to incomplete type
nvnet.c:673: dereferencing pointer to incomplete type
nvnet.c:674: dereferencing pointer to incomplete type
nvnet.c:674: `jiffies' undeclared (first use in this function)
nvnet.c:688: dereferencing pointer to incomplete type
nvnet.c:688: dereferencing pointer to incomplete type
nvnet.c: In function `nvnet_open':
nvnet.c:707: dereferencing pointer to incomplete type
nvnet.c:713: dereferencing pointer to incomplete type
nvnet.c:713: dereferencing pointer to incomplete type
nvnet.c:717: dereferencing pointer to incomplete type
nvnet.c:722: warning: implicit declaration of function `free_irq'
nvnet.c:722: dereferencing pointer to incomplete type
nvnet.c:729: dereferencing pointer to incomplete type
nvnet.c:729: dereferencing pointer to incomplete type
nvnet.c:729: dereferencing pointer to incomplete type
nvnet.c:735: warning: implicit declaration of function `request_irq'
nvnet.c:735: dereferencing pointer to incomplete type
nvnet.c:735: `SA_SHIRQ' undeclared (first use in this function)
nvnet.c:735: dereferencing pointer to incomplete type
nvnet.c:747: dereferencing pointer to incomplete type
nvnet.c:747: dereferencing pointer to incomplete type
nvnet.c:750: warning: implicit declaration of function `netif_start_queue'
nvnet.c: In function `nvnet_interrupt':
nvnet.c:762: dereferencing pointer to incomplete type
nvnet.c:770: dereferencing pointer to incomplete type
nvnet.c:770: dereferencing pointer to incomplete type
nvnet.c:772: dereferencing pointer to incomplete type
nvnet.c:772: dereferencing pointer to incomplete type
nvnet.c:773: dereferencing pointer to incomplete type
nvnet.c:773: dereferencing pointer to incomplete type
nvnet.c: In function `nvnet_close':
nvnet.c:788: dereferencing pointer to incomplete type
nvnet.c:794: dereferencing pointer to incomplete type
nvnet.c:795: dereferencing pointer to incomplete type
nvnet.c:795: dereferencing pointer to incomplete type
nvnet.c:798: dereferencing pointer to incomplete type
nvnet.c: In function `nvnet_ioctl':
nvnet.c:812: dereferencing pointer to incomplete type
nvnet.c:813: dereferencing pointer to incomplete type
nvnet.c:822: warning: implicit declaration of function `copy_from_user'
nvnet.c:836: dereferencing pointer to incomplete type
nvnet.c:837: dereferencing pointer to incomplete type
nvnet.c:839: warning: implicit declaration of function `copy_to_user'
nvnet.c:856: dereferencing pointer to incomplete type
nvnet.c:862: dereferencing pointer to incomplete type
nvnet.c:872: dereferencing pointer to incomplete type
nvnet.c: In function `nvnet_init':
nvnet.c:902: dereferencing pointer to incomplete type
nvnet.c:908: warning: implicit declaration of function `pci_read_config_word'
nvnet.c:908: dereferencing pointer to incomplete type
nvnet.c:917: warning: implicit declaration of function `pci_write_config_word'
nvnet.c:917: dereferencing pointer to incomplete type
nvnet.c:924: dereferencing pointer to incomplete type
nvnet.c:944: dereferencing pointer to incomplete type
nvnet.c:966: dereferencing pointer to incomplete type
nvnet.c:968: dereferencing pointer to incomplete type
nvnet.c:969: dereferencing pointer to incomplete type
nvnet.c:984: dereferencing pointer to incomplete type
nvnet.c:984: dereferencing pointer to incomplete type
nvnet.c:984: dereferencing pointer to incomplete type
nvnet.c:988: dereferencing pointer to incomplete type
nvnet.c:988: dereferencing pointer to incomplete type
nvnet.c:995: dereferencing pointer to incomplete type
nvnet.c:995: dereferencing pointer to incomplete type
nvnet.c:995: dereferencing pointer to incomplete type
nvnet.c: At top level:
nvnet.c:1005: conflicting types for `nvnet_probe'
nvnet.h:185: previous declaration of `nvnet_probe'
nvnet.c: In function `nvnet_probe':
nvnet.c:1015: warning: implicit declaration of function `pci_enable_device'
nvnet.c:1023: warning: implicit declaration of function `pci_set_dma_mask'
nvnet.c:1031: warning: implicit declaration of function `pci_find_capability'
nvnet.c:1055: warning: implicit declaration of function `pci_resource_start'
nvnet.c:1055: warning: implicit declaration of function `pci_resource_len'
nvnet.c:1059: warning: implicit declaration of function `pci_disable_device'
nvnet.c:1064: warning: implicit declaration of function `ioremap'
nvnet.c:1065: warning: assignment makes pointer from integer without a cast
nvnet.c:1076: warning: implicit declaration of function `alloc_etherdev'
nvnet.c:1076: dereferencing pointer to incomplete type
nvnet.c:1076: warning: assignment makes pointer from integer without a cast
nvnet.c:1089: warning: implicit declaration of function `pci_set_drvdata'
nvnet.c:1090: dereferencing pointer to incomplete type
nvnet.c:1095: dereferencing pointer to incomplete type
nvnet.c:1096: dereferencing pointer to incomplete type
nvnet.c:1097: dereferencing pointer to incomplete type
nvnet.c:1097: dereferencing pointer to incomplete type
nvnet.c:1099: dereferencing pointer to incomplete type
nvnet.c:1100: dereferencing pointer to incomplete type
nvnet.c:1105: dereferencing pointer to incomplete type
nvnet.c:1106: dereferencing pointer to incomplete type
nvnet.c:1106: dereferencing pointer to incomplete type
nvnet.c:1107: dereferencing pointer to incomplete type
nvnet.c:1109: dereferencing pointer to incomplete type
nvnet.c:1116: warning: implicit declaration of function `kfree'
nvnet.c:1121: dereferencing pointer to incomplete type
nvnet.c:1125: dereferencing pointer to incomplete type
nvnet.c:1127: dereferencing pointer to incomplete type
nvnet.c:1130: dereferencing pointer to incomplete type
nvnet.c:1131: warning: implicit declaration of function `pci_set_master'
nvnet.c:1133: dereferencing pointer to incomplete type
nvnet.c:1134: dereferencing pointer to incomplete type
nvnet.c:1134: dereferencing pointer to incomplete type
nvnet.c:1146: warning: implicit declaration of function `printk'
nvnet.c:1146: `KERN_INFO' undeclared (first use in this function)
nvnet.c:1146: parse error before string constant
nvnet.c:1155: parse error before string constant
nvnet.c:1167: parse error before string constant
nvnet.c:1176: `KERN_NOTICE' undeclared (first use in this function)
nvnet.c:1176: parse error before string constant
nvnet.c:1187: parse error before string constant
nvnet.c:1196: parse error before string constant
nvnet.c:1200: parse error before string constant
nvnet.c:1223: dereferencing pointer to incomplete type
nvnet.c:1224: dereferencing pointer to incomplete type
nvnet.c:1225: dereferencing pointer to incomplete type
nvnet.c:1226: dereferencing pointer to incomplete type
nvnet.c:1227: dereferencing pointer to incomplete type
nvnet.c:1228: dereferencing pointer to incomplete type
nvnet.c:1229: dereferencing pointer to incomplete type
nvnet.c:1235: warning: implicit declaration of function `register_netdev'
nvnet.c: In function `nvnet_remove':
nvnet.c:1248: dereferencing pointer to incomplete type
nvnet.c:1249: dereferencing pointer to incomplete type
nvnet.c:1264: dereferencing pointer to incomplete type
nvnet.c:1264: dereferencing pointer to incomplete type
nvnet.c:1266: dereferencing pointer to incomplete type
nvnet.c:1266: dereferencing pointer to incomplete type
nvnet.c:1266: dereferencing pointer to incomplete type
nvnet.c:1268: dereferencing pointer to incomplete type
nvnet.c:1270: dereferencing pointer to incomplete type
nvnet.c:1270: dereferencing pointer to incomplete type
nvnet.c:1271: dereferencing pointer to incomplete type
nvnet.c:1274: warning: implicit declaration of function `unregister_netdev'
nvnet.c:1279: dereferencing pointer to incomplete type
nvnet.c:1279: dereferencing pointer to incomplete type
nvnet.c:1280: dereferencing pointer to incomplete type
nvnet.c:1280: dereferencing pointer to incomplete type
nvnet.c: In function `nvnet_init_module':
nvnet.c:1297: warning: implicit declaration of function `pci_module_init'
nvnet.c: In function `nvnet_cleanup_module':
nvnet.c:1303: warning: implicit declaration of function `pci_unregister_driver'
nvnet.c: In function `nvnet_suspend':
nvnet.c:1322: warning: implicit declaration of function `pci_get_drvdata'
nvnet.c:1323: dereferencing pointer to incomplete type
nvnet.c:1325: warning: implicit declaration of function `netif_running'
nvnet.c:1331: warning: implicit declaration of function `netif_device_detach'
nvnet.c: In function `nvnet_resume':
nvnet.c:1347: dereferencing pointer to incomplete type
nvnet.c:1350: dereferencing pointer to incomplete type
nvnet.c:1355: warning: implicit declaration of function `netif_device_attach'
nvnet.c: At top level:
nvnet.c:99: storage size of `nvnet_driver' isn't known
make[1]: *** [nvnet.o] Error 1
make: *** [nvnet_make] Error 2
[root@localhost nforce]#
root@localhost nforce]# make install
make -C nvnet install
make[1]: Entering directory `/usr/src/nforce/nvnet'
mkdir -p //lib/modules/2.4.20-20.8/kernel/drivers/net
install -b -m 644 -o root nvnet.o //lib/modules/2.4.20-20.8/kernel/drivers/net
install: cannot stat `nvnet.o': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/nforce/nvnet'
make: *** [nvnet_install] Error 2
[root@localhost nforce]#
这到底怎么了.是什么问题.我装这个网卡以装了n 天了.可还没有装上去.我快崩溃了.那位大虾帮帮我啊.我应该还要提供什么信息啊.
我的主板是ASUS A7N8X-Deluex  双网卡.一个是3com90x 另一个是nvidia
主板的芯片组是nforce
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-29 06:13 , Processed in 0.069093 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表