Dell inspiron X200 内猫不能编译成功
我是用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 )
Subsystem: PCTel Inc Dell Inspiron 2100 internal modem
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at 8800
I/O ports at 8c00
编译出错,信息如下:
# make
Making all in src
make: Entering directory `/root/software/pctel-0.9.6/src'
Making all in module
make: 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: Entering directory `/root/software/pctel-0.9.6/src/module'
-=- Fixing wrong symbol names: kmalloc, kfree, printk and __udelay. -=-
make: Leaving directory `/root/software/pctel-0.9.6/src/module'
ld -r -o ../../modules/pctel.o ptmodule.o tmp.o
make: Entering directory `/root/software/pctel-0.9.6/src/module'
-=- Fixing .modinfo section -=-
make: Leaving directory `/root/software/pctel-0.9.6/src/module'
make: Leaving directory `/root/software/pctel-0.9.6/src/module'
Making all in ptserial
make: 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: 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: *** Error 1
make: Leaving directory `/root/software/pctel-0.9.6/src/ptserial'
make: *** Error 2
make: Leaving directory `/root/software/pctel-0.9.6/src/ptserial'
make: *** Error 1
make: Leaving directory `/root/software/pctel-0.9.6/src'
make: *** Error 1
求救!!!!!! ptserial.c: In function `rs_close':
ptserial.c:2813: error: invalid operands to binary
这种错误我还没见过,不知道怎么解决 是不是这个驱动无法应用在2.4.22的内核上? 那这下我惨了,我装过GENTOO,DEBIAN, REDHAT, MANDRAKE, KONPPIX, MAGICLINUX, 最后认定MAGICLINUX最好用,但是CROSSOVER, WIN4LIN 和winmodem不能用,唉,直糟。 :cry:
请问各位大侠,CROSSOVER和win4lin如何装,我只要二者取其一,最好是CROSSOVER 报错信息……
另外,这些东西都会用到kernel header,而ML 1.2 pre4的kernel header可能存在一些问题,相信正式版会解决,现在,还是等吧。 今天突然发现红旗linux desktop 4 下可以自动检测出我的内猫。红旗下面系统的设置我认为是最方便的。但是我的SONY P8在红旗下又不能认了,但是在MAGICLINUX 1.2PRE4下是可以自动设到/mnt/sda1的。真是郁闷。说实话,我还是喜欢MAGICLINUX,对我来说,它实在太好了,希望MAGICLINUX1。2发行时对硬件支持更好,希望能支持CROSSOVER 或WIN4LIN,专门优化一下。
页:
[1]