大家快来帮我看看?

由 Snoopy 在 02-13-2003 15:59 发表:

大家快来帮我看看?

Intel(R) 536EP V.92 Modem

我装了个modem的驱动是这样的,modem的说明是这样

“6 steps to install

1. login as ROOT

作为root登陆

2. extract the archive into a directory with "tar -zxvf

  1<archivename>.tgz"   
  2  
  3用那个命令解压缩   
  4  
  53\. cd into the directory it created.   
  6  
  7进入目录   
  8  
  9make clean   
 10  
 11make 536ep   
 12  
 13make install   
 14  
 15用这仨命令安装   
 16  
 17但是你必须注意:   
 18  
 198\. Compile issues   
 20  
 21a. this driver will now compile with the this path:   
 22  
 23/lib/modules/<kernel version="">/build/include   
 24  
 25驱动编译要用到这个目录   
 26  
 27the 2.4.4+ kernels says to copy the /boot/vmlinuz.version.h   
 28  
 29over to the kernel build path. I have the makefile do this   
 30  
 31if this file exists. You must install the kernel source   
 32  
 33code anyways. It should be on your distribution's CD.   
 34  
 35必须用你的源Cd安装内核代码包,比如rh就是kernel-source这个包。”   
 36  
 37  
 38  
 39  
 40  
 41  
 42  
 43而我只运行了这三个命令!说明接下来的我就无法完成了,因为我不懂,结果是这样   
 44  
 45  
 46  
 47[root@localhost Intel-536ep-451]# make clean   
 48  
 49cd coredrv; make clean   
 50  
 51make[1]: Entering directory `/mnt/learn/驱动/Intel-536ep-451/coredrv'   
 52  
 53rm -f *.o *~ core   
 54  
 55make[1]: Leaving directory `/mnt/learn/驱动/Intel-536ep-451/coredrv'   
 56  
 57cd serialdrv; make clean   
 58  
 59make[1]: Entering directory `/mnt/learn/驱动/Intel-536ep-451/serialdrv'   
 60  
 61rm -f *.o *~ core   
 62  
 63make[1]: Leaving directory `/mnt/learn/驱动/Intel-536ep-451/serialdrv'   
 64  
 65rm -f *.o   
 66  
 67rm -f *.o   
 68  
 69[root@localhost Intel-536ep-451]# make 536ep   
 70  
 71Module precompile check   
 72  
 73Current running kernel is: 2.4.18-14   
 74  
 75/lib/modules... autoconf.h exists   
 76  
 77diff: /boot/vmlinuz.autoconf.h: No such file or directory   
 78  
 79autoconf.h matches running kernel   
 80  
 81diff: /boot/vmlinuz.version.h: No such file or directory   
 82  
 83version.h matches running kernel   
 84  
 85cd coredrv; make \   
 86  
 87"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \   
 88  
 89536ep;   
 90  
 91make[1]: Entering directory `/mnt/learn/驱动/Intel-536ep-451/coredrv'   
 92  
 93cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c   
 94  
 95cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o clmmain.o clmmain.c   
 96  
 97cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o rts.o rts.c   
 98  
 99cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o task.o task.c   
100  
101cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o uart.o uart.c   
102  
103uart.c: In function `UART_dte_to_char':   
104  
105uart.c:630: warning: operation on `uart_rx_put_index' may be undefined   
106  
107uart.c: In function `UART_dce_to_char':   
108  
109uart.c:672: warning: operation on `uart_tx_put_index' may be undefined   
110  
111uart.c: In function `UART_dce_from_char':   
112  
113uart.c:710: warning: operation on `uart_tx_get_index' may be undefined   
114  
115uart.c: In function `UART_dte_from_char':   
116  
117uart.c:755: warning: operation on `uart_rx_get_index' may be undefined   
118  
119cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o wwh_dflt.o wwh_dflt.c   
120  
121ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o 536epcore.lib -o 536epcore.o   
122  
123make[1]: Leaving directory `/mnt/learn/驱动/Intel-536ep-451/coredrv'   
124  
125cp coredrv/536epcore.o .   
126  
127cd serialdrv; make \   
128  
129"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \   
130  
131536ep;   
132  
133make[1]: Entering directory `/mnt/learn/驱动/Intel-536ep-451/serialdrv'   
134  
135cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o clmdrvr.o clmdrvr.c   
136  
137clmdrvr.c:481:22: warning: multi-line string literals are deprecated   
138  
139ld -r clmdrvr.o -o 536ep.o   
140  
141make[1]: Leaving directory `/mnt/learn/驱动/Intel-536ep-451/serialdrv'   
142  
143cp serialdrv/536ep.o .   
144  
145[root@localhost Intel-536ep-451]# make install   
146  
147bash 536ep-inst   
148  
149running kernel 2.4.18-14   
150  
151installing hamregistry, used for persistant storage   
152  
153installing 536ep module   
154  
155installing 536ep core module   
156  
157redhat ha</kernel></archivename>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus