[Openchrome-devel] Can't compile openchrome mesa driver: struct _ValidateNode

Rafał Miłecki zajec5
Wed May 6 14:58:50 PDT 2009


Hi,

I'm tying to install whole new openchrome driver (ddx, drm, mesa)
using repositories and branches from:
http://wiki.openchrome.org/pipermail/openchrome-devel/2009-January/000192.html

Is this instruction already out-dated, or sth?

Error I get is:

gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../include -I../../../../../src/mesa
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri
-I/usr/include/drm   `pkg-config --cflags libwsbm`  -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -g
-fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
-D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS  via_buffer_objects.c -o
via_buffer_objects.o
In file included from via_tex.h:31,
                 from via_fbo.h:35,
                 from via_screen.h:31,
                 from via_context.h:35,
                 from via_buffer_objects.h:35,
                 from via_buffer_objects.c:33:
via_ioctl.h: In function ?viaValReq?:
via_ioctl.h:61: error: ?struct _ValidateNode? has no member named
?driver_private?

and browsing libwsbm (wsbm_driver.h) indeed doesn't show me "driver_private":

struct _ValidateNode
{
    uint32_t hash;
    int type_id;
    struct _WsbmListHead head;
    struct _WsbmListHead hashHead;
    int listItem;
    uint64_t set_flags;
    uint64_t clr_flags;
    void *buf;
    struct _WsbmVNodeFuncs *func;
};

Can you help me with this?

-- 
Rafa? Mi?ecki




More information about the Openchrome-devel mailing list