<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Compile error in pipe-loader files (pipe_r300.c pipe_r600.c pipe_radeonsi.c egl_pipe.c)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=77305">77305</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Compile error in pipe-loader files (pipe_r300.c pipe_r600.c pipe_radeonsi.c egl_pipe.c)
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>knut.tidemann@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Gallium/r600
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=97213" name="attach_97213" title="patch for build failure">attachment 97213</a> <a href="attachment.cgi?id=97213&action=edit" title="patch for build failure">[details]</a></span>
patch for build failure
When building the latest mesa code today from git
(227049098b59bca88883a750602fdad41949c996), I was unable to build due to an
error that looks like a missing radeon_winsys.h include after the following
commit: 3b0b44f7def0acb4f7a7aef086c0bece321418a6.
Example of error:
pipe_r300.c: In function 'create_screen':
pipe_r300.c:13:38: error: dereferencing pointer to incomplete type
return sws ? debug_screen_wrap(sws->screen) : NULL;
^
I've attached a patch that fixes the build issue for me.
I build mesa with the following options:
./autogen.sh --prefix=/usr \
--sysconfdir=/etc \
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
--with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \
--with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
--with-egl-platforms=drm,x11,wayland \
--with-llvm-shared-libs \
--enable-gallium-egl --enable-shared-glapi \
--enable-gallium-llvm \
--enable-glx-tls \
--enable-gles1 \
--enable-gles2 \
--enable-egl \
--enable-dri \
--enable-glx \
--enable-xa \
--enable-osmesa \
--enable-gbm \
--enable-texture-float \
--enable-vdpau \
--enable-opencl \
--enable-opencl-icd</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>