有谁遇到过????
如果修改出错的那一段代码(主要是注稀了它)后,能正常编译,
问题是加载模块的时候出错,提示如下:
[root@hspc pctel-0.9.7-9]# 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