[Mesa-dev] mesa 9.1.1 for arm

Alexander Khryukin alexander at mezon.ru
Wed Apr 3 03:40:25 PDT 2013


Hi all!
i'm trying to build latest mesa release 9.1.1 on my arm board i.mx6
and i got


.c  -fPIC -DPIC -o .libs/xorg_driver.o
In file included from xorg_driver.c:36:0:
/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]
In file included from xorg_driver.c:41:0:
/usr/include/xorg/fb.h:94:2: error: #error "GLYPHPADBYTES must be 4"
In file included from /usr/include/xorg/exa.h:39:0,
                 from xorg_tracker.h:43,
                 from xorg_dri2.c:35:
/usr/include/xorg/fb.h:94:2: error: #error "GLYPHPADBYTES must be 4"In file
included from /usr/include/xorg/exa.h:39:0,
                 from xorg_tracker.h:43,
                 from xorg_exa.h:4,
                 from xorg_composite.h:4,
                 from xorg_composite.c:1:
/usr/include/xorg/fb.h:94:2: error: #error "GLYPHPADBYTES must be 4"

In file included from /usr/include/xorg/exa.h:39:0,
                 from xorg_tracker.h:43,
                 from xorg_crtc.c:43:
/usr/include/xorg/fb.h:94:2: error: #error "GLYPHPADBYTES must be 4"
gmake[4]: *** [xorg_dri2.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: *** [xorg_composite.lo] Error 1
xorg_driver.c: In function 'drv_pre_init':
xorg_driver.c:347:23: warning: variable 'xf86_config' set but not used
[-Wunused-but-set-variable]
gmake[4]: *** [xorg_crtc.lo] Error 1
gmake[4]: *** [xorg_driver.lo] Error 1
gmake[4]: Leaving directory
`/home/fdkit/x11-dev/mesa/BUILD/Mesa-9.1.1/src/gallium/state_trackers/xorg'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/home/fdkit/x11-dev/mesa/BUILD/Mesa-9.1.1/src/gallium/state_trackers'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/home/fdkit/x11-dev/mesa/BUILD/Mesa-9.1.1/src/gallium'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/fdkit/x11-dev/mesa/BUILD/Mesa-9.1.1/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.34996 (%build)


I googled it and found similar problem with gentoo + rpi
http://forums.gentoo.org/viewtopic-t-948368-start-0.html

Well, i deleted
#ifdef __arm32__
#endif
do make -j4

And mesa proceed to build again.
I think that macro __arm32__ does not work properly.
Need any suggestion.


 uname -a
Linux mx6.lindev.ch 3.0.35-2026-geaaf30e-02070-g705bf58 #1 SMP PREEMPT Thu
Dec 6 14:32:52 MST 2012 armv7l armv7l armv7l GNU/Linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130403/269c3de1/attachment.html>


More information about the mesa-dev mailing list