On Tue, Jun 11, 2013 at 08:09:40AM -0700, Khem Raj wrote:
> On Tue, Jun 11, 2013 at 6:49 AM, Søren Holm <[email protected]> wrote:
> >
> > Copying my local dri2.h into the sysroot like this makes the driver compile.
> >
> >  cp /usr/include/xorg/dri2.h  tmp-eglibc/sysroots/vmc16/usr/include/xorg/
> >
> > Any hint on where that files is.
> >
> > Søren HolmTirsdag den 11. juni 2013 00:10:34 skrev :
> >> Hi
> >>
> >> When compiling xf86-video-intel I get the following compilation error. Do
> >> you have any ideas - I have looked everywhere for xorg/dri2.h
> >>
> >> | /home/sgh/git/openembedded/build/tmp-
> >>
> >> eglibc/sysroots/vmc16/usr/include/xorg/xf86.h:202:33: note: previous
> >> declaration of 'xf86CVTMode' was here
> >>
> >> | In file included from i830_3d.c:33:0:
> >> | intel.h:66:18: fatal error: dri2.h: No such file or directory
> >> | compilation terminated.
> 
> 
> do you have xserver-xorg staged in sysroot

And you need to build xserver-xorg with right PACKAGECONFIG options.

> >> | make[3]: *** [i830_3d.lo] Error 1
> >> | make[3]: Leaving directory `/home/sgh/git/openembedded/build/tmp-
> >>
> >> eglibc/work/prescott-oe-linux/xf86-video-intel/2_2.21.6-r0/xf86-video-
> >> intel-2.21.6/src'
> >>
> >> | make[2]: *** [all-recursive] Error 1
> >> | make[2]: Leaving directory `/home/sgh/git/openembedded/build/tmp-
> >>
> >> eglibc/work/prescott-oe-linux/xf86-video-intel/2_2.21.6-r0/xf86-video-
> >> intel-2.21.6/src'
> >>
> >> | make[1]: *** [all-recursive] Error 1
> >> | make[1]: Leaving directory `/home/sgh/git/openembedded/build/tmp-
> >>
> >> eglibc/work/prescott-oe-linux/xf86-video-intel/2_2.21.6-r0/xf86-video-
> >> intel-2.21.6'
> >>
> >> | make: *** [all] Error 2
> >> | ERROR: oe_runmake failed
> > --
> > Søren Holm
> > _______________________________________________
> > Openembedded-devel mailing list
> > [email protected]
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to