Bug 26073 - commit 1cfd769c2ec0b605cacd75c0e9c89346e1f9518d breaks darwin build
Summary: commit 1cfd769c2ec0b605cacd75c0e9c89346e1f9518d breaks darwin build
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86 (IA32) Mac OS X (All)
: medium blocker
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-15 23:09 UTC by Vinson Lee
Modified: 2011-06-06 18:58 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2010-01-15 23:09:43 UTC
mesa: 8b704396a32f054e1a896ea2ee17506580793b30 (master)

'make darwin' is now failing on Mac OS.

$ make
Making sources for darwin
make[3]: Nothing to be done for `default'.
make[3]: Nothing to be done for `default'.
make[3]: Nothing to be done for `default'.
gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi    -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -I/usr/X11/include -I/usr/X11/include  -fPIC   -D_DARWIN_C_SOURCE -DPTHREADS -D_GNU_SOURCE -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/X11/lib/dri\" glxcmds.c -o glxcmds.o
glxcmds.c: In function ‘__glXSwapIntervalSGI’:
glxcmds.c:1918: error: ‘struct __GLXcontextRec’ has no member named ‘driContext’
glxcmds.c:1918: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:1918: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:1919: error: ‘__GLXDRIdrawable’ undeclared (first use in this function)
glxcmds.c:1919: error: (Each undeclared identifier is reported only once
glxcmds.c:1919: error: for each function it appears in.)
glxcmds.c:1919: error: ‘pdraw’ undeclared (first use in this function)
glxcmds.c:1919: warning: implicit declaration of function ‘GetGLXDRIDrawable’
glxcmds.c:1922: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c: In function ‘__glXSwapIntervalMESA’:
glxcmds.c:1979: error: ‘struct __GLXcontextRec’ has no member named ‘driContext’
glxcmds.c:1983: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:1983: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:1984: error: ‘__GLXDRIdrawable’ undeclared (first use in this function)
glxcmds.c:1984: error: ‘pdraw’ undeclared (first use in this function)
glxcmds.c:1986: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c: In function ‘__glXGetSwapIntervalMESA’:
glxcmds.c:2014: error: ‘gc’ undeclared (first use in this function)
glxcmds.c:2018: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2018: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2019: error: ‘__GLXDRIdrawable’ undeclared (first use in this function)
glxcmds.c:2019: error: ‘pdraw’ undeclared (first use in this function)
glxcmds.c:2021: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c: In function ‘__glXGetVideoSyncSGI’:
glxcmds.c:2140: error: ‘__GLXDRIdrawable’ undeclared (first use in this function)
glxcmds.c:2140: error: ‘pdraw’ undeclared (first use in this function)
glxcmds.c:2142: error: ‘struct __GLXcontextRec’ has no member named ‘driContext’
glxcmds.c:2161: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2161: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2162: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c: In function ‘__glXWaitVideoSyncSGI’:
glxcmds.c:2175: error: ‘__GLXDRIdrawable’ undeclared (first use in this function)
glxcmds.c:2175: error: ‘pdraw’ undeclared (first use in this function)
glxcmds.c:2182: error: ‘struct __GLXcontextRec’ has no member named ‘driContext’
glxcmds.c:2196: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2196: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2197: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c: In function ‘__glXGetSyncValuesOML’:
glxcmds.c:2357: error: ‘__GLXDRIdrawable’ undeclared (first use in this function)
glxcmds.c:2357: error: ‘pdraw’ undeclared (first use in this function)
glxcmds.c:2373: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2373: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2374: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c: In function ‘__glXSwapBuffersMscOML’:
glxcmds.c:2487: error: ‘__GLXDRIdrawable’ undeclared (first use in this function)
glxcmds.c:2487: error: ‘pdraw’ undeclared (first use in this function)
glxcmds.c:2490: error: ‘struct __GLXcontextRec’ has no member named ‘driContext’
glxcmds.c:2488: warning: unused variable ‘psc’
glxcmds.c: In function ‘__glXWaitForMscOML’:
glxcmds.c:2526: error: ‘__GLXDRIdrawable’ undeclared (first use in this function)
glxcmds.c:2526: error: ‘pdraw’ undeclared (first use in this function)
glxcmds.c:2553: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2553: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2554: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c: In function ‘__glXWaitForSbcOML’:
glxcmds.c:2570: error: ‘__GLXDRIdrawable’ undeclared (first use in this function)
glxcmds.c:2570: error: ‘pdraw’ undeclared (first use in this function)
glxcmds.c:2590: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2590: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
glxcmds.c:2591: error: ‘__GLXscreenConfigs’ has no member named ‘driScreen’
make[2]: *** [glxcmds.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1


'make darwin' build failures started after the DRI2 commits.

commit 1cfd769c2ec0b605cacd75c0e9c89346e1f9518d
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Wed Jan 13 19:01:51 2010 -0500

    DRI2: don't send DRI2 requests the server doesn't know about
    
    At init time, NULL out the hooks that send the server new requests.
    DRI2 never supported these extensions, so this preserves old behavior on
    old servers with new Mesa.
Comment 1 Jeremy Huddleston Sequoia 2011-06-06 18:58:26 UTC
master and 7.10 both build for darwin on Snow Leopard.  If any other issues arise, please open a new bug report (and CC me)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.