|

楼主 |
发表于 2003-6-9 14:50:42
|
显示全部楼层
还是不行啊
我的安装步骤及提示信息如下:
meke clean 这一步没问题。
mkee 536ep,显示:
Module precompile check
Current running kernel is: 2.4.20-8
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: 没有那个文件或目录
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: 没有那个文件或目录
version.h matches running kernel
cd coredrv; make \
" STN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/tmp/Intel536-460-1-R90/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o clmmain.o clmmain.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o rts.o rts.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o task.o task.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o uart.o uart.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o wwh_dflt.o wwh_dflt.c
ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o 536epcore.lib -o 536epcore.o
make[1]: Leaving directory `/tmp/Intel536-460-1-R90/coredrv'
cp coredrv/536epcore.o .
cd serialdrv; make \
" STN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/tmp/Intel536-460-1-R90/serialdrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o softserial.o softserial.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o softserial_io.o softserial_io.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o softserial_ioctl.o softserial_ioctl.c
ld -r softserial.o softserial_io.o softserial_ioctl.o -o 536ep.o
make[1]: Leaving directory `/tmp/Intel536-460-1-R90/serialdrv'
cp serialdrv/536ep.o .
不知开头两个头文件是什么,反正我的boot目录中没有,
但不影响编译,得到536ep.o和536epcore.o
meke install
bash 536ep-inst
running kernel 2.4.20-8
installing hamregistry, used for persistant storage
installing 536ep module
installing 536ep core module
redhat hamboot rc2.d and rc3.d scripts
starting module and utilities
error loading 536ep
done
这里问题就出来了,很明显是无法加载模块536ep.
接着我用readme里的提示,执行了一下命令:
insmod -f 536epcore.o
Warning: loading 536epcore.o will taint the kernel: non-GPL license - Proprietary
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading 536epcore.o will taint the kernel: forced load
Module 536epcore loaded, with warnings
强行加载536epcore成功,接着:
insmod -f 536ep.o
Warning: loading 536ep.o will taint the kernel: non-GPL license - Proprietary
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading 536ep.o will taint the kernel: forced load
536ep.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
从系统给出的提示可以看出536ep找不到某个设备,无法加载,
可是我不知道少了什么设备,在/dev中既没有modem,也没有
536ep,不知楼上的兄弟有没有遇到这种情况?你也用的是
tp-link的猫吗?
我下载的是intel536ep-460-1-r90 |
|