Hi, I have troubles to build libdrm with intel support on FreeBSD , I got this error messages:
And they have more than 20
I build with : WITH_NEW_XORG, WITH_KMS and WITH_GALLIUM
my /etc/make.conf
You can see my build log of libdrm in attachment
Code:
Making all in intel
231 gmake[4] : on entre dans le répertoire « /usr/ports/graphics/libdrm/work/lib drm-2.4.52/intel »
232 CC intel_bufmgr.lo
233 CC intel_bufmgr_fake.lo
234 CC intel_bufmgr_gem.lo
235 CC intel_decode.lo
236 intel_bufmgr_gem.c:463:29: error: subscript of pointer to incomplete type 's truct drm_i915_gem_exec_object2'
237 bufmgr_gem->exec2_objects[bo_gem->validate_index].fl ags |=
238 ~~~~~~~~~~~~~~~~~~~~~~~~~^
239 intel_bufmgr_gem.c:103:9: note: forward declaration of 'struct drm_i915_gem_ exec_object2'
Code:
42 intel_bufmgr_gem.c:103:9: note: forward declaration of 'struct drm_i915_gem_ exec_object2'
343 struct drm_i915_gem_exec_object2 *exec2_objects;
344 ^
345 fatal error: too many errors emitted, stopping now [-ferror-limit=]
my /etc/make.conf
Code:
1 SVN=/usr/local/bin/svn
2 SVN_UPDATE=yes
3 WITH_NEW_XORG=yes
4 WITH_KMS=yes
5 WITH_GALLIUM=yes
6 WITH_PKNG=yes
7 #for compiling kernel/FreeBSD
8 #NO_PROFILE=true
Code:
uname -a
FreeBSD darkness 10.0-STABLE FreeBSD 10.0-STABLE #3 r267646: Thu Jun 19 21:51:48 CEST 2014 monwarez@darkness:/usr/obj/usr/src/sys/CUSTOM amd64