pc xak # emerge ati-drivers * Overlay eclass overrides eclass from PORTDIR: * * '/usr/local/portage/layman/games/eclass/games.eclass' * * It is best to avoid overriding eclasses from PORTDIR because it will * trigger invalidation of cached ebuild metadata that is distributed with * the portage tree. If you must override eclasses from PORTDIR then you * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to * run `emerge --regen` after each time that you run `emerge --sync`. Set * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to * disable this warning. Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) x11-drivers/ati-drivers-8.582 * ati-driver-installer-9.2-x86.x86_64.run RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.28-gentoo-r4/build * Found sources for kernel version: * 2.6.28-gentoo-r4 >>> Unpacking source... * Applying ati-drivers-xen-8.552.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/portag e/x11-drivers/ati-drivers-8.582/work/extra >>> Source unpacked in /var/tmp/portage/x11-drivers/ati-drivers-8.582/work >>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-8.582/work ... * Preparing fglrx module make -j3 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.28-gentoo-r4 KDIR=/usr/src/linux kmod_build make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/com mon/lib/modules/fglrx/build_mod/2.6.x modules make[1]: Entering directory `/usr/src/linux-2.6.28-gentoo-r4' CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/firegl_public.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/kcl_agp.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/kcl_acpi.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/kcl_debug.o /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/bui ld_mod/2.6.x/kcl_debug.c: В функции ‘KCL_DEBUG_Print’: /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/bui ld_mod/2.6.x/kcl_debug.c:89: предупреждение: формат не является строковой конста нтой, и не заданы аргументы форматирования /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/bui ld_mod/2.6.x/kcl_debug.c: В функции ‘__ke_printk’: /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/bui ld_mod/2.6.x/kcl_debug.c:146: предупреждение: формат не является строковой конст антой, и не заданы аргументы форматирования CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/kcl_ioctl.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/kcl_io.o /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/bui ld_mod/2.6.x/firegl_public.c: В функции ‘KCL_MEM_VM_GetRegionPhysAddrStr’: /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/bui ld_mod/2.6.x/firegl_public.c:3229: предупреждение: при возврате результата функц ии целое преобразуется в указатель без приведения типа /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/bui ld_mod/2.6.x/firegl_public.c:3230: предупреждение: при возврате результата функц ии целое преобразуется в указатель без приведения типа /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/bui ld_mod/2.6.x/firegl_public.c:3231: предупреждение: при возврате результата функц ии целое преобразуется в указатель без приведения типа /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/bui ld_mod/2.6.x/firegl_public.c:3233: предупреждение: при возврате результата функц ии целое преобразуется в указатель без приведения типа CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/kcl_pci.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/kcl_str.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/kcl_wait.o LD [M] /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/fglrx.o Building modules, stage 2. MODPOST 1 modules CC /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/fglrx.mod.o LD [M] /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules /fglrx/build_mod/2.6.x/fglrx.ko make[1]: Leaving directory `/usr/src/linux-2.6.28-gentoo-r4' * Building fgl_glxgears In file included from fgl_glxgears.c:70: /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/usr/include/GL/glATI. h:3597:1: warning: "GL_ATI_texture_env_combine3" redefined In file included from /usr/include/GL/gl.h:2150, from /usr/include/GL/glu.h:38, from fgl_glxgears.c:59: /usr/include/GL/glext.h:6606:1: warning: this is the location of the previous de finition /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld: canno t find -lGL collect2: выполнение ld завершилось с кодом возврата 1 * * ERROR: x11-drivers/ati-drivers-8.582 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 3317: Called die * The specific snippet of code: * "$(tc-getCC)" -o fgl_glxgears ${CFLAGS} ${LDFLAGS} -DUSE_GLU -I"${S}"/c ommon/usr/include fgl_glxgears.c -lGL -lGLU -lX11 -lm || die "fgl_glxgears build failed"; * The die message: * fgl_glxgears build failed * * If you need support, post the topmost build error, and the call stack if rele vant. * A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers- 8.582/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-d rivers-8.582/temp/environment'. * >>> Failed to emerge x11-drivers/ati-drivers-8.582, Log file: >>> '/var/tmp/portage/x11-drivers/ati-drivers-8.582/temp/build.log' * Messages for package x11-drivers/ati-drivers-8.582: * * ERROR: x11-drivers/ati-drivers-8.582 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 3317: Called die * The specific snippet of code: * "$(tc-getCC)" -o fgl_glxgears ${CFLAGS} ${LDFLAGS} -DUSE_GLU -I"${S}"/c ommon/usr/include fgl_glxgears.c -lGL -lGLU -lX11 -lm || die "fgl_glxgears build failed"; * The die message: * fgl_glxgears build failed * * If you need support, post the topmost build error, and the call stack if rele vant. * A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers- 8.582/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-d rivers-8.582/temp/environment'. Reproducible: Always pc xak # emerge --info * Overlay eclass overrides eclass from PORTDIR: * * '/usr/local/portage/layman/games/eclass/games.eclass' * * It is best to avoid overriding eclasses from PORTDIR because it will * trigger invalidation of cached ebuild metadata that is distributed with * the portage tree. If you must override eclasses from PORTDIR then you * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to * run `emerge --regen` after each time that you run `emerge --sync`. Set * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to * disable this warning. Portage 2.2_rc28 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r4-i686-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.0 Timestamp of tree: Tue, 07 Apr 2009 10:45:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p10-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.4.4-r15, 2.5.4-r2 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.7 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.gentoo.bg/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ " LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="en ru" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/games /usr/local/portage/layman/pda /usr/local/portage/layman/sunrise" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl alsa aspell berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd fortran gdbm gpm hal iconv isdnlog java jpeg jpeg2k jre kde lm_sensors midi mmx mp3 mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl php png pppd python qt qt3 qt4 readline reflection samba session spell spl sse sse2 ssl symlink sysfs tcpd unicode x86 xine xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ============================================================================= pc xak # gcc -v Используются внутренние спецификации. Целевая архитектура: i686-pc-linux-gnu Параметры конфигурации: /var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/gcc-4.3.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.3 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-arch=i686 --enable-languages=c,c++,java,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.3-r2 p1.1, pie-10.1.5' Модель многопоточности: posix gcc версия 4.3.3 (Gentoo 4.3.3-r2 p1.1, pie-10.1.5) ==============================================================================
Created attachment 187589 [details] Xorg Config For other things.
Created attachment 187593 [details] Log of emerge ati-drivers
Please attach a build.log which is entirely in english language.
In this case, the most important part of the error is in English anyway: /usr/lib/gcc/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL Probably something is wrong with 'eselect opengl' (as usual).
(In reply to comment #4) > In this case, the most important part of the error > is in English anyway: > /usr/lib/gcc/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld: > cannot find -lGL > > Probably something is wrong with 'eselect opengl' (as usual). > pc xak # eselect opengl list Available OpenGL implementations: [1] ati [2] xorg-x11 *
Solved. Steps to solve: -emerge --unmerge ati-drivers (if merged) -eselect opengl set xorg-x11 -ln -s /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 /usr/lib/libGL.so -emerge mesa mesa-progs -emerge ati-drivers Now driver may work normally.