xserver build failure

Jernej Azarija stdazi at gmail.com
Mon Sep 17 16:38:04 PDT 2007


Hello,

I'm struggling to build xorg from git sources for weeks. I was able to
pass all the lib requirement issues not mentioned in the modular wiki
and able to build all but xserver. Build fails with the following
compilation error :

==

make[4]: Entering directory `/home/azi/x/src/xserver/hw/xfree86/dri'
/bin/sh ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../
../../include    -I../../../hw/xfree86/common -I../../../hw/xfree86/os-support -
I../../../hw/xfree86/os-support/bus -I../../../GL/glx -I../../../GL/include -I..
/../../GL/include -I/include -DHAVE_XORG_CONFIG_H -DHAVE_DIX_CONFIG_H -Wall -Wpo
inter-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wne
sted-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BI
T -I/home/azi/x/modular/include -I/home/azi/x/modular//include/pixman-1 -I/usr/i
nclude/freetype2   -I../../../include -I../../../include -I../../../Xext -I../..
/../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi
 -I../../../miext/shadow  -I../../../miext/damage -I../../../render -I../../../r
andr -I../../../fb -I/home/azi/x/modular/include/X11/dri -I/usr/include/drm -I/h
ome/azi/x/modular/include   -g -O2 -MT libdri_la-dri.lo -MD -MP -MF .deps/libdri
_la-dri.Tpo -c -o libdri_la-dri.lo `test -f 'dri.c' || echo './'`dri.c
 gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../hw/xfree86/common -I../..
/../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../../../GL/glx
 -I../../../GL/include -I../../../GL/include -I/include -DHAVE_XORG_CONFIG_H -DH
AVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS
_FCHOWN -DHAS_STICKY_DIR_BIT -I/home/azi/x/modular/include -I/home/azi/x/modular
//include/pixman-1 -I/usr/include/freetype2 -I../../../include -I../../../includ
e -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I
../../../Xi -I../../../mi -I../../../miext/shadow -I../../../miext/damage -I../.
./../render -I../../../randr -I../../../fb -I/home/azi/x/modular/include/X11/dri
 -I/usr/include/drm -I/home/azi/x/modular/include -g -O2 -MT libdri_la-dri.lo -M
D -MP -MF .deps/libdri_la-dri.Tpo -c dri.c  -fPIC -DPIC -o .libs/libdri_la-dri.o
In file included from dri.c:70:
../../../GL/glx/glxserver.h:61:19: error: GL/gl.h: No such file or directory
In file included from ../../../GL/glx/glxserver.h:63,
                 from dri.c:70:
/home/azi/x/modular/include/GL/glxint.h:95: error: expected specifier-qualifier-
list before 'GLboolean'
In file included from ../../../GL/glx/glxscreens.h:43,
                 from ../../../GL/glx/glxserver.h:69,
                 from dri.c:70:
/home/azi/x/modular/include/GL/internal/glcore.h:77: error: expected specifier-q
ualifier-list before 'GLboolean'
/home/azi/x/modular/include/GL/internal/glcore.h:196: error: expected specifier-
qualifier-list before 'GLint'
/home/azi/x/modular/include/GL/internal/glcore.h:202: error: expected specifier-
qualifier-list before 'GLint'
/home/azi/x/modular/include/GL/internal/glcore.h:227: error: expected declaratio
n specifiers or '...' before 'GLint'
/home/azi/x/modular/include/GL/internal/glcore.h:229: error: expected declaratio
n specifiers or '...' before 'GLint'
/home/azi/x/modular/include/GL/internal/glcore.h:251: error: expected specifier-
qualifier-list before 'GLint'
qualifier-list before 'GLuint'
/home/azi/x/modular/include/GL/internal/glcore.h:465: error: expected specifier-
qualifier-list before 'GLboolean'
In file included from ../../../GL/glx/glxserver.h:69,
                 from dri.c:70:
../../../GL/glx/glxscreens.h:73: error: expected specifier-qualifier-list before
 'GLint'
In file included from ../../../GL/glx/glxdrawable.h:46,
                 from ../../../GL/glx/glxserver.h:70,
                 from dri.c:70:
/home/azi/x/modular/include/GL/internal/dri_interface.h:182: error: expected spe
cifier-qualifier-list before 'GLboolean'
/home/azi/x/modular/include/GL/internal/dri_interface.h:326: error: expected dec
laration specifiers or '...' before 'GLsizei'
/home/azi/x/modular/include/GL/internal/dri_interface.h:327: error: expected dec
laration specifiers or '...' before 'GLfloat'
/home/azi/x/modular/include/GL/internal/dri_interface.h:327: error: expected dec
laration specifiers or '...' before 'GLfloat'
/home/azi/x/modular/include/GL/internal/dri_interface.h:328: error: expected dec
laration specifiers or '...' before 'GLfloat'
/home/azi/x/modular/include/GL/internal/dri_interface.h:330: error: expected dec
laration specifiers or '...' before 'GLvoid'
/home/azi/x/modular/include/GL/internal/dri_interface.h:332: error: expected spe
cifier-qualifier-list before 'GLuint'
/home/azi/x/modular/include/GL/internal/dri_interface.h:375: error: expected spe
cifier-qualifier-list before 'GLboolean'
/home/azi/x/modular/include/GL/internal/dri_interface.h:457: error: expected dec
laration specifiers or '...' before 'GLboolean'
In file included from ../../../GL/glx/glxserver.h:70,
                 from dri.c:70:
../../../GL/glx/glxdrawable.h:57: error: expected specifier-qualifier-list befor
e 'GLenum'
../../../GL/glx/glxdrawable.h:68: error: expected specifier-qualifier-list befor
e 'GLboolean'
In file included from ../../../GL/glx/glxserver.h:71,
                 from dri.c:70:
../../../GL/glx/glxcontext.h:114: error: expected specifier-qualifier-list befor
e 'GLint'
In file included from dri.c:70:
../../../GL/glx/glxserver.h:94: error: expected '=', ',', ';', 'asm' or '__attri
bute__' before '__glXNumActiveScreens'
../../../GL/glx/glxserver.h:136: warning: parameter names (without types) in fun
ction declaration
../../../GL/glx/glxserver.h:137: warning: parameter names (without types) in fun
ction declaration
../../../GL/glx/glxserver.h:138: error: expected ')' before 'rendering'
../../../GL/glx/glxserver.h:139: error: expected ')' before 'rendering'
../../../GL/glx/glxserver.h:156: error: expected specifier-qualifier-list before
 'GLbyte'
../../../GL/glx/glxserver.h:189: error: expected ')' before '*' token
../../../GL/glx/glxserver.h:190: error: expected declaration specifiers or '...'
 before 'GLbyte'
../../../GL/glx/glxserver.h:191: error: expected declaration specifiers or '...'
 before 'GLbyte'
../../../GL/glx/glxserver.h:201: warning: type defaults to 'int' in declaration
of 'GLbyte'
../../../GL/glx/glxserver.h:201: error: expected ';', ',' or ')' before '*' toke
n
../../../GL/glx/glxserver.h:205: error: expected specifier-qualifier-list before
 'gl_proto_size_func'
../../../GL/glx/glxserver.h:251: error: expected ')' before 'enm'
../../../GL/glx/glxserver.h:252: error: expected ')' before 'format'
dri.c: In function 'DRICreateDummyContext':
dri.c:989: error: '__GLcontextModes' has no member named 'visualID'
dri.c: In function 'DRICreateContext':
dri.c:1055: error: '__GLcontextModes' has no member named 'visualID'
dri.c: In function 'DRIAdjustFrame':
dri.c:2355: warning: 'miPointerPosition' is deprecated (declared at ../../../mi/
mipointer.h:130)
make[4]: *** [libdri_la-dri.lo] Error 1
==

I have no clue what could be causing this issue and I hope someone on
the list could point me in the right direction to fix this error -
thanks.

Ps. I'm trying to build Xorg without mesa.



More information about the xorg mailing list