[Openchrome-users] svn build error

Xavier Bachelot xavier
Mon Aug 6 08:42:26 PDT 2007


Troels Blum wrote:
> I am running gentoo, and libdrm is installed from git. So I would think
> that I have all the necessary headerfiles. These are installed from the
> libdrm package:
> /usr/include/drm/drm.h
> /usr/include/drm/drm_sarea.h
> /usr/include/drm/i915_drm.h
> /usr/include/drm/mach64_drm.h
> /usr/include/drm/mga_drm.h
> /usr/include/drm/nouveau_drm.h
> /usr/include/drm/r128_drm.h
> /usr/include/drm/r300_reg.h
> /usr/include/drm/radeon_drm.h
> /usr/include/drm/savage_drm.h
> /usr/include/drm/sis_drm.h
> /usr/include/drm/via_3d_reg.h
> /usr/include/drm/via_drm.h
> /usr/include/xf86drm.h
> /usr/include/xf86mm.h
> 
> Am I missing anything?
> 
> BR Troels
> 
> tir, 31 07 2007 kl. 21:41 +0200, skrev Xavier Bachelot:
>> Troels Blum wrote:
>>> Hi,
>>>
>>> I get the following errors when trying to build the openchrome drivers
>>> from svn:
>>> In file included from via_drmclient.h:27,
>>>                  from via_drm.h:35,
>>>                  from via_priv.h:5,
>>>                  from via_driver.h:64,
>>>                  from via_accel.c:45:
>>> /usr/include/drm/drm.h:673: error: expected specifier-qualifier-list
>>> before 'uint64_t'
>>> /usr/include/drm/drm.h:788: error: expected specifier-qualifier-list
>>> before 'uint64_t'
>>> /usr/include/drm/drm.h:797: error: expected specifier-qualifier-list
>>> before 'uint64_t'
>>> /usr/include/drm/drm.h:823: error: expected specifier-qualifier-list
>>> before 'uint64_t'
>>> /usr/include/drm/drm.h:872: error: expected specifier-qualifier-list
>>> before 'uint64_t'
>>> /usr/include/drm/drm.h:901: error: expected specifier-qualifier-list
>>> before 'uint64_t'
>>>
>>>
>>> Can anybody help?
>>>
>>> P.S. I tried to attach my config.log but the message was rejected by the list because it was to big
>>>
>> You're missing some libdrm headers files (look for a package called 
>> something like libdrm-devel for your distro).
>>
>> Regards,
>> Xavier
>>
The problem might be in drm git tree. Look at the attached patch and 
possibly try to revert it.

Regards,
Xavier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commit-6ad1df2.diff
Type: text/x-patch
Size: 9350 bytes
Desc: not available
Url : http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20070806/1ce7c632/commit-6ad1df2-0001.bin



More information about the Openchrome-users mailing list