LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 677|回复: 4

Linux9.0下千兆网卡的安装问题????????

[复制链接]
发表于 2004-7-19 14:55:43 | 显示全部楼层 |阅读模式
我在linux9.0下有一块10/100M的网卡,现在增加了一块千兆网卡,型号是DGE-530T GIGABIT NIC,不知道在9.0下如何装驱动,附送的光盘上有个Linux的驱动,“sk98lin.gz”,按照上面的readme,安装不起来。希望高手能帮我解决这个问题???
发表于 2004-7-19 16:38:05 | 显示全部楼层
为什么装不起来,错误是什么 ?

redhat-config-network建立看看,里面有自带的驱动,看看有没哪个适合你
 楼主| 发表于 2004-7-19 17:49:34 | 显示全部楼层
我在重新编译内核,在用make bzImage时老是出错:

gcc -D__KERNEL__ -I/admin/kernel-2.4.18/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i586 -DKBUILD_BASENAME=selection -DEXPORT_SYMTAB -c
selection.c
gcc -D__KERNEL__ -I/admin/kernel-2.4.18/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i586 -DKBUILD_BASENAME=serial -DEXPORT_SYMTAB -c serial.c
In file included from serial.c:181:
/admin/kernel-2.4.18/include/linux/serialP.h:27: parse error
serial.c:201: parse error
serial.c:204: parse error
serial.c:225: parse error
serial.c:677: parse error
serial.c:1432: parse error
serial.c:1581: parse error
serial.c:2157: parse error
serial.c:2204: parse error
serial.c:2381: parse error
serial.c:2538: parse error
serial.c:2553: parse error
serial.c:3167: parse error
serial.c:3831: parse error
serial.c:3836: linux/symtab_begin.h: No such file or directory
serial.c:3839: linux/symtab_end.h: No such file or directory
serial.c:5386: parse error
serial.c:5389: parse error
serial.c:5424: parse error
serial.c:5427: parse error
serial.c:5438: parse error
serial.c:5445: parse error
serial.c: In function `receive_chars':
serial.c:680: warning: implicit declaration of function
`queue_task_irq_off'
serial.c: In function `rs_write':
serial.c:1876: warning: implicit declaration of function
`copy_from_user'
serial.c: In function `get_serial_info':
serial.c:2074: warning: implicit declaration of function `copy_to_user'
serial.c: At top level:
serial.c:3835: variable `serial_syms' has initializer but incomplete
type
serial.c:3837: warning: implicit declaration of function `X'
serial.c:3837: warning: excess elements in struct initializer
serial.c:3837: warning: (near initialization for `serial_syms')
serial.c:3838: warning: excess elements in struct initializer
serial.c:3838: warning: (near initialization for `serial_syms')
serial.c:2398: warning: `rs_break' defined but not used
serial.c:3835: warning: `serial_syms' defined but not used
make[3]: *** [serial.o] Error 1
make[3]: Leaving directory `/admin/kernel-2.4.18/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/admin/kernel-2.4.18/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/admin/kernel-2.4.18/drivers'
make: *** [_dir_drivers] Error 2
发表于 2004-7-19 18:46:16 | 显示全部楼层
自带的驱动你的系统里没有是吗 ?

你这编译内核的错误不清楚,看下其他兄弟能不能帮到你
 楼主| 发表于 2004-7-19 18:59:31 | 显示全部楼层
上面是编译内核的出错信息,现在是通过光盘上驱动make的错误信息

gcc -D__KERNEL__ -DMODULE -D__SMP__ -O2 -Wall -Wstrict-prototypes -I/usr/src/linux-2.4/include -I. -DSK_USE_CSUM    -c -o skge.o skge.c
In file included from /usr/src/linux-2.4/include/net/sock.h:60,
                 from /usr/src/linux-2.4/include/net/ip.h:39,
                 from /usr/src/linux-2.4/include/net/checksum.h:31,
                 from h/skdrv1st.h:140,
                 from skge.c:369:
/usr/src/linux-2.4/include/linux/if_wanpipe.h:105:41: missing binary operator before '('
skge.c:2978: warning: `SetQueueSizes' defined but not used
make: *** [skge.o] Error 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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