Compiling git mesa 7.11-devel (gallium enabled) shows the following error: make --- src/dxgi_loader.cpp: In function ‘bool dlopen_pipe_module_cb(const char*, size_t, void*)’: src/dxgi_loader.cpp:115: warning: field precision should have type ‘int’, but argument 4 has type ‘size_t’ src/dxgi_loader.cpp:115: warning: field precision should have type ‘int’, but argument 4 has type ‘size_t’ g++ -c -I. -I../../../../../src/gallium/include -I../../../../../src/gallium/auxiliary -I../../../../../src/gallium/drivers -I../../../../../include -Iinclude -I../gd3dapi -I../d3dapi -I../w32api -I../d3d1xstutil/include -I../include -I../../../include -I../../../auxiliary -I../../../state_trackers/egl/common -g -O2 -Wall -fvisibility=hidden -fno-strict-aliasing -fPIC -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV -DDXGI_DRIVER_SEARCH_DIR=\"/usr/lib/egl\" -DGALLIUM_DXGI_USE_X11 src/dxgi_native.cpp -o src/dxgi_native.o In file included from ../w32api/windef.h:252, from ../w32api/windows.h:41, from ../w32api/rpc.h:29, from ../w32api/objbase.h:19, from ../d3d1xstutil/include/d3d1xstutil.h:45, from src/dxgi_private.h:34, from src/dxgi_native.cpp:27: ../w32api/winnt.h:684: warning: attributes ignored on elaborated-type-specifier that is not a forward declaration src/dxgi_native.cpp: In constructor ‘GalliumDXGIAdapter::GalliumDXGIAdapter(GalliumDXGIFactory*, const native_platform*, void*)’: src/dxgi_native.cpp:262: error: invalid conversion from ‘native_event_handler*’ to ‘boolean’ make[5]: *** [src/dxgi_native.o] Error 1 make[5]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers/d3d1x/dxgi' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers/d3d1x' make[3]: *** [subdirs] Error 1 make[3]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers' make[2]: *** [default] Error 1 make[2]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src/gallium' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src' make: *** [default] Error 1 ---
Created attachment 42098 [details] [review] fix d3d1x Does this patch help? I did not(/don't know how to) enable d3d1x to verify.
(In reply to comment #1) > Does this patch help? I did not(/don't know how to) enable d3d1x to verify. I applied your patch but get the following error: --- src/dxgi_native.cpp: In constructor ‘GalliumDXGIAdapter::GalliumDXGIAdapter(GalliumDXGIFactory*, const native_platform*, void*)’: src/dxgi_native.cpp:263: error: ‘const struct native_platform’ has no member named ‘set_native_handler’ make: *** [src/dxgi_native.o] Error 1 ---
Created attachment 42099 [details] [review] fix d3d1x again Ah, sorry. s/set_native_handler/set_event_handler/.
(In reply to comment #3) > Created an attachment (id=42099) [details] > fix d3d1x again > > Ah, sorry. s/set_native_handler/set_event_handler/. Fixed, thanks! There seems to be an error in r600, glxinfo showing EE r600_pipe.c:321 r600_get_param - r600: unknown param 43
Fix committed.
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.