<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [gl, glesv2] Cannot build with --gl and --glesv2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=57379#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [gl, glesv2] Cannot build with --gl and --glesv2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=57379">bug 57379</a>
              from <span class="vcard"><a class="email" href="mailto:b.harrington@samsung.com" title="Bryce Harrington <b.harrington@samsung.com>"> <span class="fn">Bryce Harrington</span></a>
</span></b>
        <pre>On current git master, with --enable-gl, --enable-glx and --enable-glesv2, I
get the error mentioned in the original bug description.

With the patch applied from <a href="show_bug.cgi?id=57379#c2">comment #2</a>, I get a different set of build errors:

  CCLD   libcairo.la
.libs/cairo-gl-composite.o: In function `_cairo_gl_composite_set_source':
/srv/Source/Cairo/cairo/build-mercia/src/../../src/cairo-gl-composite.c:61:
multiple definition of `_cairo_gl_composite_set_source'
.libs/cairo-gl-composite.o:/srv/Source/Cairo/cairo/build-mercia/src/../../src/cairo-gl-composite.c:61:
first defined here
.libs/cairo-gl-composite.o: In function
`_cairo_gl_composite_set_source_operand':
/srv/Source/Cairo/cairo/build-mercia/src/../../src/cairo-gl-composite.c:70:
multiple definition of `_cairo_gl_composite_set_source_operand'
.libs/cairo-gl-composite.o:/srv/Source/Cairo/cairo/build-mercia/src/../../src/cairo-gl-composite.c:70:
first defined here
.libs/cairo-gl-composite.o: In function `_cairo_gl_composite_set_solid_source':
/srv/Source/Cairo/cairo/build-mercia/src/../../src/cairo-gl-composite.c:78:
multiple definition of `_cairo_gl_composite_set_solid_source'
.libs/cairo-gl-composite.o:/srv/Source/Cairo/cairo/build-mercia/src/../../src/cairo-gl-composite.c:78:
first defined here
.libs/cairo-gl-composite.o: In function `_cairo_gl_composite_set_mask':
 etc.

Removing --enable-glx from the build options seems to result in a functional
build.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>