[Intel-gfx] Problem building latest intel git tree
Robert Lowery
rglowery at exemail.com.au
Mon Mar 30 11:53:18 CEST 2009
> On Mon, Mar 30, 2009 at 9:37 AM, Robert Lowery <rglowery at exemail.com.au>
> wrote:
>>
>> #define I915_SETPARAM_NUM_USED_FENCES 4
>>
>> either place this define in i830_memory.c or replace
>> I915_SETPARAM_NUM_USED_FENCES with the value 4
>>
>
> Thanks, but I have now got to the next one:
> drmmode_display.c: In function âdrmmode_output_create_resourcesâ:
> drmmode_display.c:638: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:638: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:638: error: dereferencing pointer to incomplete type
> drmmode_display.c:639: error: dereferencing pointer to incomplete type
> drmmode_display.c:639: error: dereferencing pointer to incomplete type
> drmmode_display.c:650: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:650: error: dereferencing pointer to incomplete type
> drmmode_display.c: In function âdrmmode_output_set_propertyâ:
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:700: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:700: error: dereferencing pointer to incomplete type
> drmmode_display.c:702: error: invalid use of undefined type âstruct
> drm_mode_property_enumâ
> drmmode_display.c:702: error: dereferencing pointer to incomplete type
> make[4]: *** [drmmode_display.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
I got around this by including "drm_mode.h" in drmmode_display.c
eg
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -35,6 +35,7 @@
#include "i830.h"
#include "intel_bufmgr.h"
#include "xf86drmMode.h"
+#include "drm_mode.h"
#include "X11/Xatom.h"
HTH
-Rob
More information about the Intel-gfx
mailing list