xserver build failure

Dan Nicholson dbn.lists at gmail.com
Mon Sep 17 16:50:40 PDT 2007

On 9/17/07, Jernej Azarija <stdazi at gmail.com> wrote:
> 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


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

You probably need to pass --disable-dri to configure in that case.


More information about the xorg mailing list