LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 852|回复: 3

845G主板集成显卡,在Redhat AS21没有办法安装驱动?

[复制链接]
发表于 2003-5-24 21:52:21 | 显示全部楼层 |阅读模式
cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS -DMODVERSIONS -include /lib/modules/2.4.9-e.3/build/include/linux/modversions.h -DEXPORT_SYMTAB -I/lib/modules/2.4.9-e.3/build/include -c i830_drv.c -o i830_drv.o
In file included from /lib/modules/2.4.9-e.3/build/include/linux/pagemap.h:16,
                 from /lib/modules/2.4.9-e.3/build/include/linux/locks.h:8,
                 from /lib/modules/2.4.9-e.3/build/include/linux/devfs_fs_kernel.h:6,
                 from /lib/modules/2.4.9-e.3/build/include/linux/miscdevice.h:4,
                 from drmP.h:45,
                 from i830_drv.c:37:
/lib/modules/2.4.9-e.3/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.9-e.3/build/include/linux/highmem.h:19: warning: pointer of type `void *' used in arithmetic
In file included from i830_drv.c:57:
drm_vm.h: In function `i830_mmap':
drm_vm.h:462: warning: passing arg 1 of `remap_page_range_R1664b601' makes pointer from integer without a cast
drm_vm.h:462: incompatible type for argument 4 of `remap_page_range_R1664b601'
drm_vm.h:462: too few arguments to function `remap_page_range_R1664b601'
make: *** [i830_drv.o] Error 1
modprobe: Can't locate module i830
 楼主| 发表于 2003-5-24 23:37:36 | 显示全部楼层

我看了一下安装脚本,具体的出错信息就是那两句ERROR,这是其中的片断,我不知道为什么我

if [ "$INSTALL_AGPGART" == "1" ]; then
        echo -n "Compiling new agpgart module..."
        cd agpgart
        make linux agpgart.o >& ../$LOGFILE_TMP
        if [ $? != 0 ]; then
                cat ../$LOGFILE_TMP >> ../$LOGFILE
                echo ""
                echo ""
                echo "ERROR: AGPGART module did not compile"
        fi
        cd ..

fi
echo ""
echo -n "Compiling DRM module..."
cd drm
make -f Makefile.linux $DRV_MODULE.o >& ../$LOGFILE_TMP
if [ $? != 0 ]; then
        cat ../$LOGFILE_TMP >> ../$LOGFILE
        echo ""
        echo ""
        echo "ERROR: Kernel modules did not compile"
发表于 2003-5-25 14:19:25 | 显示全部楼层
我认为这个驱动不是为服务器版的内核做的,所以不能安装成功。
 楼主| 发表于 2003-5-25 19:07:22 | 显示全部楼层

谁能帮我啊???

主要的问题是这下面两个模块编译语句执行的时候出错了,各位老大救我啊
谁用的也是845G的主版,你能不能解压驱动程序后进去其下的两个目录,编译下面两个模块发给我??我的MAIL是flashc@21cn.com
cd agpgart
make linux agpgart.o >& ../$LOGFILE_TMP

cd drm
make -f Makefile.linux $DRV_MODULE.o >& ../$LOGFILE_TMP
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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