Compiling X.org 7.1 under Slackware

Brian Paul brian.paul at tungstengraphics.com
Mon Oct 16 13:52:52 PDT 2006


Get the latest drm sources from git, compile and install first.

-Brian

Alberto Simões wrote:
> Ok, thanks to Yann I could manage to solve this compilation problem (I
> was missing the Mesa source). But now I have a similar problem:
> 
> In file included from glxdri.c:44:
> ../../hw/xfree86/os-support/xf86drm.h:547: error: expected declaration
> specifiers or '...' before 'drm_drawable_info_type_t'
> make[2]: *** [glxdri.lo] Error 1
> make[2]: Leaving directory `/tmp/src/xserver/GL/glx'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/src/xserver/GL'
> make: *** [all-recursive] Error 1
> 
> 
> Suggestions are REALLY welcome. I am without X :)
> 
> Cheers
> Alberto
> 
> On 10/16/06, Alberto Simões <hashashin at gmail.com> wrote:
> 
>> Hi,
>>
>> I am using Slackware and trying to compile by hand X.org. I know I am
>> crazy, but I like it. The problem is that sometimes things doesn't
>> work as expected. At the moment I have this problem:
>>
>> In file included from xf86drm.c:74:
>> ../../../../hw/xfree86/os-support/xf86drm.h:547: error: expected
>> declaration specifiers or '...' before 'drm_drawable_info_type_t'
>> xf86drm.c:1393: error: expected declaration specifiers or '...' before
>> 'drm_drawable_info_type_t'
>> xf86drm.c: In function 'drmUpdateDrawableInfo':
>> xf86drm.c:1396: error: 'drm_update_draw_t' undeclared (first use in
>> this function)
>> xf86drm.c:1396: error: (Each undeclared identifier is reported only once
>> xf86drm.c:1396: error: for each function it appears in.)
>> xf86drm.c:1396: error: expected ';' before 'update'
>> xf86drm.c:1398: error: 'update' undeclared (first use in this function)
>> xf86drm.c:1399: error: 'type' undeclared (first use in this function)
>> xf86drm.c:1403: error: 'DRM_IOCTL_UPDATE_DRAW' undeclared (first use
>> in this function)
>> make[5]: *** [libdrm_la-xf86drm.lo] Error 1
>> make[5]: Leaving directory `/tmp/src/xserver/hw/xfree86/os-support/drm'
>> ...
>>
>> Now, I can't find any definition of drm_drawable_info_type_t anywhere
>> in the X.org tree or in libdrm (2.0.2 is the one I have installed).
>>
>> Can you please help me?
>> Thank you
>> Kind regards,
>> Alberto
>>
>> -- 
>> Alberto Simões
>>
> 
> 




More information about the xorg mailing list