← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 380783] [NEW] Possibly corrupt /usr/include/GL/internal/dri_interface.h

 

You have been subscribed to a public bug:

This is a report for Jaunty with latest updates.

Include file /usr/include/GL/internal/dri_interface.h defines a typedef
for type __DRIloaderExtension but never defines __DRIloaderExtensionRec,
leaving it anonymous.

It also lacks definition of __DRI_LOADER and __DRI_LOADER_VERSION

This breaks compilation of the Xorg server, from
http://ftp.x.org/pub/X11R7.4/src/xserver/xorg-server-1.5.1.tar.bz2

A diff of dri_interface.h with
http://www.virtualbox.org/browser/trunk/src/VBox/Additions/x11/x11include/mesa-7.2/include/GL/internal/dri_interface.h?rev=18881&format=txt
could be worthwhile.

Compilation of the X server as above says:

gcc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri -I../hw/xfree86/dri2 -I../mi -DHAVE_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/usr/include/freetype2 -I/usr/include/pixman-1 -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../randr -I../fb -I/usr/include/drm -I/usr/include/X11/dri -DXFree86Server -g -O2 -MT glxdri2.lo -MD -MP -MF .deps/glxdri2.Tpo -c glxdri2.c  -fPIC -DPIC -o .libs/glxdri2.o
glxdri2.c:378: error: variable 'loaderExtension' has initializer but incomplete type
glxdri2.c:379: error: extra brace group at end of initializer
glxdri2.c:379: error: (near initialization for 'loaderExtension')
glxdri2.c:379: error: '__DRI_LOADER' undeclared here (not in a function)
glxdri2.c:379: error: '__DRI_LOADER_VERSION' undeclared here (not in a function)
glxdri2.c:379: warning: excess elements in struct initializer
glxdri2.c:379: warning: (near initialization for 'loaderExtension')
glxdri2.c:380: warning: excess elements in struct initializer
glxdri2.c:380: warning: (near initialization for 'loaderExtension')
glxdri2.c:382: warning: excess elements in struct initializer
glxdri2.c:382: warning: (near initialization for 'loaderExtension')
glxdri2.c:386: error: invalid use of incomplete typedef '__DRIloaderExtension'
make[1]: *** [glxdri2.lo] Error 1
make[1]: Leaving directory `/big/Downloads/xorg-server-1.5.1/glx'
make: *** [all-recursive] Error 1

#define __DRI_LOADER "DRI_Loader"
#define __DRI_LOADER_VERSION 1

** Affects: mesa (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Possibly corrupt /usr/include/GL/internal/dri_interface.h
https://bugs.launchpad.net/bugs/380783
You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in ubuntu.