当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 在Redhat 7.3 下安装 Intel 915G 驱动的时候报错
帖子发表于 : 2005-07-30 21:47 

注册: 2005-07-30 21:45
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
我的操作是:
# tar zxvf dripkg.tar.gz
# cd dripkg
# ./install.sh
结果报错说:
agpgart module did not compile.
本人是rookie,烦请打人指点一下,该如何应对,不胜感激!

下面是 dri.log 文件里的内容:

2.4.18-3custom
=== KERNEL HEADERS IN /lib/modules/2.4.18-3/build/include
=== SMP=0 MODULES=1 MODVERSIONS=1
=== Compiling for machine i686
rm -f linux
ln -s . linux
cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -D
MODVERSIONS -include /lib/modules/2.4.18-3/build/include/linux/modversions.h
-DEXPORT_SYMTAB -I. -I/lib/modules/2.4.18-3/build/include -c agpgart_be.c -o a
gpgart_be.o
In file included from /lib/modules/2.4.18-3/build/include/linux/pagemap.h:16,

from agpgart_be.c:61:
/lib/modules/2.4.18-3/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-3/build/include/linux/highmem.h:20: warning: pointer of ty
pe `void *' used in arithmetic
agpgart_be.c: In function `agp_generic_free_gatt_table':
agpgart_be.c:760: warning: statement with no effect
agpgart_be.c: In function `agp_generic_destroy_page':
agpgart_be.c:930: warning: statement with no effect
agpgart_be.c: In function `i830_destroy_pages':
agpgart_be.c:949: warning: statement with no effect
agpgart_be.c: In function `amd_free_page_map':
agpgart_be.c:3426: warning: statement with no effect
agpgart_be.c: In function `serverworks_free_page_map':
agpgart_be.c:4589: warning: statement with no effect
agpgart_be.c: At top level:
agpgart_be.c:6537: `PCI_DEVICE_ID_SI_651' undeclared here (not in a function)

agpgart_be.c:6537: initializer element is not constant
agpgart_be.c:6537: (near initialization for `agp_bridge_info[34].device_id')

agpgart_be.c:6549: `PCI_DEVICE_ID_SI_651' undeclared here (not in a function)

agpgart_be.c:6549: initializer element is not constant
agpgart_be.c:6549: (near initialization for `agp_bridge_info[36].device_id')

agpgart_be.c:6561: `PCI_DEVICE_ID_SI_646' undeclared here (not in a function)

agpgart_be.c:6561: initializer element is not constant
agpgart_be.c:6561: (near initialization for `agp_bridge_info[38].device_id')

agpgart_be.c:6567: `PCI_DEVICE_ID_SI_648' undeclared here (not in a function)

agpgart_be.c:6567: initializer element is not constant
agpgart_be.c:6567: (near initialization for `agp_bridge_info[39].device_id')

agpgart_be.c:6585: `PCI_DEVICE_ID_SI_746' undeclared here (not in a function)

agpgart_be.c:6585: initializer element is not constant
agpgart_be.c:6585: (near initialization for `agp_bridge_info[42].device_id')

agpgart_be.c:6700: `PCI_DEVICE_ID_VIA_8377_0' undeclared here (not in a functi
on)
agpgart_be.c:6700: initializer element is not constant
agpgart_be.c:6700: (near initialization for `agp_bridge_info[59].device_id')

agpgart_be.c:6706: `PCI_DEVICE_ID_VIA_8377_0' undeclared here (not in a functi
on)
agpgart_be.c:6706: initializer element is not constant
agpgart_be.c:6706: (near initialization for `agp_bridge_info[60].device_id')

make: *** [agpgart_be.o] Error 1
make -f Makefile.linux DRM_MODULES=gdg.o modules
make[1]: Entering directory `/usr/915g/dripkg/drm'
+ ln -s Makefile.linux Makefile
make -C /lib/modules/2.4.18-3/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.4.18-3'
make -C /usr/915g/dripkg/drm CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.18-3/i
nclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-
strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -ma
rch=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.18-3/include/linux
/modversions.h" MAKING_MODULES=1 modules
make[3]: Entering directory `/usr/915g/dripkg/drm'
cc -I/usr/915g/dripkg/drm -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wal
l -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-alia
sing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -D
MODULE -DMODVERSIONS -include /usr/src/linux-2.4.18-3/include/linux/modversion
s.h -DDO_MUNMAP_4_ARGS -DKBUILD_BASENAME=gdg_drv -c -o gdg_drv.o gdg_drv.c
In file included from gdg_drv.c:12:
drmP.h:215: warning: static declaration for `vmalloc_to_page_Rb9d6adc0' follow
s non-static
cc -I/usr/915g/dripkg/drm -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wal
l -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-alia
sing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -D
MODULE -DMODVERSIONS -include /usr/src/linux-2.4.18-3/include/linux/modversion
s.h -DDO_MUNMAP_4_ARGS -DKBUILD_BASENAME=gdg_dma -c -o gdg_dma.o gdg_dma.c
In file included from gdg_dma.c:12:
drmP.h:215: warning: static declaration for `vmalloc_to_page_Rb9d6adc0' follow
s non-static
cc -I/usr/915g/dripkg/drm -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wal
l -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-alia
sing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -D
MODULE -DMODVERSIONS -include /usr/src/linux-2.4.18-3/include/linux/modversion
s.h -DDO_MUNMAP_4_ARGS -DKBUILD_BASENAME=gdg_irq -c -o gdg_irq.o gdg_irq.c
In file included from gdg_irq.c:12:
drmP.h:215: warning: static declaration for `vmalloc_to_page_Rb9d6adc0' follow
s non-static
cc -I/usr/915g/dripkg/drm -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wal
l -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-alia
sing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -D
MODULE -DMODVERSIONS -include /usr/src/linux-2.4.18-3/include/linux/modversion
s.h -DDO_MUNMAP_4_ARGS -DKBUILD_BASENAME=gdg_mem -c -o gdg_mem.o gdg_mem.c
In file included from gdg_mem.c:11:
drmP.h:215: warning: static declaration for `vmalloc_to_page_Rb9d6adc0' follow
s non-static
ld -m elf_i386 -r -o gdg.o gdg_drv.o gdg_dma.o gdg_irq.o gdg_mem.o
make[3]: Leaving directory `/usr/915g/dripkg/drm'
make[2]: Leaving directory `/usr/src/linux-2.4.18-3'
+ rm -f Makefile
make[1]: Leaving directory `/usr/915g/dripkg/drm'


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:xujunhe 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译