毛毛~ 发表于 2004-6-30 15:23:50

NV的网卡的尴尬!(希望大家可以真正帮助一些菜鸟)

我的是RED HAT LINUX9。
NFORCE2继承的网卡。。
在XP或者WIN2K下可以正常工作。
但是在LINUX下他根本就发现不了这个硬件。
后来我就试着去装驱动。
下了个驱动之后就按照以前老大哥那么说法去做:


“NFORCE2网卡驱动:
先到http://download.nvidia.com/XFree86/...1.0-0261.tar.gz
#tar xzvf NVIDIA_nforce-1.0-0261.tar.gz
#make
#make install
#kudzu 让系统找一下硬件
#redhat-config-network 好了 应该能找到网卡了
后续工作
cat /etc/modules.conf
看看有没有 alias eth0 nvnet 这样才能确保启动时能启动网卡 没有的话请手工加上”。。。。。。。


然后我就照着做啦。
下来之后,启动LINUX
挂VFAT
CP过来到TMP下。
解压缩。
然后进目录,
MAKE
这步倒是成功了。
make install
这里就有问题。他提示了错误。
之后我cat /etc/modules.conf
看到了有 alias eth0 nvnet
但是我ifconfig就是没有物理网卡。只有个LOOP BACK。!
晕。。 而且每次启动LINUX的时候检测网卡的时候就失败!
我也看了很多关于网卡的帖子啦。一直都解决不了这个问题。!
也许对于你们高手来说,这个很简单,会说“就不会自己去找找精华看看,或者搜索一下嘛!”
但是这些我都做了。
到了现在,我实在是没办法弄啦。
也许你们会说干脆弄个FC2好了。但是我是真的想解决这个问题,从中也有乐趣嘛!!!!!!希望大家伸出你们可爱的双手。帮帮我啦!!!

bigcat00 发表于 2004-6-30 15:30:16

兄弟,你会编译内核吗?去下载个2.6.7版的内核自己编译一下,我看它好象带nForce/nForce2的驱动。

毛毛~ 发表于 2004-6-30 15:31:11

我现在还只是菜。。不会。
555555555555555555555555

bigcat00 发表于 2004-6-30 15:38:16

那你好歹把make install的错误贴出来让大家看看啊。

毛毛~ 发表于 2004-6-30 15:58:51

MAKE以后就有错误。我以前没看清楚,不过东西太多。没办法把所有的提示都贴过来,只能贴后面的啦。:
make: Entering directory `/tmp/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM-fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/lib/modules/2.4.20-8/build/include   nvnet.c
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:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity
not guaranteed
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: 没有那个文件或目录
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: 没有那个文件或目录
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: 没有那个文件或目录
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: 没有那个文件或目录
In file included from nvnet.c:21:
nvnet.h:44:25: asm/uaccess.h: 没有那个文件或目录
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')
nvnet.c:91: warning: excess elements in struct initializer
nvnet.c:91: warning: (near initialization for `nvnet_pci_table')
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')
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')
nvnet.c:92: warning: excess elements in struct initializer
nvnet.c:92: warning: (near initialization for `nvnet_pci_table')
nvnet.c:92: warning: excess elements in struct initializer
nvnet.c:92: warning: (near initialization for `nvnet_pci_table')
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')
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')
nvnet.c:93: warning: excess elements in struct initializer
nvnet.c:93: warning: (near initialization for `nvnet_pci_table')
nvnet.c:93: warning: excess elements in struct initializer
nvnet.c:93: warning: (near initialization for `nvnet_pci_table')
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')
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')
nvnet.c:94: warning: excess elements in struct initializer
nvnet.c:94: warning: (near initialization for `nvnet_pci_table')
nvnet.c:94: warning: excess elements in struct initializer
nvnet.c:94: warning: (near initialization for `nvnet_pci_table')
nvnet.c:94: warning: excess elements in struct initializer
nvnet.c:94: warning: (near initialization for `nvnet_pci_table')
nvnet.c:94: warning: excess elements in struct initializer
nvnet.c:94: warning: (near initialization for `nvnet_pci_table')
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: *** Error 1
make: Leaving directory `/tmp/nforce/nvnet'
make: *** Error 2

毛毛~ 发表于 2004-6-30 15:59:31

MAKE INSTALL后的错误提示是这样的:
make install
make -Cnvnet install
make: Entering directory `/tmp/nforce/nvnet'
mkdir -p //lib/modules/2.4.20-8/kernel/drivers/net
install -b -m 644 -o root nvnet.o //lib/modules/2.4.20-8/kernel/drivers/net
install: stat‘nvnet.o’失败: 没有那个文件或目录
make: *** Error 1
make: Leaving directory `/tmp/nforce/nvnet'
make: *** Error 2

bigcat00 发表于 2004-6-30 16:40:50

晕菜。。。这么长。。。。
:?:?:?
我建议楼主还是升级内核吧,应该比你安这个驱动简单得多了。。。 :shock::shock:

neptune 发表于 2004-6-30 17:03:45

看错误应该看前面的.

可能是内核的版本不符合
----------------------
为什么不运行./configure 先?

毛毛~ 发表于 2004-6-30 17:11:59

那我应该怎么办啊?
只能换版本了么?

我还不会编译内核

毛毛~ 发表于 2004-7-1 09:23:43

没人能帮到我么?

neptune 发表于 2004-7-1 23:56:29

编译内核的话,make menuconfig时看看右边的help, 会有点帮助, 还可以提高英语水平:)
至于选项具体怎么配置,要根据个人需要, 先要了解系统的硬件配置 , 常用的/必须的选 Y , 以后要用或 未来不用的驱动 就 做成 模块吧 .至于详细的编译和安装步骤,很多文章有介绍

仔细看一下help的说明部分, 如果不明白的话, 很多时候还会有给新手的指示:
if you don't know what to do with it , say Y(say N)
say ... unless you know what you're doing
It's safe to say Y(N)    或 most people say Y here
你自己看着办吧

初次编译先做最保守的设置, 如果没问题的话再作删减, 这样做多了就成为高手了:)

毛毛~ 发表于 2004-7-2 14:41:53

哦。好的。谢谢。我尽力。呵呵!

羽公子 发表于 2004-7-3 01:29:34

楼主,我的是rh9.0,主板nforce2的,安装完全没有问题,我建议你,在安装的时候,把内核开发的那一大栏的东西全安上,这样你以后安软件的时候,一般是没有什么问题的

毛毛~ 发表于 2004-7-3 09:15:42

哦。谢谢
页: [1]
查看完整版本: NV的网卡的尴尬!(希望大家可以真正帮助一些菜鸟)