<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa demos doesn't compile due to gles1"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102003">102003</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Mesa demos doesn't compile due to gles1
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Demos
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mike@fireburn.co.uk
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Looks like some primitives are no longer defined for GLES1
Making all in opengles1
make[3]: Entering directory '/home/fireburn/Demos/src/egl/opengles1'
CC clear.o
CC drawtex.o
CC eglfbdev.o
CC es1_info.o
CC gears.o
CC msaa.o
CC pbuffer.o
CC render_tex.o
CC texture_from_pixmap.o
CC torus.o
gears.c: In function ‘draw_gear’:
gears.c:205:7: error: unknown type name ‘GLushort’; did you mean ‘ushort’?
GLushort indices[7];
^~~~~~~~
ushort
torus.c: In function ‘make_cpal_texture’:
torus.c:224:10: error: unknown type name ‘GLushort’; did you mean ‘ushort’?
GLushort *pal = (GLushort *) palette;
^~~~~~~~
ushort
torus.c:224:27: error: ‘GLushort’ undeclared (first use in this function); did
you mean ‘ushort’?
GLushort *pal = (GLushort *) palette;
^~~~~~~~
ushort
torus.c:224:27: note: each undeclared identifier is reported only once for each
function it appears in
torus.c:224:37: error: expected expression before ‘)’ token
GLushort *pal = (GLushort *) palette;
^
torus.c:234:20: error: ‘pal’ undeclared (first use in this function); did you
mean ‘fmal’?
GLushort *pal = (GLushort *) palette;
^~~
fmal
torus.c:234:37: error: expected expression before ‘)’ token
GLushort *pal = (GLushort *) palette;
^
torus.c:244:37: error: expected expression before ‘)’ token
GLushort *pal = (GLushort *) palette;
^
make[3]: *** [Makefile:563: gears.o] Error 1
make[3]: *** Waiting for unfinished jobs....
clear.c:40:45: error: unknown type name ‘GLclampf’; did you mean ‘GLclampx’?
typedef void (GL_APIENTRY *type_ClearColor)(GLclampf red, GLclampf green,
GLclampf blue, GLclampf alpha);
^~~~~~~~
GLclampx
clear.c:40:59: error: unknown type name ‘GLclampf’; did you mean ‘GLclampx’?
typedef void (GL_APIENTRY *type_ClearColor)(GLclampf red, GLclampf green,
GLclampf blue, GLclampf alpha);
^~~~~~~~
GLclampx
clear.c:40:75: error: unknown type name ‘GLclampf’; did you mean ‘GLclampx’?
typedef void (GL_APIENTRY *type_ClearColor)(GLclampf red, GLclampf green,
GLclampf blue, GLclampf alpha);
^~~~~~~~
GLclampx
clear.c:40:90: error: unknown type name ‘GLclampf’; did you mean ‘GLclampx’?
typedef void (GL_APIENTRY *type_ClearColor)(GLclampf red, GLclampf green,
GLclampf blue, GLclampf alpha);
^~~~~~~~
GLclampx
make[3]: *** [Makefile:563: torus.o] Error 1
clear.c:43:8: error: unknown type name ‘type_ClearColor’
static type_ClearColor fn_ClearColor;
^~~~~~~~~~~~~~~
clear.c: In function ‘init’:
clear.c:73:21: error: ‘type_ClearColor’ undeclared (first use in this
function); did you mean ‘fn_ClearColor’?
fn_ClearColor = (type_ClearColor) get_proc("glClearColor");
^~~~~~~~~~~~~~~
fn_ClearColor
clear.c:73:21: note: each undeclared identifier is reported only once for each
function it appears in
clear.c:73:38: error: expected ‘;’ before ‘get_proc’
fn_ClearColor = (type_ClearColor) get_proc("glClearColor");
^~~~~~~~
clear.c:76:4: error: called object ‘fn_ClearColor’ is not a function or
function pointer
fn_ClearColor(1.0, 0.4, 0.4, 0.0);
^~~~~~~~~~~~~
clear.c:43:24: note: declared here
static type_ClearColor fn_ClearColor;
^~~~~~~~~~~~~
make[3]: *** [Makefile:563: clear.o] Error 1
eglfbdev.c: In function ‘egl_init_for_fbdev’:
eglfbdev.c:201:28: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
egl_dpy = eglGetDisplay((EGLNativeDisplayType) fd);
^
make[3]: Leaving directory '/home/fireburn/Demos/src/egl/opengles1'
make[2]: *** [Makefile:419: all-recursive] Error 1
make[2]: Leaving directory '/home/fireburn/Demos/src/egl'
make[1]: *** [Makefile:435: all-recursive] Error 1
make[1]: Leaving directory '/home/fireburn/Demos/src'
make: *** [Makefile:442: all-recursive] Error 1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>