View previous topic :: View next topic |
Author |
Message |
zsz n00b
Joined: 25 Feb 2006 Posts: 10
|
Posted: Sat Mar 25, 2006 3:53 pm Post subject: mesa-6.50_p20060324-r2 fails to compile |
|
|
I've been trying to get Mesa to compile, nothing seems to work.
What I have tried so far:
-symlinked glx.h and glext.h to proprietary nVidia ones
-recompiled gcc,glibc,libX11, libdrm-2.1 (some of them probably unnecessarily)
-tried different ebuilds (6.4.3 alpha and 6.5.0)
-different VIDEO_CARDS have no effect whatsoever
Can anyone suggest a fix ot this?
Code: | eowyn x11 # emerge mesa
Calculating dependencies... done!
>>> Emerging (1 of 1) media-libs/mesa-6.5.0_p20060324-r2 to /
>>> checksums files ;-) Manifest.htm
>>> checksums files ;-) mesa-6.4.3_alpha20060216.ebuild
>>> checksums files ;-) mesa-6.4.2-r3.ebuild
>>> checksums files ;-) mesa-6.5.0_alpha20060307.ebuild
>>> checksums files ;-) mesa-6.5.0_alpha20060308.ebuild
>>> checksums files ;-) mesa-6.5.0_alpha20060320.ebuild
>>> checksums files ;-) mesa-6.5.0_alpha20060321.ebuild
>>> checksums files ;-) mesa-6.5.0_alpha20060322.ebuild
>>> checksums files ;-) mesa-6.5.0_alpha20060322-r1.ebuild
>>> checksums files ;-) mesa-6.5.0_p20060324.ebuild
>>> checksums files ;-) mesa-6.5.0_p20060324-r1.ebuild
>>> checksums files ;-) mesa-6.5.0_p20060324-r2.ebuild
>>> checksums files ;-) files/64bit-fix-have-dix-config.patch
>>> checksums files ;-) files/change-default-dri-driver-dir.patch
>>> checksums files ;-) files/6.4-multilib-fix.patch
>>> checksums files ;-) files/r200-copy-pixels-1.patch
>>> checksums files ;-) files/6.4-dont-install-gles-headers.patch
>>> checksums files ;-) files/digest-mesa-6.4.3_alpha20060216
>>> checksums files ;-) files/64bit-fix-indirect-vertex-array.patch
>>> checksums files ;-) files/mesa-glproto-indirect-fbo.patch
>>> checksums files ;-) files/mesa-glproto-indirect-fbo-header.patch
>>> checksums files ;-) files/mesa-dri-copy-sub-buffer-2.patch
>>> checksums files ;-) files/mesa-6.4.2-dri-copy-sub-buffer-1.patch
>>> checksums files ;-) files/makedepend-location.patch
>>> checksums files ;-) files/radeon-texture-problem.patch
>>> checksums files ;-) files/i915-drm.patch
>>> checksums files ;-) files/i915_drm.h
>>> checksums files ;-) files/digest-mesa-6.4.2-r3
>>> checksums files ;-) files/digest-mesa-6.5.0_p20060324-r2
>>> checksums files ;-) files/mesa-radeon-0depthbits.patch
>>> checksums files ;-) files/lib/libGLU.la
>>> checksums files ;-) files/lib/libGL.la
>>> Unpacking source...
* Fetching CVS module Mesa into /usr/portage/distfiles/cvs-src ...
* Running cvs -q -f -z4 -d ":pserver:anonymous:@anoncvs.freedesktop.org:/cvs/mesa" login
Logging in to :pserver:anonymous@anoncvs.freedesktop.org:2401/cvs/mesa
* Running cvs -q -f -z4 -d ":pserver:anonymous@anoncvs.freedesktop.org:/cvs/mesa" update -D 20060324 -dP Mesa
* Copying Mesa from /usr/portage/distfiles/cvs-src ...
* CVS module Mesa is now in /var/tmp/portage/mesa-6.5.0_p20060324-r2/work
* Applying r200-copy-pixels-1.patch ... [ ok ]
* Applying 6.4-dont-install-gles-headers.patch ... [ ok ]
* Applying change-default-dri-driver-dir.patch ... [ ok ]
* Applying 6.4-multilib-fix.patch ... [ ok ]
* Applying mesa-dri-copy-sub-buffer-2.patch ... [ ok ]
* Applying mesa-radeon-0depthbits.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/mesa-6.5.0_p20060324-r2/work/Mesa ...
(cd configs && rm -f current && ln -s linux-dri-x86-64 current)
make default
make[1]: Entering directory `/usr/tmp/portage/mesa-6.5.0_p20060324-r2/work/Mesa'
make[2]: Entering directory `/usr/tmp/portage/mesa-6.5.0_p20060324-r2/work/Mesa/src'
Making sources for linux-dri-x86-64
mkdir ../lib64
make[3]: Entering directory `/usr/tmp/portage/mesa-6.5.0_p20060324-r2/work/Mesa/src/glx/x11'
Makefile:92: depend: No such file or directory
ln -s ../../../src/mesa/drivers/dri/common/glcontextmodes.c .
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` -I/usr/X11R6/include 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-64/glapi_x86-64.S
makedepend: warning: XF86dri.c (reading /usr/include/drm/drm.h), line 196: # warning "__SIZE_TYPE__ not defined. Assuming sizeof(size_t) == sizeof(unsigned long)!"
make[3]: Leaving directory `/usr/tmp/portage/mesa-6.5.0_p20060324-r2/work/Mesa/src/glx/x11'
make[3]: Entering directory `/usr/tmp/portage/mesa-6.5.0_p20060324-r2/work/Mesa/src/glx/x11'
x86_64-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` -I/usr/X11R6/include -Wall -Wmissing-prototypes -O3 -pipe -march=athlon64 -fPIC -m64 -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 -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DUSE_X86_64_ASM -std=c99 -ffast-math -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER glcontextmodes.c -o glcontextmodes.o
In file included from /usr/include/bits/pthreadtypes.h:8,
from /usr/include/gentoo-multilib/amd64/sys/types.h:266,
from /usr/include/sys/types.h:8,
from /usr/include/X11/Xlib.h:52,
from ../../../include/GL/glx.h:38,
from glcontextmodes.c:46:
/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h:48: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h:51: error: parse error before "__stacksize"
In file included from ../../../include/GL/glx.h:38,
from glcontextmodes.c:46:
/usr/include/X11/Xlib.h:1107: error: parse error before "wchar_t"
/usr/include/X11/Xlib.h:1111: error: parse error before '}' token
/usr/include/X11/Xlib.h:1266: error: parse error before "wchar_t"
/usr/include/X11/Xlib.h:1268: error: parse error before '}' token
/usr/include/X11/Xlib.h:1300: error: parse error before "wchar_t"
/usr/include/X11/Xlib.h:1302: error: parse error before '}' token
/usr/include/X11/Xlib.h:1333: error: parse error before "XIMStringConversionText"
/usr/include/X11/Xlib.h:1340: error: parse error before "XIMText"
/usr/include/X11/Xlib.h:1363: error: parse error before "XIMText"
/usr/include/X11/Xlib.h:1365: error: parse error before '}' token
/usr/include/X11/Xlib.h:1366: error: parse error before '}' token
/usr/include/X11/Xlib.h:3662: error: parse error before '*' token
/usr/include/X11/Xlib.h:3682: error: parse error before '*' token
/usr/include/X11/Xlib.h:3710: error: parse error before '*' token
/usr/include/X11/Xlib.h:3748: error: parse error before "XwcTextItem"
/usr/include/X11/Xlib.h:3780: error: parse error before '*' token
/usr/include/X11/Xlib.h:3813: error: parse error before '*' token
/usr/include/X11/Xlib.h:3871: error: parse error before '*' token
/usr/include/X11/Xlib.h:3912: error: parse error before "wchar_t"
/usr/include/X11/Xlib.h:3991: error: parse error before '*' token
/usr/include/X11/Xlib.h:4003: error: parse error before "wchar_t"
In file included from ../../../include/GL/glx.h:39,
from glcontextmodes.c:46:
/usr/include/X11/Xutil.h:748: error: parse error before "wchar_t"
/usr/include/X11/Xutil.h:763: error: parse error before '*' token
/usr/include/X11/Xutil.h:782: error: parse error before "wchar_t"
In file included from ../../../include/GL/gl.h:2149,
from ../../../include/GL/glx.h:45,
from glcontextmodes.c:46:
../../../include/GL/glext.h:3052: error: parse error before "GLintptr"
../../../include/GL/glext.h:3052: warning: type defaults to `int' in declaration of `GLintptr'
../../../include/GL/glext.h:3052: warning: data definition has no type or storage class
../../../include/GL/glext.h:3053: error: parse error before "GLsizeiptr"
../../../include/GL/glext.h:3053: warning: type defaults to `int' in declaration of `GLsizeiptr'
../../../include/GL/glext.h:3053: warning: data definition has no type or storage class
../../../include/GL/glext.h:3058: error: parse error before "GLintptrARB"
../../../include/GL/glext.h:3058: warning: type defaults to `int' in declaration of `GLintptrARB'
../../../include/GL/glext.h:3058: warning: data definition has no type or storage class
../../../include/GL/glext.h:3059: error: parse error before "GLsizeiptrARB"
../../../include/GL/glext.h:3059: warning: type defaults to `int' in declaration of `GLsizeiptrARB'
../../../include/GL/glext.h:3059: warning: data definition has no type or storage class
../../../include/GL/glext.h:3388: error: parse error before "GLsizeiptr"
../../../include/GL/glext.h:3389: error: parse error before "GLintptr"
../../../include/GL/glext.h:3390: error: parse error before "GLintptr"
../../../include/GL/glext.h:3989: error: parse error before "GLsizeiptrARB"
../../../include/GL/glext.h:3990: error: parse error before "GLintptrARB"
../../../include/GL/glext.h:3991: error: parse error before "GLintptrARB"
In file included from glcontextmodes.c:46:
../../../include/GL/glx.h:347: error: parse error before "size_t"
../../../include/GL/glx.h:350: error: parse error before "size_t"
In file included from /usr/include/string.h:8,
from /usr/include/X11/Xfuncs.h:50,
from /usr/include/X11/Xlibint.h:222,
from glcontextmodes.c:56:
/usr/include/gentoo-multilib/amd64/string.h:39: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:43: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:52: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:59: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:62: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:66: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:77: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:88: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:96: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:102: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:109: error: parse error before "strxfrm"
/usr/include/gentoo-multilib/amd64/string.h:110: error: parse error before "size_t"
In file included from /usr/include/string.h:8,
from /usr/include/X11/Xfuncs.h:50,
from /usr/include/X11/Xlibint.h:222,
from glcontextmodes.c:56:
/usr/include/gentoo-multilib/amd64/string.h:124: error: parse error before "strxfrm_l"
/usr/include/gentoo-multilib/amd64/string.h:124: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:138: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:184: error: parse error before "strcspn"
/usr/include/gentoo-multilib/amd64/string.h:188: error: parse error before "strspn"
/usr/include/gentoo-multilib/amd64/string.h:225: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:232: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:235: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:242: error: parse error before "strlen"
/usr/include/gentoo-multilib/amd64/string.h:249: error: parse error before "strnlen"
/usr/include/gentoo-multilib/amd64/string.h:249: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:281: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:288: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:292: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:296: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:299: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:329: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:341: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:370: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:373: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/string.h:380: error: parse error before "size_t"
In file included from /usr/include/bits/string2.h:8,
from /usr/include/gentoo-multilib/amd64/string.h:417,
from /usr/include/string.h:8,
from /usr/include/X11/Xfuncs.h:50,
from /usr/include/X11/Xlibint.h:222,
from glcontextmodes.c:56:
/usr/include/gentoo-multilib/amd64/bits/string2.h:969: error: parse error before "__strcspn_c1"
/usr/include/gentoo-multilib/amd64/bits/string2.h:971: error: parse error before "__strcspn_c1"
/usr/include/gentoo-multilib/amd64/bits/string2.h: In function `__strcspn_c1':
/usr/include/gentoo-multilib/amd64/bits/string2.h:973: error: syntax error before "__result"
/usr/include/gentoo-multilib/amd64/bits/string2.h:974: error: `__result' undeclared (first use in this function)
/usr/include/gentoo-multilib/amd64/bits/string2.h:974: error: (Each undeclared identifier is reported only once
/usr/include/gentoo-multilib/amd64/bits/string2.h:974: error: for each function it appears in.)
/usr/include/gentoo-multilib/amd64/bits/string2.h: At top level:
/usr/include/gentoo-multilib/amd64/bits/string2.h:979: error: parse error before "__strcspn_c2"
/usr/include/gentoo-multilib/amd64/bits/string2.h:982: error: parse error before "__strcspn_c2"
/usr/include/gentoo-multilib/amd64/bits/string2.h: In function `__strcspn_c2':
/usr/include/gentoo-multilib/amd64/bits/string2.h:984: error: syntax error before "__result"
/usr/include/gentoo-multilib/amd64/bits/string2.h:985: error: `__result' undeclared (first use in this function)
/usr/include/gentoo-multilib/amd64/bits/string2.h: At top level:
/usr/include/gentoo-multilib/amd64/bits/string2.h:991: error: parse error before "__strcspn_c3"
/usr/include/gentoo-multilib/amd64/bits/string2.h:994: error: parse error before "__strcspn_c3"
/usr/include/gentoo-multilib/amd64/bits/string2.h: In function `__strcspn_c3':
/usr/include/gentoo-multilib/amd64/bits/string2.h:997: error: syntax error before "__result"
/usr/include/gentoo-multilib/amd64/bits/string2.h:998: error: `__result' undeclared (first use in this function)
/usr/include/gentoo-multilib/amd64/bits/string2.h: At top level:
/usr/include/gentoo-multilib/amd64/bits/string2.h:1045: error: parse error before "__strspn_c1"
/usr/include/gentoo-multilib/amd64/bits/string2.h:1047: error: parse error before "__strspn_c1"
/usr/include/gentoo-multilib/amd64/bits/string2.h: In function `__strspn_c1':
/usr/include/gentoo-multilib/amd64/bits/string2.h:1049: error: syntax error before "__result"
/usr/include/gentoo-multilib/amd64/bits/string2.h:1051: error: `__result' undeclared (first use in this function)
/usr/include/gentoo-multilib/amd64/bits/string2.h: At top level:
/usr/include/gentoo-multilib/amd64/bits/string2.h:1056: error: parse error before "__strspn_c2"
/usr/include/gentoo-multilib/amd64/bits/string2.h:1059: error: parse error before "__strspn_c2"
/usr/include/gentoo-multilib/amd64/bits/string2.h: In function `__strspn_c2':
/usr/include/gentoo-multilib/amd64/bits/string2.h:1061: error: syntax error before "__result"
/usr/include/gentoo-multilib/amd64/bits/string2.h:1063: error: `__result' undeclared (first use in this function)
/usr/include/gentoo-multilib/amd64/bits/string2.h: At top level:
/usr/include/gentoo-multilib/amd64/bits/string2.h:1068: error: parse error before "__strspn_c3"
/usr/include/gentoo-multilib/amd64/bits/string2.h:1071: error: parse error before "__strspn_c3"
/usr/include/gentoo-multilib/amd64/bits/string2.h: In function `__strspn_c3':
/usr/include/gentoo-multilib/amd64/bits/string2.h:1073: error: syntax error before "__result"
/usr/include/gentoo-multilib/amd64/bits/string2.h:1075: error: `__result' undeclared (first use in this function)
/usr/include/gentoo-multilib/amd64/bits/string2.h: In function `__strpbrk_c2':
/usr/include/gentoo-multilib/amd64/bits/string2.h:1129: error: `size_t' undeclared (first use in this function)
/usr/include/gentoo-multilib/amd64/bits/string2.h:1129: error: parse error before "__s"
/usr/include/gentoo-multilib/amd64/bits/string2.h: In function `__strpbrk_c3':
/usr/include/gentoo-multilib/amd64/bits/string2.h:1142: error: `size_t' undeclared (first use in this function)
/usr/include/gentoo-multilib/amd64/bits/string2.h:1142: error: parse error before "__s"
In file included from /usr/include/stdlib.h:8,
from /usr/include/gentoo-multilib/amd64/bits/string2.h:1299,
from /usr/include/bits/string2.h:8,
from /usr/include/gentoo-multilib/amd64/string.h:417,
from /usr/include/string.h:8,
from /usr/include/X11/Xfuncs.h:50,
from /usr/include/X11/Xlibint.h:222,
from glcontextmodes.c:56:
/usr/include/gentoo-multilib/amd64/stdlib.h: At top level:
/usr/include/gentoo-multilib/amd64/stdlib.h:584: error: parse error before "__size"
/usr/include/gentoo-multilib/amd64/stdlib.h:586: error: parse error before "__nmemb"
In file included from /usr/include/bits/string2.h:8,
from /usr/include/gentoo-multilib/amd64/string.h:417,
from /usr/include/string.h:8,
from /usr/include/X11/Xfuncs.h:50,
from /usr/include/X11/Xlibint.h:222,
from glcontextmodes.c:56:
/usr/include/gentoo-multilib/amd64/bits/string2.h:1323: error: parse error before "size_t"
In file included from /usr/include/stdlib.h:8,
from /usr/include/X11/Xlibint.h:230,
from glcontextmodes.c:56:
/usr/include/gentoo-multilib/amd64/stdlib.h:140: error: parse error before "__ctype_get_mb_cur_max"
In file included from /usr/include/stdlib.h:8,
from /usr/include/X11/Xlibint.h:230,
from glcontextmodes.c:56:
/usr/include/gentoo-multilib/amd64/stdlib.h:450: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/stdlib.h:480: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/stdlib.h:595: error: parse error before "size_t"
In file included from /usr/include/alloca.h:8,
from /usr/include/gentoo-multilib/amd64/stdlib.h:606,
from /usr/include/stdlib.h:8,
from /usr/include/X11/Xlibint.h:230,
from glcontextmodes.c:56:
/usr/include/gentoo-multilib/amd64/alloca.h:33: error: parse error before "__size"
In file included from /usr/include/stdlib.h:8,
from /usr/include/X11/Xlibint.h:230,
from glcontextmodes.c:56:
/usr/include/gentoo-multilib/amd64/stdlib.h:611: error: parse error before "__size"
/usr/include/gentoo-multilib/amd64/stdlib.h:616: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/stdlib.h:768: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/stdlib.h:773: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/stdlib.h:846: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/stdlib.h:849: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/stdlib.h:853: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/stdlib.h:857: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/stdlib.h:866: error: parse error before "size_t"
/usr/include/gentoo-multilib/amd64/stdlib.h:869: error: parse error before '*' token
/usr/include/gentoo-multilib/amd64/stdlib.h:873: error: parse error before "wchar_t"
/usr/include/gentoo-multilib/amd64/stdlib.h:877: error: parse error before "mbstowcs"
/usr/include/gentoo-multilib/amd64/stdlib.h:877: error: parse error before '*' token
/usr/include/gentoo-multilib/amd64/stdlib.h:880: error: parse error before "wcstombs"
/usr/include/gentoo-multilib/amd64/stdlib.h:881: error: parse error before '*' token
/usr/include/gentoo-multilib/amd64/stdlib.h:943: error: parse error before "size_t"
In file included from ../../../src/mesa/drivers/dri/common/glcontextmodes.h:33,
from glcontextmodes.c:63:
../../../include/GL/internal/glcore.h:375: error: parse error before "size"
../../../include/GL/internal/glcore.h:376: error: parse error before "numElem"
../../../include/GL/internal/glcore.h:377: error: parse error before "size_t"
../../../include/GL/internal/glcore.h:431: error: parse error before "size_t"
../../../include/GL/internal/glcore.h:432: error: parse error before "size_t"
../../../include/GL/internal/glcore.h:433: error: parse error before "size_t"
In file included from glcontextmodes.c:63:
../../../src/mesa/drivers/dri/common/glcontextmodes.h:45: error: parse error before "size_t"
glcontextmodes.c:356: error: parse error before "size_t"
glcontextmodes.c:357: warning: no previous prototype for '_gl_context_modes_create'
glcontextmodes.c: In function `_gl_context_modes_create':
glcontextmodes.c:358: error: syntax error before "size"
glcontextmodes.c:365: error: `count' undeclared (first use in this function)
glcontextmodes.c:366: error: `size' undeclared (first use in this function)
make[3]: *** [glcontextmodes.o] Error 1
make[3]: Leaving directory `/usr/tmp/portage/mesa-6.5.0_p20060324-r2/work/Mesa/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/tmp/portage/mesa-6.5.0_p20060324-r2/work/Mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/usr/tmp/portage/mesa-6.5.0_p20060324-r2/work/Mesa'
make: *** [linux-dri-x86-64] Error 2
|
/etc/make.conf
Code: | CFLAGS="-O3 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="kde qt -gnome -cups multilib xine dvd jpeg avi oss alsa symlink nsplugin dri"
LINGUAS="en et"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/"
PORTDIR_OVERLAY="/usr/local/portage/xgl-overlay"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="vesa" |
emerge info
Code: | eowyn x11 # emerge --info
Portage 2.1_pre6-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en et"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/xgl-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts crypt dri dvd eds emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls nsplugin opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl symlink tcpd tiff truetype-fonts type1-fonts usb xine xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_et userland_GNU video_cards_vesa"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, MAKEOPTS |
|
|
Back to top |
|
|
kfiaciarka Veteran
Joined: 20 May 2005 Posts: 1498 Location: Dobre Miasto, Poland
|
Posted: Sat Mar 25, 2006 6:09 pm Post subject: |
|
|
Have you tried
Code: | eselect opengl set xorg-x11 | and reemerge? |
|
Back to top |
|
|
zsz n00b
Joined: 25 Feb 2006 Posts: 10
|
Posted: Sat Mar 25, 2006 7:22 pm Post subject: |
|
|
tried that. Got the same error.
Any other suggestions? |
|
Back to top |
|
|
kfiaciarka Veteran
Joined: 20 May 2005 Posts: 1498 Location: Dobre Miasto, Poland
|
Posted: Sun Mar 26, 2006 10:14 am Post subject: |
|
|
zsz wrote: | tried that. Got the same error.
Any other suggestions? |
emerge libdrm |
|
Back to top |
|
|
zsz n00b
Joined: 25 Feb 2006 Posts: 10
|
Posted: Sun Mar 26, 2006 11:42 am Post subject: |
|
|
That is already done, tried both available versions
Code: | eowyn ~ # eix -s libdrm
* x11-libs/libdrm
Available versions: 2.0 2.1_alpha20060313[1]
Installed: 2.1_alpha20060313 |
|
|
Back to top |
|
|
zsz n00b
Joined: 25 Feb 2006 Posts: 10
|
Posted: Mon Mar 27, 2006 4:10 pm Post subject: |
|
|
I think I've located the culprit -- the file glcontextmodes.c will compile if it is compiled without pkg-config --cflags libdrm in the compile command.
I mean this
Code: | x86_64-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` -I/usr/X11R6/include -Wall -Wmissing-prototypes -O3 -pipe -march=athlon64 -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DUSE_X86_64_ASM -std=c99 -ffast-math -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER glcontextmodes.c -o glcontextmodes.o
|
will not compile whereas this:
Code: | x86_64-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 -I/usr/X11R6/include -Wall -Wmissing-prototypes -O3 -pipe -march=athlon64 -fPIC -m64 -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 -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DUSE_X86_64_ASM -std=c99 -ffast-math -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER glcontextmodes.c -o glcontextmodes.o
|
does.
Why doesn't it like the drm header files? |
|
Back to top |
|
|
zsz n00b
Joined: 25 Feb 2006 Posts: 10
|
Posted: Mon Mar 27, 2006 4:15 pm Post subject: |
|
|
removing libdrm gets me to previously described problem so that is not a solution.
Any clues anyone? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|