LINUX.ORG.RU

после замены видеокарты не собирается mesa


0

0

hi!
прежде работали у меня две видеокарточки: встроенная via и matrox pci. приобрел nvidia 7600 с двумя выходами. использую xinerama. после замены видео удалил драйверы старых карт и попытался поставить нвидиевские. встали и заработали, но у меня был замаскирован xorg-server вот и размаскировал. встала проблема в mesa. размаскировал и ее. в общем история сия закончилась на том, что я пересобрал system и мир. мир не пересобрался без ошибок. пришлось пропустить svgalib, mesa, freeglut, glew, mesaprogs, xdriinfo, rss-glx, nvidia-drivers, xorg-server, nvidia-settings. почти все пакеты требуют для установки mesa.
пробовал revdep-rebuild - он сообщает об ошибках, и пытается установить семь пакетов (первым идет mesa), после чего сообщает, что нужно поставить пакеты и вернуться.
при установке mesa выдает следующее:

[code]* QA Notice: USE Flag 'amd64-fbsd' not in IUSE for media-libs/mesa-7.0.1
* QA Notice: USE Flag 'kernel_FreeBSD' not in IUSE for media-libs/mesa-7.0.1
>>> Unpacking source...
>>> Unpacking MesaLib-7.0.1.tar.bz2 to /var/tmp/portage/media-libs/mesa-7.0.1/work
* Removing DO_DEBUG defs in dri drivers...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1 ...
(cd configs && rm -f current && ln -s linux-dri-x86 current)
make default
make[1]: Entering directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1'
make[2]: Entering directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src'
Making sources for linux-dri-x86
mkdir ../lib
make[3]: Entering directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src/glx/x11'
Makefile:91: depend: No such file or directory
touch depend
makedepend -fdepend -I/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/include -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi `pkg-config --cflags libdrm` glcontextmodes.c clientattrib.c compsize.c eval.c glxcmds.c glxext.c glxextensions.c indirect.c indirect_init.c indirect_size.c indirect_window_pos.c indirect_transpose_matrix.c indirect_vertex_array.c indirect_vertex_program.c pixel.c pixelstore.c render2.c renderpix.c single2.c singlepix.c vertarr.c xfont.c glx_pbuffer.c glx_query.c glx_texture_compression.c dri_glx.c XF86dri.c \
../../../src/mesa/main/dispatch.c ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glthread.c ../../../src/mesa/x86/glapi_x86.S
make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src/glx/x11'
make[3]: Entering directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src/glx/x11'
i486-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi `pkg-config --cflags libdrm` -O2 -mtune=i686 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" glcontextmodes.c -o glcontextmodes.o
i486-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi `pkg-config --cflags libdrm` -O2 -mtune=i686 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" clientattrib.c -o clientattrib.o
i486-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi `pkg-config --cflags libdrm` -O2 -mtune=i686 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" compsize.c -o compsize.o
i486-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi `pkg-config --cflags libdrm` -O2 -mtune=i686 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" eval.c -o eval.o
i486-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi `pkg-config --cflags libdrm` -O2 -mtune=i686 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" glxcmds.c -o glxcmds.o
In file included from /usr/local/include/xf86drm.h:661,
from xf86dri.h:43,
from glxcmds.c:52:
/usr/local/include/xf86mm.h:133: error: field 'bo_arg' has incomplete type
make[3]: *** [glxcmds.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1'
make: *** [linux-dri-x86] Error 2
*
* ERROR: media-libs/mesa-7.0.1 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* mesa-7.0.1.ebuild, line 206: Called die
*
* Build failed
* 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/media-libs/mesa-7.0.1/temp/build.log'.
* [/code]

гугл мне не помог :(
прошу помощи у сообщества


моя конфигурация:

[code]Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.23.1_m08 i686)
=================================================================
System uname: 2.6.23.1_m08 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Mon, 15 Oct 2007 08:00:01 +0000
app-shells/bash: 3.2_p17
dev-lang/python: 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://mirror.gentoo.no/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo";
LINGUAS="ru us"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm hal iconv ipv6 isdnlog kde midi mudflap ncurses nls nptl nptlonly openmp pam pcre pdf perl pppd python qt readline reflection session spl ssl tcpd truetype truetype-fonts type1-fonts unicode widescreen x86 xinerama xml xml2 xorg xvmc zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru us" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS [/code]

Donet
() автор топика

Еще могу посоветовать удалить все драйвера для xf86 затем emerge --depclean && revdep-rebuild, и только после этого ставить xorg и незабывать про eselect

trifon
()
Ответ на: комментарий от trifon

eselect opengl list отвечает xorg-x11

nvidia отсутствует. и поставить пока без месы не могу! :(

Donet
() автор топика

А зачем нестабильная версия mesa, какая версия xorg и почему заголовки берутся из /usr/local/include/ ?

>/usr/local/include/xf86drm.h

В make.conf в глобальном USE есть dri, nvidia не использует dri, и mesa тоже

Какая то мешанина непонятная

trifon
()
Ответ на: комментарий от trifon

xorg-x11 version 7.2

глобальный USE я не трогал. в моей системе единственный пакет, что хочет использовать этот флаг это xorg-server-1.3.0.0-r1

по поводу mesa могу лишь сказать что я пытался сначала стабильную. а уже потом размаскировал нестабильную, я об этом написал с самом начале моего вопроса.

>почему заголовки берутся из /usr/local/include/?

я не знаю :( проверил, физически там они лежат.

>Какая то мешанина непонятная

я тоже, к сожалению, не могу разобраться :(

Donet
() автор топика
Ответ на: комментарий от Donet

лог стабильной mesa-6.5.2-r1 отличается

* QA Notice: USE Flag 'amd64-fbsd' not in IUSE for media-libs/mesa-6.5.2-r1
* QA Notice: USE Flag 'kernel_FreeBSD' not in IUSE for media-libs/mesa-6.5.2-r1
>>> Unpacking source...
>>> Unpacking MesaLib-6.5.2.tar.bz2 to /var/tmp/portage/media-libs/mesa-6.5.2-r1/work
* Applying 6.5.2-i965-wine-fix.patch ...
 [ ok ]
* Removing DO_DEBUG defs in dri drivers...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2 ...
(cd configs && rm -f current && ln -s linux-dri-x86 current)
make default
make[1]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2'
make[2]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src'
Making sources for linux-dri-x86
mkdir ../lib
make[3]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src/glx/x11'
Makefile:95: depend: No such file or directory
touch depend
makedepend -fdepend -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` glcontextmodes.c clientattrib.c compsize.c eval.c glxcmds.c glxext.c glxextensions.c indirect.c indirect_init.c indirect_size.c indirect_window_pos.c indirect_transpose_matrix.c indirect_vertex_array.c indirect_vertex_program.c pixel.c pixelstore.c render2.c renderpix.c single2.c singlepix.c vertarr.c xfont.c glx_pbuffer.c glx_query.c glx_texture_compression.c dri_glx.c XF86dri.c \
../../../src/mesa/main/dispatch.c ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glthread.c ../../../src/mesa/x86/glapi_x86.S
makedepend: warning: glcontextmodes.c (reading /usr/include/bits/types.h, line 31): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/include/sys/types.h, line 147): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/include/X11/Xlib.h, line 75): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: glcontextmodes.c (reading ../../../include/GL/glext.h, line 3128): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/include/inttypes.h, line 38): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/include/string.h, line 33): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/include/stdlib.h, line 33): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/include/alloca.h, line 25): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/include/X11/Xlibint.h, line 347): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: clientattrib.c (reading /usr/include/stdio.h, line 34): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h

Donet
() автор топика
Ответ на: комментарий от Donet

makedepend: warning: clientattrib.c (reading /usr/include/_G_config.h, line 14): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: clientattrib.c (reading /usr/include/wchar.h, line 48): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: clientattrib.c (reading /usr/include/gconv.h, line 31): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in ../../../src/mesa/drivers/dri/common/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: clientattrib.c (reading /usr/include/libio.h, line 53): cannot find include file "stdarg.h"
not in ./stdarg.h
not in ../../../include/stdarg.h
not in ../../../include/GL/internal/stdarg.h
not in ../../../src/mesa/main/stdarg.h
not in ../../../src/mesa/glapi/stdarg.h
not in ../../../src/mesa/drivers/dri/common/stdarg.h
not in /usr/include/drm/stdarg.h
not in /usr/include/stdarg.h
makedepend: warning: glxcmds.c (reading /usr/include/limits.h, line 125): cannot find include file "limits.h"
makedepend: warning: glxcmds.c (reading ../../../src/mesa/main/glheader.h, line 72): cannot find include file "float.h"
not in ./float.h
not in ../../../include/float.h
not in ../../../include/GL/internal/float.h
not in ../../../src/mesa/main/float.h
not in ../../../src/mesa/glapi/float.h
not in ../../../src/mesa/drivers/dri/common/float.h
not in /usr/include/drm/float.h
not in /usr/include/float.h
makedepend: warning: glxcmds.c (reading ../../../src/mesa/main/glheader.h, line 73): cannot find include file "stdarg.h"
not in ./stdarg.h
not in ../../../include/stdarg.h
not in ../../../include/GL/internal/stdarg.h
not in ../../../src/mesa/main/stdarg.h
not in ../../../src/mesa/glapi/stdarg.h
not in ../../../src/mesa/drivers/dri/common/stdarg.h
not in /usr/include/drm/stdarg.h
not in /usr/include/stdarg.h
make[3]: Leaving directory
`/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src/glx/x11'
make[3]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src/glx/x11'
i486-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -O2 -mtune=i686 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" glcontextmodes.c -o glcontextmodes.o
i486-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -O2 -mtune=i686 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" clientattrib.c -o clientattrib.o
i486-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -O2 -mtune=i686 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" compsize.c -o compsize.o
i486-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -O2 -mtune=i686 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" eval.c -o eval.o
i486-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -O2 -mtune=i686 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" glxcmds.c -o glxcmds.o
In file included from /usr/local/include/xf86drm.h:661,
from xf86dri.h:43,
from glxcmds.c:52:
/usr/local/include/xf86mm.h:133: error: field 'bo_arg' has incomplete type
make[3]: *** [glxcmds.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2'
make: *** [linux-dri-x86] Error 2
*
* ERROR: media-libs/mesa-6.5.2-r1 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* mesa-6.5.2-r1.ebuild, line 229: Called die
*
* Build failed
* 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/media-libs/mesa-6.5.2-r1/temp/build.log'.
*

Donet
() автор топика
Ответ на: комментарий от Donet

2trifon

спасибо! вы единственный, кто на пяти форумах откликнулся и благодаря вашей подсказке я нашел решение

Donet
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.