QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 776|回复: 2

pctel-0.9.6 modem 的驱动问题,请高手分析一

[复制链接]
发表于 2003-3-28 19:35:56 | 显示全部楼层 |阅读模式
[root@localhost pctel-0.9.6]# ./configure --with-hal=sis --with-kernel-includes=/usr/src/linux-2.4.18-14/include/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_I8XX
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
...........................(省略)
[root@localhost pctel-0.9.6]# make
Making all in src
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making all in module
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
rm -f *~ \#* .*~ .\#*
rm -f ptmodule.o
rm -f ptmodule.o
rm -f ../../modules/pctel.o
gcc    -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODU
LE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_I8XX -DAUDIO_ROUTING -DSIS540 -I../../inc
lude -I/usr/src/linux-2.4.18-14/include/ -include /usr/src/linux-2.4.18-14/inclu
de//linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VER
SION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DV
ERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAV
E_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTY
PES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1   -c -o ptmodule.o ptmodule.c
ld -r -o ../../modules/pctel.o ptmodule.o ../../lib/control.a ../../lib/vuart.o
../../lib/sis/dsp.a ../../lib/sis/i810hal.a
ld -r -o tmp.o ../../lib/control.a ../../lib/vuart.o ../../lib/sis/dsp.a ../../l
ib/sis/i810hal.a
make[3]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
-=- Fixing wrong symbol names: kmalloc, kfree, printk and __udelay. -=-
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
ld -r -o ../../modules/pctel.o ptmodule.o tmp.o
make[3]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
-=- Fixing .modinfo section -=-
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
Making all in ptserial
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
rm -f *~ \#* .*~ .\#*
rm -f ptserial.o ptserial.c
rm -f ptserial.o
rm -f ../../modules/ptserial.o
ln -s -f ptserial-2.4.7.c ../../src/ptserial/ptserial.c
make ptserial.o
make[3]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
gcc    -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODU
LE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_I8XX -DAUDIO_ROUTING -DSIS540 -DBUILD_SYS
TEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\""`gcc --version | head -1`\"" -I..
/../include -I/usr/src/linux-2.4.18-14/include/ -include /usr/src/linux-2.4.18-1
4/include//linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACK
AGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pcte
l\" -DVERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=
1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAV
E_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1   -c -o ptserial.o ptserial.c
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
ld -r -o ../../modules/ptserial.o ptserial.o
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making all in lib
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
Making all in modules
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
Making all in include
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
Making all in misc
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
Making all in m4
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6'
[root@localhost pctel-0.9.6]# su
[root@localhost pctel-0.9.6]# make install
Making install in src
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making install in module
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make[3]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
Making install in ptserial
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make[3]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[3]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making install in lib
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
Making install in modules
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/modules'
/bin/sh ../mkinstalldirs /lib/modules/2.4.18-14/misc
mkdir /lib/modules/2.4.18-14/misc
/usr/bin/install -c -o root -g root -m 644 pctel.o /lib/modules/2.4.18-14/misc/p
ctel.o
/usr/bin/install -c -o root -g root -m 644 ptserial.o /lib/modules/2.4.18-14/mis
c/ptserial.o
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
Making install in include
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/include/pctel
mkdir /usr/local/include/pctel
/usr/bin/install -c -m 644 pctel.h /usr/local/include/pctel/pctel.h
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
Making install in misc
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
Making install in m4
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make[1]: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make[2]: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make[2]: Nothing to be done for `install-exec-am'.
mkdir /usr/local/share/doc
mkdir /usr/local/share/doc/pctel
installing FAQ as /usr/local/share/doc/pctel/FAQ
installing README as /usr/local/share/doc/pctel/README
*** Setting device file. ***
make[2]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6'
make[1]: Leaving directory `/root/Desktop/Linux/pctel-0.9.6'
[root@localhost pctel-0.9.6]# insmod pctel
Using /lib/modules/2.4.18-14/misc/pctel.o
/lib/modules/2.4.18-14/misc/pctel.o: The module you are trying to load (/lib/mod
ules/2.4.18-14/misc/pctel.o) is compiled with 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.
[root@localhost pctel-0.9.6]# insmod ptserial
Using /lib/modules/2.4.18-14/misc/ptserial.o
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol dsp_head
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol COM_Vlcr
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol PctelInitCtrlVars
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol Pctel_module_free
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol get_uart_ier
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol get_uart_dll
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol get_uart_dlm
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol GlobalTimer
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol dsp_tail
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol put_uart_ier
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol get_uart_scr
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol HAL_GetTimer
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol put_uart_tx
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol put_uart_dll
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol put_uart_dlm
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol get_uart_lcr
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol get_uart_msr
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol ccount
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol put_uart_scr
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol put_uart_lcr
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol put_uart_msr
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol audio_buffers
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol HAL_DoInterrupt
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol get_uart_iir
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol PctelInitVUartVars
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol get_uart_lsr
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol get_uart_mcr
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol modem_main
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol get_uart_rx
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol put_uart_iir
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol Pctel_module_init
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol HAL_Deinit
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol dsp_buffer
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol audio_on_count
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol dspMain
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol HAL_Init
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol put_uart_mcr
/lib/modules/2.4.18-14/misc/ptserial.o: unresolved symbol put_uart_lsr
/lib/modules/2.4.18-14/misc/ptserial.o:
Hint: You are trying to load a module without a GPL compatible license
      and it has unresolved symbols.  Contact the module supplier for
      assistance, only they can help you.
发表于 2003-3-28 20:10:15 | 显示全部楼层
insmod -f

强行加载试试
回复

使用道具 举报

 楼主| 发表于 2003-3-29 10:19:46 | 显示全部楼层
我强制执行了,可配置kppp时候,查询时说调制解调器忙,怎么回事,我还需要做什么?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 18:37 , Processed in 0.035176 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表