← Back to team overview

ubuntu-x-swat team mailing list archive

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

 

this can also be easily reproduced as follows with some simple code:

dcampbel@vostro:~$ cat >dotest.c
#include <stdint.h>
#include <stdio.h>
#include <drm.h>
#include <GL/gl.h>
#include <GL/internal/dri_interface.h>
#include <GL/glxtokens.h>

int main() {
  __DRIloaderExtension ext;
  char *loader = __DRI_LOADER;
  int version = __DRI_LOADER_VERSION;
  return 0;
}

dcampbel@vostro:~$ cc -I/usr/include/xorg -I/usr/include/drm -g dotest.c
dotest.c: In function ‘main’:
dotest.c:9: error: storage size of ‘ext’ isn’t known
dotest.c:10: error: ‘__DRI_LOADER’ undeclared (first use in this function)
dotest.c:10: error: (Each undeclared identifier is reported only once
dotest.c:10: error: for each function it appears in.)
dotest.c:11: error: ‘__DRI_LOADER_VERSION’ undeclared (first use in this function)

-- 
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.