<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'> When I run the command "make" for vmwgfx I get the following error:<div><br></div><div><div>make -C /lib/modules/2.6.32-358.el6.x86_64/source SUBDIRS=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modules</div><div>make[1]: Entering directory `/usr/src/kernels/2.6.32-358.el6.x86_64'</div><div> CC [M] /root/Desktop/vmwgfx/drm_global.o</div><div>In file included from /usr/src/kernels/2.6.32-358.el6.x86_64/arch/x86/include/asm/swiotlb.h:4,</div><div> from /usr/src/kernels/2.6.32-358.el6.x86_64/arch/x86/include/asm/dma-mapping.h:14,</div><div> from include/linux/dma-mapping.h:104,</div><div> from /root/Desktop/vmwgfx/vmwgfx_compat.h:422,</div><div> from /root/Desktop/vmwgfx/drm_global.c:35:</div><div>include/linux/swiotlb.h:25:41: error: macro "swiotlb_nr_tbl" passed 1 arguments, but takes just 0</div><div>make[2]: *** [/root/Desktop/vmwgfx/drm_global.o] Error 1</div><div>make[1]: *** [_module_/root/Desktop/vmwgfx] Error 2</div><div>make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.el6.x86_64'</div><div>make: *** [modules] Error 2</div><div><br></div><div><br></div><div><br><div>> Date: Thu, 5 Mar 2015 17:07:46 -0700<br>> From: brianp@vmware.com<br>> To: sam_h00@hotmail.com; mesa-users@lists.freedesktop.org<br>> Subject: Re: [Mesa-users] configure: error: libudev-dev or sysfs required for building DRI<br>> <br>> On 03/05/2015 10:09 AM, Sam M wrote:<br>> > Are there any better instructions on how to setup VMware SVGA3D guest<br>> > driver for CentOS 6.6? I'm currently using the following instructions at<br>> > http://www.mesa3d.org/vmware-guest.html<br>> > <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=><br>> <br>> That's all there is at this time. If you find mistakes or want to make <br>> additions, file a bug or submit a patch.<br>> <br>> <br>> > What about this issue?<br>> ><br>> > I'm having another issue with vmwgfx. When I run the command "make"<br>> > I get the following error "Makefile:126: *** Cannot find a kernel<br>> > config file. Stop."<br>> ><br>> <br>> You need to install "kernel-devel-x.y.z" where you can get the version <br>> by running uname -a.<br>> <br>> -Brian<br>> <br>> <br>> <br>> > > Date: Thu, 5 Mar 2015 10:02:33 -0700<br>> > > From: brianp@vmware.com<br>> > > To: sam_h00@hotmail.com; mesa-users@lists.freedesktop.org<br>> > > Subject: Re: [Mesa-users] configure: error: libudev-dev or sysfs<br>> > required for building DRI<br>> > ><br>> > > with --disable-dri you'll have no hardware acceleration (software<br>> > > rendering only).<br>> > ><br>> > > -Brian<br>> > ><br>> > > On 03/05/2015 09:48 AM, Sam M wrote:<br>> > > > I solved the issue by removing the 3 from this command<br>> > --disable-dri3. I<br>> > > > was able to compile mesa with no issues.<br>> > > ><br>> > > > I'm having another issue with vmwgfx. When I run the command "make" I<br>> > > > get the following error "Makefile:126: *** Cannot find a kernel config<br>> > > > file. Stop."<br>> > > ><br>> > > > > Date: Thu, 5 Mar 2015 09:27:28 -0700<br>> > > > > From: brianp@vmware.com<br>> > > > > To: sam_h00@hotmail.com; mesa-users@lists.freedesktop.org<br>> > > > > Subject: Re: [Mesa-users] configure: error: libudev-dev or sysfs<br>> > > > required for building DRI<br>> > > > ><br>> > > > > OK, it looks like on RHEL 7, /usr/include/libudev.h comes from the<br>> > > > > systemd-devel RPM. So try "sudo yum install systemd-devel".<br>> > > > ><br>> > > > > -Brian<br>> > > > ><br>> > > > ><br>> > > > > On 03/05/2015 09:02 AM, Sam M wrote:<br>> > > > > > libsysfs wasn't installed so I installed it... Got the same error<br>> > > > "configure: error: libudev-dev or sysfs required for building DRI"<br>> > > > > ><br>> > > > > > glxinfo<br>> > > > > ><br>> > > > > > OpenGL vendor string: Mesa Project<br>> > > > > > OpenGL renderer string: Software Rasterizer<br>> > > > > > OpenGL version string: 2.1 Mesa 10.1.2<br>> > > > > > OpenGL shading language version string: 1.20<br>> > > > > ><br>> > > > > > > Date: Thu, 5 Mar 2015 08:54:12 -0700<br>> > > > > > > From: brianp@vmware.com<br>> > > > > > > To: sam_h00@hotmail.com; mesa-users@lists.freedesktop.org<br>> > > > > > > Subject: Re: [Mesa-users] configure: error: libudev-dev or sysfs<br>> > > > > > required for building DRI<br>> > > > > > ><br>> > > > > > > On 03/05/2015 08:35 AM, Sam M wrote:<br>> > > > > > > > I'm trying to install VMware guest GL driver on CentOS 6.5<br>> > but with<br>> > > > > > no luck.<br>> > > > > > > ><br>> > > > > > > > Building the Code for Mesa<br>> > > > > > > ><br>> > > > > > > > ./autogen.sh --prefix=/usr --libdir=/usr/lib64<br>> > > > > > > > --with-gallium-drivers=svga --with-dri-drivers= --enable-xa<br>> > > > > > --disable-dri3<br>> > > > > > > ><br>> > > > > > > > I get the following error "configure: error: libudev-dev or<br>> > sysfs<br>> > > > > > > > required for building DRI"<br>> > > > > > ><br>> > > > > > > Check that libsysfs is installed. Install if with yum if missing.<br>> > > > > > ><br>> > > > > > ><br>> > > > > > ><br>> > > > > > > > Has anyone got VMware SVGA3D guest driver installed on<br>> > CentOS 6.5<br>> > > > > > or 6.6?<br>> > > > > > > ><br>> > > > > > > > Any help would be much appreciated.<br>> > > > > > ><br>> > > > > > > I haven't tried CentOS, but when I tried installing on RHEL 7<br>> > I had a<br>> > > > > > > lot of problems and haven't had time to investigate yet.<br>> > > > > > ><br>> > > > > > > -Brian<br>> > > > > > ><br>> > > > > > ><br>> > > > ><br>> > ><br>> <br></div></div></div> </div></body>
</html>