[poky] Problem while pulling mesa

kubera samrat kubera.samrat at gmail.com
Wed Mar 23 03:13:09 PDT 2011


Hi Yu ke,
           I have changed my extra conf. Now I am getting an error stated
below.

******************************************
EXTRA_OECONF += "--with-driver=dri --enable-egl --enable-gallium *
--enable-gallium-eg*l --enable-glx-tls --enable-gl-osmesa --enable-glu
--enable-glw --enable-gallium-swrast --enable-xcbi --enable-egl *--enable-gles2
--with-state-trackers=glx,egl,es --enable-gallium-swrast
--with-egl-driver-dir=${D}${libdir}/egl --with-egl-platforms=x11,drm
--enable-gles-overlay*"
*************************************************
ERROR LOG
*******************************************
| Traceback (most recent call last):
|   File "main/es_generator.py", line 174, in <module>
|     keys = apiutil.GetAllFunctions(functionList, version)
|   File
"/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspecutil.py",
line 87, in GetAllFunctions
|     _ParseXML(filename, api)
|   File
"/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspecutil.py",
line 52, in _ParseXML
|     impl = spec.get_impl()
|   File
"/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspec.py",
line 65, in get_impl
|     return API(self, self.impl_node)
|   File
"/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspec.py",
line 101, in __init__
|     self.categories)
|   File
"/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspec.py",
line 175, in __init__
|     self._init_params(param_nodes)
|   File
"/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es/main/APIspec.py",
line 194, in _init_params
|     if not size or size > param_node.lsCountNode():
|   File
"/home/kuberasamrat/poky-chrome/build/tmp/sysroots/x86_64-linux/usr/lib/python2.6/site-packages/libxml2.py",
line 2983, in lsCountNode
|     ret = libxml2mod.xmlLsCountNode(self._o)
|* AttributeError: 'module' object has no attribute 'xmlLsCountNode'*
*| make[2]: *** No rule to make target `depend', needed by `default'.  Stop.
*
*| make[2]: Leaving directory
`/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src/mesa/es'
*
*| make[1]: *** [subdirs] Error 1*
*| make[1]: Leaving directory
`/home/kuberasamrat/poky-chrome/build/tmp/work/core2-poky-linux/mesa-dri-7.8.2-r2/Mesa-7.8.2/src'
*
*| make: *** [default] Error 1*
*| FATAL: oe_runmake failed*
****************************************************************************************************************************************************






On Wed, Mar 23, 2011 at 3:10 PM, Yu Ke <ke.yu at intel.com> wrote:

> On Mar 22, 19:05, kubera samrat wrote:
> > Hi all,
> >          I have included mesa in my recipe. I got all the .so files which
> I
> > needed except GLES files. I am including my bb file in this mail below.
> So
> > please tell me the modifications which has to be done such that those
> > libraries get included. I have given extra conf according to the website
> > given below
> > http://mesa3d.sourceforge.net/
> > http://mesa3d.sourceforge.net/egl.html
>
> to enable GLES, the following configure options are required:
> --enable-gles1          enable support for OpenGL ES 1.x API [default=no]
> --enable-gles2          enable support for OpenGL ES 2.x API [default=no]
>
> so you can try to add:
>
> EXTRA_OECONF += "--enable-gles1"  or
> EXTRA_OECONF += "--enable-gles2"
>
> Regards
> Ke
>



Thanks and regards,
V kubera Samrat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110323/5d1749c6/attachment.html>


More information about the poky mailing list