[Mesa-dev] [Bug 80034] compile error eglGetSyncValuesCHROMIUM undeclared

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 16 03:37:58 PDT 2014


--- Comment #4 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to comment #2)
> I don't believe the CFLAGS have changed since I last successfully built mesa
> with them.
> export CFLAGS="-m${LIBDIRSUFFIX} -O3 -march=native -pipe"
> export CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
> export CPPFLAGS="${CXXLAGS} -I${XBUILD}/include
> I disabled the CFLAGS/CXXFLAGS/CPPFLAGS variables and mesa built
> successfully.
I would recommend setting PKG_CONFIG_PATH/PKG_CONFIG_LIBDIR which should make
the above CPPFLAGS obsolete. Your choice of CPPFLAGS is very hacky imho.

Also as Tapani mentioned CPPFLAGS="${CXXLAGS}... may not be the best of ideas.

> >Missing ${XBUILD} ? Might be worth dropping this one as well.
> Not missing--it is a variable pointing to the installation directory.
AFAIK as one provides a new sysconfdir, the value is independent of
PREFIX/EPREFIX. Thus setting it to /etc while the latter two are ${XBUILD} is
not something I've seen and/or encourage.

> >These seem like libdrm configure flags. Not sure what are they doing here.
> >What are these doing here ?
> The above statements suggest you never used
> http://cgit.freedesktop.org/xorg/util/modular/plain/build.sh to build all of
> X.  I assume you are compiling mesa by hand or are on another platform.
Guilty, I've never used the script as mesa's build has changed substantially
since it originated. I use a simple 10-liner script that sets the options that
I need from mesa.

> It might take me a while to figure out where in git the change effects the
> build.
Please set PKG_CONFIG_... as suggested above and drop the CPPFLAGS altogether.
Mesa's build has always been less than stellar, and allowed people to exploit
it to the limits. Recent changes have made things a bit saner.

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/20140616/9d149ae5/attachment.html>

More information about the mesa-dev mailing list