pctel-0.9.6 modem 的驱动问题,请高手分析一
# ./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
...........................(省略)
# make
Making all in src
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making all in module
make: 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: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
-=- Fixing wrong symbol names: kmalloc, kfree, printk and __udelay. -=-
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
ld -r -o ../../modules/pctel.o ptmodule.o tmp.o
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
-=- Fixing .modinfo section -=-
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
Making all in ptserial
make: 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: 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: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
ld -r -o ../../modules/ptserial.o ptserial.o
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Nothing to be done for `all-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making all in lib
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make: Nothing to be done for `all'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
Making all in modules
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make: Nothing to be done for `all'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
Making all in include
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make: Nothing to be done for `all'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
Making all in misc
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make: Nothing to be done for `all'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
Making all in m4
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Nothing to be done for `all'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make: Nothing to be done for `all-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6'
# su
# make install
Making install in src
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making install in module
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
Making install in ptserial
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making install in lib
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
Making install in modules
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make: 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: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
Making install in include
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make: 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: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
Making install in misc
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
Making install in m4
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make: 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: Leaving directory `/root/Desktop/Linux/pctel-0.9.6'
make: Leaving directory `/root/Desktop/Linux/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.
# 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. insmod -f
强行加载试试 我强制执行了,可配置kppp时候,查询时说调制解调器忙,怎么回事,我还需要做什么?
页:
[1]