我的modem不能用了
我的笔记本的via686a的modem,原来使用2.4.18内核的时候能正常配置,现在使用MagicLinux1.2pre4(kernel 2.4.22-1)后,编译都出错,
提示如下:
as vuart.s -o vuart.o
gcc -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DAU
DIO_ROUTING -DVIA -DVERSION=\"0.9.7-9\" -DGCC_VERSION=\"3.3\" -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DBUILD_SYSTEM=\""`uname -s -m -r -p`\""
-D__KERNEL__ -I/usr/src/linux/include -DHAL_VIA686A -include /usr/src/linux/include/linux/modversions.h -o ptserial.o -c ptserial-2.4.7.c
ptserial-2.4.7.c: In function `rs_close':
ptserial-2.4.7.c:2815: error: invalid operands to binary ==
make: *** Error 1
有谁遇到过????
如果修改出错的那一段代码(主要是注稀了它)后,能正常编译,
问题是加载模块的时候出错,提示如下:
# insmod -f pctel
Using /lib/modules/2.4.22-1/misc/pctel.o
Warning: The module you are trying to load (/lib/modules/2.4.22-1/misc/pctel.o) is compiled w
ith a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
Warning: loading /lib/modules/2.4.22-1/misc/pctel.o will taint the kernel: no license
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading /lib/modules/2.4.22-1/misc/pctel.o will taint the kernel: forced load
Module pctel loaded, with warnings
请问有什么办法????
页:
[1]