<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - compile error eglGetSyncValuesCHROMIUM undeclared"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80034#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - compile error eglGetSyncValuesCHROMIUM undeclared"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80034">bug 80034</a>
              from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=80034#c0">comment #0</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=101063" name="attach_101063" title="mesa build log">attachment 101063</a> <a href="attachment.cgi?id=101063&action=edit" title="mesa build log">[details]</a></span>
> mesa build log
> </span >
Which version of mesa is this ? Is this a regression ?

<span class="quote">> mesa compile error: 

> eglapi.c:1097:48: error: 'eglGetSyncValuesCHROMIUM' undeclared (first use in
> this function)
> </span >
Strange...

The symbols is defined in
include/EGL/eglextchromium.h

with is included via (at least)
include/EGL/eglext.h
src/egl/main/egltypedefs.h
src/egl/main/eglcontext.h
src/egl/main/eglapi.c

I'm assuming that you have some thing that is messing with CFLAGS.

<span class="quote">> Here are my build flags:
> </span >
...
<span class="quote">> --prefix=${XBUILD} \
> --libdir=${XBUILD}/lib${LIBDIRSUFFIX} \
> --exec-prefix=${XBUILD}  \
> --bindir=${XBUILD}/bin  \
> --sbindir=${XBUILD}/sbin  \
> --sysconfdir=${XBUILD}/etc  \
> --datadir=${XBUILD}/share  \
> --includedir=${XBUILD}/include  \
> --libexecdir=${XBUILD}/libexec  \
> --localstatedir=${XBUILD}/var  \
> --mandir=${XBUILD}/share/man  \
> --infodir=${XBUILD}/share/info \</span >
IMHO from the above flags you should only need the prefix and libdir

<span class="quote">> --sysconfdir=/etc \</span >
Missing ${XBUILD} ? Might be worth dropping this one as well.

<span class="quote">> --disable-intel \
> --disable-nouveau \
> --disable-vmwgfx \
> --disable-nouveau-experimental-api \</span >
These seem like libdrm configure flags. Not sure what are they doing here.

<span class="quote">> --enable-glamor \
> --enable-xcb \
> --with-kernel-source=/usr/src/linux \
> --enable-xinput \
> --disable-ipv6 \
> --disable-systemd-logind \</span >
What are these doing here ?

<span class="quote">> --build=$ARCH-pc-linux \
> --host=$ARCH-pc-linux \
> --target=$ARCH-pc-linux"</span >
Please avoid setting these if they are identical. IIRC there was a bug
(automake/autoconf) that was incorrectly setting the cross-compile variable.

If nuking the above does not resolve the problem I would recommend explicitly
purging CFLAGS and CPPFLAGS before calling the configure, and bisecting the
options to see which one is causing the issue.

Cheers</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>