[Openchrome-users] svn build error

Troels Blum troels
Wed Aug 8 03:58:08 PDT 2007


Thanks, that did the trick.

So the next question is just why is that missing in drm/drm.h?
I guess that's a question for the gentoo guys.

-- Troels 

ons, 08 08 2007 kl. 08:30 +0200, skrev Giampiero Gabbiani: 
> It seems like the libdrm header file /usr/include/drm/drm.h is missing the stdint.h, where the uint64_t is typedef-ined.
> 
> I solved this modifing /usr/include/drm/drm.h and adding, at row number 139, the following pre-processor include:
> 
> #include <stdint.h>
> 
> hope this could help.
> 
> Giampiero Gabbiani
> > I am using the overlay, and get the build errors.
> > 
> > -- Troels
> > 
> > man, 06 08 2007 kl. 08:14 -0500, skrev Evan Roth:
> > > Troels,
> > > 
> > > for what it's worth, i've had great success building the driver
> > > multiple times on gentoo by using the overlay and instructions found
> > > in the wiki:
> > > http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=Compiling+the
> > > +source+code+on+Gentoo
> > > 
> > > Before that overlay was published, the install process was rather
> > > tedious with patching xorg-server and so on, but now it's
> > > great...simply emerge those packages and you're off. 
> > > 
> > > /evan
> > > 
> > > On 8/6/07, Troels Blum <troels at blum.dk> 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
> > >         >
> > >         
> > >         _______________________________________________
> > >         openchrome-users mailing list
> > >         openchrome-users at openchrome.org
> > >         http://wiki.openchrome.org/mailman/listinfo/openchrome-users
> > >         Main page:
> > >         http://www.openchrome.org
> > >         Wiki:
> > >         http://wiki.openchrome.org
> > >         User Forum:
> > >         http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
> > >         
> > > 
> > 
> _______________________________________________
> openchrome-users mailing list
> openchrome-users at openchrome.org
> http://wiki.openchrome.org/mailman/listinfo/openchrome-users
> Main page:
> http://www.openchrome.org
> Wiki:
> http://wiki.openchrome.org
> User Forum:
> http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1767 bytes
Desc: not available
Url : http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20070808/3d0486d1/smime.bin



More information about the Openchrome-users mailing list