LinuxSir.cn,穿越时空的Linuxsir!

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

关于,x11-drivesrs/ati-drivers安装问题,总是错误,请教大虾

[复制链接]
发表于 2009-3-9 22:58:16 | 显示全部楼层 |阅读模式
* Determining the location of the kernel source code
* Found kernel source directory:
*     /usr/src/linux
* Found kernel object directory:
*     /lib/modules/2.6.27-gentoo-r8/build
* Found sources for kernel version:
*     2.6.27-gentoo-r8
* You have DRM support enabled builtin, the direct rendering will not work.
>>> Unpacking source...
Warning: target directory exists /var/tmp/portage/x11-drivers/ati-drivers-8.501/work
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.501..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
* Applying ati-powermode-opt-path-2.patch ...
  [ ok ]
* Converting 2.6.x/Makefile to use M= instead of SUBDIRS= ...
  [ ok ]
>>> Unpacking ./../common/usr/src/ati/fglrx_sample_source.tgz to /var/tmp/portage/x11-drivers/ati-drivers-8.501/work/extra
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-8.501/work ...
* Preparing fglrx module
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.27-gentoo-r8'
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_ProcessIsTerminated':
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1368: error: implicit declaration of function 'find_task_by_pid'
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1368: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_get_ke_pte':
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2610: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2610: error: (Each undeclared identifier is reported only once
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2610: error: for each function it appears in.)
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_get_vm_phys_addr':
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2638: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_get_vm_page_table':
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2660: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_TestAndClearPageDirtyFlag':
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2788: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_flush_cache':
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2974: error: too many arguments to function 'smp_call_function'
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3833: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3833: warning: initialization from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3851: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3851: warning: initialization from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3858: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3858: warning: initialization from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3865: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3865: warning: initialization from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3872: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3872: warning: initialization from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3879: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3879: warning: initialization from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3886: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3886: warning: initialization from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3895: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3895: warning: initialization from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_CallFuncOnOtherCpus':
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4615: error: too many arguments to function 'smp_call_function'
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_enable_pat':
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4822: error: too many arguments to function 'smp_call_function'
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_disable_pat':
/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4840: error: too many arguments to function 'smp_call_function'
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.501/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r8'
make: *** [kmod_build] Error 2
*
* ERROR: x11-drivers/ati-drivers-8.501 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3246:  Called linux-mod_src_compile
*             environment, line 2443:  Called die
* The specific snippet of code:
*               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                                 CROSS_COMPILE=${CHOST}-                                                 LDFLAGS=\"$(get_abi_LDFLAGS)\"                                                 ${BUILD_FIXES}                                                 ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
*  The die message:
*   Unable to emake HOSTCC=i486-pc-linux-gnu-gcc CROSS_COMPILE=i486-pc-linux-gnu- LDFLAGS=  GCC_VER_MAJ=4 KVER=2.6.27-gentoo-r8 KDIR=/usr/src/linux kmod_build
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.501/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.501/temp/environment'.
*
发表于 2009-3-9 23:15:07 | 显示全部楼层
Unable to emake HOSTCC=i486-pc-linux-gnu-gcc CROSS_COMPILE=i486-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.27-gentoo-r8 KDIR=/usr/src/linux kmod_build


贴下你的 make.conf和 emerge --info信息
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-9 23:20:20 | 显示全部楼层
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
#CFLAGS="-O2 -mtune=i686 -pipe"
#CXXFLAGS="-O2 -mtune=i686 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i486-pc-linux-gnu"

CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
MAKEOPTS="-j3"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.

ACCEPT_KEYWORDS="x86"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.

INPUT_DEVICES="mouse keyboard"


#GENTOO_MIRROR="http://gentoo.tom.com"
#SYNC="rsync://gentoo.tom.com/gentoo-portage"

GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/"

USE="X 3dnow dri npt1 Xaw3d aac aalib acpi alsa apm avi audiofile bmp bzip2 calendar cdparanoia cdr cjk cairo dbase eds emacs-w3 encode esd expat ffmpeg firebird flac flash freetds frontbase -ftp gcj gdbm ggi gif gnome gpm gps gstreamer gtk gtk2 hal iconv icq -qt3 -qt4 -kde -ieee1394 -samba -java -cups imagemagick imlib iodbc javascript jpeg joystick
ladcca lapack libedi libg++ mad mikmod minimal mmx motif mp3 mozilla msn -msql mssql mysql mysqli ncurses netboot nls nocd odbc ogg oggvorbis openal opengl oscar oss pam pcre perl python qt quicktime radius readline samba sapdb source -spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l vhosts videos voodoo3 vorbis win32codecs wmf wxwindows xface xine xinerama xml2  xml1 xmms xvid zlib"

#GENTOO_MIRRORS="http://ftp.twaren.net/Linux/Gentoo/ ftp://gentoo.anheng.com.cn/gentoo"
#SYNC="rsync://mirror.averse.net/gentoo-portage"

VIDEO_CARDS="ati radeon fglrx "
LINGUAS="zh en en_GB en_US zh_CN"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-9 23:21:18 | 显示全部楼层
我机子是。amd athlon 5000+
ati raden hd3200 集显的
回复 支持 反对

使用道具 举报

发表于 2009-3-9 23:40:58 | 显示全部楼层
Post by fjzuyeqing;1958495
我机子是。amd athlon 5000+
ati raden hd3200 集显的


你编译内核的时候把兼容32位的选项选上没?
回复 支持 反对

使用道具 举报

发表于 2009-3-10 00:27:32 | 显示全部楼层
Post by fjzuyeqing;1958495
我机子是。amd athlon 5000+
ati raden hd3200 集显的


我的显卡和你的一样,正在想,硬件 3D 加速能开吗?疑问中
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-11 23:00:57 | 显示全部楼层
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
#CFLAGS="-O2 -mtune=i686 -pipe"
#CXXFLAGS="-O2 -mtune=i686 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i486-pc-linux-gnu"

CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
MAKEOPTS="-j3"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.

ACCEPT_KEYWORDS="x86"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.

INPUT_DEVICES="mouse keyboard"


#GENTOO_MIRROR="http://gentoo.tom.com"
#SYNC="rsync://gentoo.tom.com/gentoo-portage"

GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/"

USE="X 3dnow dri npt1 Xaw3d aac aalib acpi alsa apm avi audiofile bmp bzip2 calendar cdparanoia cdr cjk cairo dbase eds emacs-w3 encode esd expat ffmpeg firebird flac flash freetds frontbase -ftp gcj gdbm ggi gif gnome gpm gps gstreamer gtk gtk2 hal iconv icq -qt3 -qt4 -kde -ieee1394 -samba -java -cups imagemagick imlib iodbc javascript jpeg joystick
ladcca lapack libedi libg++ mad mikmod minimal mmx motif mp3 mozilla msn -msql mssql mysql mysqli ncurses netboot nls nocd odbc ogg oggvorbis openal opengl oscar oss pam pcre perl python qt quicktime radius readline samba sapdb source -spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l vhosts videos voodoo3 vorbis win32codecs wmf wxwindows xface xine xinerama xml2  xml1 xmms xvid zlib"

#GENTOO_MIRRORS="http://ftp.twaren.net/Linux/Gentoo/ ftp://gentoo.anheng.com.cn/gentoo"
#SYNC="rsync://mirror.averse.net/gentoo-portage"

VIDEO_CARDS="ati radeon fglrx "
LINGUAS="zh en en_GB en_US zh_CN"
回复 支持 反对

使用道具 举报

发表于 2009-3-12 00:56:23 | 显示全部楼层
ati-drivers 用~x86最新驱动比较好。那个稳定的早就过时了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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