<div dir="ltr"><div><div>Hi all!<br></div>i'm trying to build latest mesa release 9.1.1 on my arm board i.mx6<br></div>and i got<br><br><div><div><br>.c  -fPIC -DPIC -o .libs/xorg_driver.o<br>In file included from xorg_driver.c:36:0:<br>
/usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated.  For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp]<br>
In file included from xorg_driver.c:41:0:<br>/usr/include/xorg/fb.h:94:2: error: #error "GLYPHPADBYTES must be 4"<br>In file included from /usr/include/xorg/exa.h:39:0,<br>                 from xorg_tracker.h:43,<br>
                 from xorg_dri2.c:35:<br>/usr/include/xorg/fb.h:94:2: error: #error "GLYPHPADBYTES must be 4"In file included from /usr/include/xorg/exa.h:39:0,<br>                 from xorg_tracker.h:43,<br>                 from xorg_exa.h:4,<br>
                 from xorg_composite.h:4,<br>                 from xorg_composite.c:1:<br>/usr/include/xorg/fb.h:94:2: error: #error "GLYPHPADBYTES must be 4"<br><br>In file included from /usr/include/xorg/exa.h:39:0,<br>
                 from xorg_tracker.h:43,<br>                 from xorg_crtc.c:43:<br>/usr/include/xorg/fb.h:94:2: error: #error "GLYPHPADBYTES must be 4"<br>gmake[4]: *** [xorg_dri2.lo] Error 1<br>gmake[4]: *** Waiting for unfinished jobs....<br>
gmake[4]: *** [xorg_composite.lo] Error 1<br>xorg_driver.c: In function 'drv_pre_init':<br>xorg_driver.c:347:23: warning: variable 'xf86_config' set but not used [-Wunused-but-set-variable]<br>gmake[4]: *** [xorg_crtc.lo] Error 1<br>
gmake[4]: *** [xorg_driver.lo] Error 1<br>gmake[4]: Leaving directory `/home/fdkit/x11-dev/mesa/BUILD/Mesa-9.1.1/src/gallium/state_trackers/xorg'<br>gmake[3]: *** [all-recursive] Error 1<br>gmake[3]: Leaving directory `/home/fdkit/x11-dev/mesa/BUILD/Mesa-9.1.1/src/gallium/state_trackers'<br>
gmake[2]: *** [all-recursive] Error 1<br>gmake[2]: Leaving directory `/home/fdkit/x11-dev/mesa/BUILD/Mesa-9.1.1/src/gallium'<br>gmake[1]: *** [all-recursive] Error 1<br>gmake[1]: Leaving directory `/home/fdkit/x11-dev/mesa/BUILD/Mesa-9.1.1/src'<br>
make: *** [all-recursive] Error 1<br>error: Bad exit status from /var/tmp/rpm-tmp.34996 (%build)<br><br><br></div><div>I googled it and found similar problem with gentoo + rpi<br><a href="http://forums.gentoo.org/viewtopic-t-948368-start-0.html">http://forums.gentoo.org/viewtopic-t-948368-start-0.html</a><br>
<br></div><div>Well, i deleted <br>#ifdef __arm32__<br></div><div>#endif<br></div><div>do make -j4<br></div><div><br></div><div>And mesa proceed to build again.<br></div><div>I think that macro __arm32__ does not work properly.<br>
</div><div>Need any suggestion.<br><br><br> uname -a<br>Linux <a href="http://mx6.lindev.ch">mx6.lindev.ch</a> 3.0.35-2026-geaaf30e-02070-g705bf58 #1 SMP PREEMPT Thu Dec 6 14:32:52 MST 2012 armv7l armv7l armv7l GNU/Linux<br>
</div></div></div>