如何安装intel chipset md5628内置modem???

如何安装intel chipset md5628内置modem???

我用的是red hat 7.0,kernel 2.2.16-22,已有modem驱动程序r-3335,
但不能通过编译,望高手赐教

附上错误码:
[root@localhost /release]# make all
cd src/hamcore; make hamcore-release
make[1]: Entering directory `/release/src/hamcore'
cc -Wall -O -I /usr/include -I../inc   -c -o coredrv.o coredrv.c
In file included from hamdefs.h:58,
                 from hamcore.h:38,
                 from coredrv.c:33:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but headers from an appropriate kernel-source
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory `/release/src/hamcore'
make: *** [all] Error 2
                           

                            Thanks!!


      
打开haminst文件你会发现有一个判断系统版本的语句,保留其中redhat的部分,其余删除,然后执行安装。      
我已按你讲的方法试过了,但错误码仍和楼上一样,望再赐教

修改后的 haminst file 判断版本语句已只留下面语句,其余不变:

if [ -a /etc/redhat-release ]; then
{
   echo redhat hamboot rc2.d and rc3.d scripts
   install -o root -g root -m 755 hamboot /etc/rc.d/init.d
   ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc2.d/S99hamboot
   ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc3.d/S99hamboot
   ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc5.d/S99hamboot
}
else
{
   echo unknown distribution. no boot scripts installed
   exit 1
}
fi
      
只留下这一部分,其余删除
echo redhat hamboot rc2.d and rc3.d scripts
install -o root -g root -m 755 hamboot /etc/rc.d/init.d
ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc2.d/S99hamboot
ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc3.d/S99hamboot
ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc5.d/S99hamboot       
jalaihh大侠,我已将haminst所有部分删除了只留下面语句
echo redhat hamboot rc2.d and rc3.d scripts
install -o root -g root -m 755 hamboot /etc/rc.d/init.d
ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc2.d/S99hamboot
ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc3.d/S99hamboot
ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc5.d/S99hamboot

但还是同样错误码,why?
再多问一点,2.2.16-22已支持irq share了吗?我的modem和usb controller 用同一中断10
      
我用的是xteamlinux3.2,内核也是2.2.16,这样安装可以成功。