|
我是用ml1.2pre4,驱动是用 PCTEL-0.9.6
#lspci -v
00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02) (prog-if 00 [Generic])
Subsystem: PCTel Inc Dell Inspiron 2100 internal modem
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at 8800 [size=256]
I/O ports at 8c00 [size=128]
编译出错,信息如下:
[root@MagicLinux pctel-0.9.6]# make
Making all in src
make[1]: Entering directory `/root/software/pctel-0.9.6/src'
Making all in module
make[2]: Entering directory `/root/software/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-p
rototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-stre
ngth-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_I8XX -DAUDIO_R
OUTING -DINTEL -I../../include -I/usr/src/linux/include -include /usr/s
rc/linux/include/linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARN
AME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPO
RT=\"\" -DPACKAGE=\"pctel\" -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 -DHAVE_INTTYPES_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/asus/dsp.a ../../lib/asus/i810hal.a
ld -r -o tmp.o ../../lib/control.a ../../lib/vuart.o ../../lib/asus/dsp
.a ../../lib/asus/i810hal.a
make[3]: Entering directory `/root/software/pctel-0.9.6/src/module'
-=- Fixing wrong symbol names: kmalloc, kfree, printk and __udelay. -=-
make[3]: Leaving directory `/root/software/pctel-0.9.6/src/module'
ld -r -o ../../modules/pctel.o ptmodule.o tmp.o
make[3]: Entering directory `/root/software/pctel-0.9.6/src/module'
-=- Fixing .modinfo section -=-
make[3]: Leaving directory `/root/software/pctel-0.9.6/src/module'
make[2]: Leaving directory `/root/software/pctel-0.9.6/src/module'
Making all in ptserial
make[2]: Entering directory `/root/software/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/software/pctel-0.9.6/src/ptserial'
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-p rototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-stre ngth-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_I8XX -DAUDIO_R OUTING -DINTEL -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\ ""`gcc --version | head -1`\"" -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE_NAME=\"\ " -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" - DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DVERSION=\"0.9.5\" -DSTDC_ HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -D HAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H= 1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -c -o ptserial.o ptserial.c
ptserial.c: In function `rs_close':
ptserial.c:2813: error: invalid operands to binary ==
make[3]: *** [ptserial.o] Error 1
make[3]: Leaving directory `/root/software/pctel-0.9.6/src/ptserial'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/software/pctel-0.9.6/src/ptserial'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/software/pctel-0.9.6/src'
make: *** [all-recursive] Error 1
求救!!!!!! |
|