[Intel-gfx] mesa compile error
Kong, Bertrand C
bertrand.c.kong at intel.com
Fri May 18 22:28:54 CEST 2012
It turned out some old i915_drm.h files were in the complier's search path. I just removed those old files.
Thanks
Bertrand
From: eugeni.dodonov at gmail.com [mailto:eugeni.dodonov at gmail.com] On Behalf Of Eugeni Dodonov
Sent: Tuesday, May 15, 2012 6:48 PM
To: Kong, Bertrand C
Cc: Intel Graphics Development
Subject: Re: [Intel-gfx] mesa compile error
On Tue, May 15, 2012 at 3:50 PM, Kong, Bertrand C <bertrand.c.kong at intel.com<mailto:bertrand.c.kong at intel.com>> wrote:
Hi All,
I tried to compile mesa and got the follow errors. Can someone tell me what the problem is?
Thanks
Bertrand
intel_blit.c: In function \u2018intel_emit_linear_blit\u2019:
intel_blit.c:488:9: warning: variable \u2018ok\u2019 set but not used [-Wunused-but-set-variable]
intel_batchbuffer.c: In function \u2018intel_batchbuffer_save_state\u2019:
intel_batchbuffer.c:96:7: warning: implicit declaration of function \u2018drm_intel_gem_bo_get_reloc_count\u2019 [-Wimplicit-function-declaration]
intel_batchbuffer.c: In function \u2018intel_batchbuffer_reset_to_saved\u2019:
intel_batchbuffer.c:102:4: warning: implicit declaration of function \u2018drm_intel_gem_bo_clear_relocs\u2019 [-Wimplicit-function-declaration]
intel_batchbuffer.c: In function \u2018do_flush_locked\u2019:
intel_batchbuffer.c:148:12: error: \u2018I915_EXEC_GEN7_SOL_RESET\u2019 undeclared (first use in this function)
intel_batchbuffer.c:148:12: note: each undeclared identifier is reported only once for each function it appears in
You need libdrm 2.4.30 or newer, could you check if your include path contains the right libdrm directory? I915_EXEC_GEN7_SOL_RESET should be defined in /usr/include/libdrm/i915_drm.h.
--
Eugeni Dodonov
<http://eugeni.dodonov.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120518/e35525b4/attachment.html>
More information about the Intel-gfx
mailing list