[Mesa-dev] [Bug 80034] compile error eglGetSyncValuesCHROMIUM undeclared
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jun 14 14:20:34 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=80034
--- Comment #1 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to comment #0)
> Created attachment 101063 [details]
> mesa build log
>
Which version of mesa is this ? Is this a regression ?
> mesa compile error:
>
> eglapi.c:1097:48: error: 'eglGetSyncValuesCHROMIUM' undeclared (first use in
> this function)
>
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.
> Here are my build flags:
>
...
> --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 \
IMHO from the above flags you should only need the prefix and libdir
> --sysconfdir=/etc \
Missing ${XBUILD} ? Might be worth dropping this one as well.
> --disable-intel \
> --disable-nouveau \
> --disable-vmwgfx \
> --disable-nouveau-experimental-api \
These seem like libdrm configure flags. Not sure what are they doing here.
> --enable-glamor \
> --enable-xcb \
> --with-kernel-source=/usr/src/linux \
> --enable-xinput \
> --disable-ipv6 \
> --disable-systemd-logind \
What are these doing here ?
> --build=$ARCH-pc-linux \
> --host=$ARCH-pc-linux \
> --target=$ARCH-pc-linux"
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140614/1e1d8f89/attachment-0001.html>
More information about the mesa-dev
mailing list