Skip to contentSkip to conversation

xf86-video-intel compilation failure

DISCUSSION Søren Holm 3 participants 4 messages Jun 10, 2013 – Jun 11, 2013

lore
Share & tools
lore
#0 lore raw

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.
| 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

Signature · 1 line
Søren Holm
#1 lore raw

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 :

Quoted 33 lines

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.
| 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

Signature · 1 line
Søren Holm
#2 lore raw
Quoted 21 lines · Søren Holm

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 :

Quoted 13 lines

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

Quoted 26 lines
Quoted 12 lines

| 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'

Quoted 8 lines

| 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

#3 lore raw
Quoted 19 lines · Khem Raj
Quoted 18 lines · Søren Holm

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 :

Quoted 10 lines

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

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
| 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.

Quoted 30 lines
Quoted 18 lines
Quoted 18 lines

| 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'

Quoted 8 lines
Quoted 2 lines

| 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

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]