[Mesa-users] configure: error: libudev-dev or sysfs required for building DRI
Sam M
sam_h00 at hotmail.com
Fri Mar 6 13:04:22 PST 2015
When I run the command "make" for vmwgfx I get the following error:
make -C /lib/modules/2.6.32-358.el6.x86_64/source SUBDIRS=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modulesmake[1]: Entering directory `/usr/src/kernels/2.6.32-358.el6.x86_64' CC [M] /root/Desktop/vmwgfx/drm_global.oIn file included from /usr/src/kernels/2.6.32-358.el6.x86_64/arch/x86/include/asm/swiotlb.h:4, from /usr/src/kernels/2.6.32-358.el6.x86_64/arch/x86/include/asm/dma-mapping.h:14, from include/linux/dma-mapping.h:104, from /root/Desktop/vmwgfx/vmwgfx_compat.h:422, from /root/Desktop/vmwgfx/drm_global.c:35:include/linux/swiotlb.h:25:41: error: macro "swiotlb_nr_tbl" passed 1 arguments, but takes just 0make[2]: *** [/root/Desktop/vmwgfx/drm_global.o] Error 1make[1]: *** [_module_/root/Desktop/vmwgfx] Error 2make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.el6.x86_64'make: *** [modules] Error 2
> Date: Thu, 5 Mar 2015 17:07:46 -0700
> From: brianp at vmware.com
> To: sam_h00 at hotmail.com; mesa-users at lists.freedesktop.org
> Subject: Re: [Mesa-users] configure: error: libudev-dev or sysfs required for building DRI
>
> On 03/05/2015 10:09 AM, Sam M wrote:
> > Are there any better instructions on how to setup VMware SVGA3D guest
> > driver for CentOS 6.6? I'm currently using the following instructions at
> > http://www.mesa3d.org/vmware-guest.html
> > <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mesa3d.org_vmware-2Dguest.html&d=AwMFAw&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=Mhv4fKBCPaxXNDjh0S3yjS6j65sDUGUSSt9RZ3NASSk&s=uq-7wCbROSgzV3z_qBJLh9Rb8513VYQMr3mK0NNBdp0&e=>
>
> That's all there is at this time. If you find mistakes or want to make
> additions, file a bug or submit a patch.
>
>
> > What about this issue?
> >
> > I'm having another issue with vmwgfx. When I run the command "make"
> > I get the following error "Makefile:126: *** Cannot find a kernel
> > config file. Stop."
> >
>
> You need to install "kernel-devel-x.y.z" where you can get the version
> by running uname -a.
>
> -Brian
>
>
>
> > > Date: Thu, 5 Mar 2015 10:02:33 -0700
> > > From: brianp at vmware.com
> > > To: sam_h00 at hotmail.com; mesa-users at lists.freedesktop.org
> > > Subject: Re: [Mesa-users] configure: error: libudev-dev or sysfs
> > required for building DRI
> > >
> > > with --disable-dri you'll have no hardware acceleration (software
> > > rendering only).
> > >
> > > -Brian
> > >
> > > On 03/05/2015 09:48 AM, Sam M wrote:
> > > > I solved the issue by removing the 3 from this command
> > --disable-dri3. I
> > > > was able to compile mesa with no issues.
> > > >
> > > > I'm having another issue with vmwgfx. When I run the command "make" I
> > > > get the following error "Makefile:126: *** Cannot find a kernel config
> > > > file. Stop."
> > > >
> > > > > Date: Thu, 5 Mar 2015 09:27:28 -0700
> > > > > From: brianp at vmware.com
> > > > > To: sam_h00 at hotmail.com; mesa-users at lists.freedesktop.org
> > > > > Subject: Re: [Mesa-users] configure: error: libudev-dev or sysfs
> > > > required for building DRI
> > > > >
> > > > > OK, it looks like on RHEL 7, /usr/include/libudev.h comes from the
> > > > > systemd-devel RPM. So try "sudo yum install systemd-devel".
> > > > >
> > > > > -Brian
> > > > >
> > > > >
> > > > > On 03/05/2015 09:02 AM, Sam M wrote:
> > > > > > libsysfs wasn't installed so I installed it... Got the same error
> > > > "configure: error: libudev-dev or sysfs required for building DRI"
> > > > > >
> > > > > > glxinfo
> > > > > >
> > > > > > OpenGL vendor string: Mesa Project
> > > > > > OpenGL renderer string: Software Rasterizer
> > > > > > OpenGL version string: 2.1 Mesa 10.1.2
> > > > > > OpenGL shading language version string: 1.20
> > > > > >
> > > > > > > Date: Thu, 5 Mar 2015 08:54:12 -0700
> > > > > > > From: brianp at vmware.com
> > > > > > > To: sam_h00 at hotmail.com; mesa-users at lists.freedesktop.org
> > > > > > > Subject: Re: [Mesa-users] configure: error: libudev-dev or sysfs
> > > > > > required for building DRI
> > > > > > >
> > > > > > > On 03/05/2015 08:35 AM, Sam M wrote:
> > > > > > > > I'm trying to install VMware guest GL driver on CentOS 6.5
> > but with
> > > > > > no luck.
> > > > > > > >
> > > > > > > > Building the Code for Mesa
> > > > > > > >
> > > > > > > > ./autogen.sh --prefix=/usr --libdir=/usr/lib64
> > > > > > > > --with-gallium-drivers=svga --with-dri-drivers= --enable-xa
> > > > > > --disable-dri3
> > > > > > > >
> > > > > > > > I get the following error "configure: error: libudev-dev or
> > sysfs
> > > > > > > > required for building DRI"
> > > > > > >
> > > > > > > Check that libsysfs is installed. Install if with yum if missing.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > > Has anyone got VMware SVGA3D guest driver installed on
> > CentOS 6.5
> > > > > > or 6.6?
> > > > > > > >
> > > > > > > > Any help would be much appreciated.
> > > > > > >
> > > > > > > I haven't tried CentOS, but when I tried installing on RHEL 7
> > I had a
> > > > > > > lot of problems and haven't had time to investigate yet.
> > > > > > >
> > > > > > > -Brian
> > > > > > >
> > > > > > >
> > > > >
> > >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20150306/9c5c9051/attachment.html>
More information about the mesa-users
mailing list