当前位置: 技术问答>linux和unix
modem驱动装的有问题! (我就这点分了) :(
来源: 互联网 发布时间:2015-05-08
本文导语: [root@localhost Linux]# cd Intel-536ep-425 [root@localhost Intel-536ep-425]# ls 536ep-boot 536ep-inst hamregistry license.txt readme.txt vssver.scc 536epcore.o coredrv inc makefile serialdrv [root@localhost Intel-536ep-425]# make cl...
[root@localhost Linux]# cd Intel-536ep-425
[root@localhost Intel-536ep-425]# ls
536ep-boot 536ep-inst hamregistry license.txt readme.txt vssver.scc
536epcore.o coredrv inc makefile serialdrv
[root@localhost Intel-536ep-425]# make clean
cd coredrv; make clean
make[1]: Entering directory `/root/Linux/Intel-536ep-425/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/Linux/Intel-536ep-425/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/root/Linux/Intel-536ep-425/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/Linux/Intel-536ep-425/serialdrv'
rm -f *.o
rm -f *.o
[root@localhost Intel-536ep-425]# make 536ep
if [ -a /boot/vmlinuz.version.h ]; then
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
cd coredrv; make
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX"
536ep;
make[1]: Entering directory `/root/Linux/Intel-536ep-425/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
uart.c: In function `UART_dte_to_char':
uart.c:630: warning: operation on `uart_rx_put_index' may be undefined
uart.c: In function `UART_dce_to_char':
uart.c:672: warning: operation on `uart_tx_put_index' may be undefined
uart.c: In function `UART_dce_from_char':
uart.c:710: warning: operation on `uart_tx_get_index' may be undefined
uart.c: In function `UART_dte_from_char':
uart.c:755: warning: operation on `uart_rx_get_index' may be undefined
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 `/root/Linux/Intel-536ep-425/coredrv'
cp coredrv/536epcore.o .
cd serialdrv; make
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX"
536ep;
make[1]: Entering directory `/root/Linux/Intel-536ep-425/serialdrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o clmdrvr.o clmdrvr.c
In file included from clmdrvr.c:49:
/lib/modules/2.4.20-8/build/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
clmdrvr.c:263: warning: static declaration for `rs_init' follows non-static
clmdrvr.c:393:22: warning: multi-line string literals are deprecated
clmdrvr.c: In function `rs_wait_until_sent':
clmdrvr.c:794: structure has no member named `counter'
make[1]: *** [clmdrvr.o] Error 1
make[1]: Leaving directory `/root/Linux/Intel-536ep-425/serialdrv'
make: *** [536ep] Error 2
[root@localhost Intel-536ep-425]# make install-536ep
bash 536ep-inst
running kernel 2.4.20-8
installing hamregistry, used for persistant storage
installing 536ep serial module
install: cannot stat `536ep.o': No such file or directory
installing 536ep core module
install: cannot stat `536ep-core.o': No such file or directory
redhat hamboot rc2.d and rc3.d scripts
install: cannot stat `536ep': No such file or directory
install: cannot stat `boot': No such file or directory
starting module and utilities
insmod: 536epcore: no module by that name found
done
[root@localhost Intel-536ep-425]#
|
这个驱动可能不适合你的Linux版本
我下了几个Intel的,只有一个能编译通过就把猫装上了
我下了几个Intel的,只有一个能编译通过就把猫装上了
|
试一下这个
ftp://aiedownload.intel.com/df-support/5976/eng/Intel-v92ham-453.tgz
ftp://aiedownload.intel.com/df-support/5976/eng/Intel-v92ham-453.tgz