Using the following command to check out what happened to vmware.
sudo vmware-modconfig --console --install-all
This command can see all of the vmware compiling log.
I saw "implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]" this erro message on console log.
Solution :
##### Create a patch file was called vmware9.k3.8rc4.patch #####
--- vmci-only/linux/driver.c 2012-08-16 05:53:18.000000000 +1000
+++ vmci-only3.8rc4/linux/driver.c 2013-01-23 11:19:10.325897824 +1100
@@ -124,7 +124,7 @@
.name = "vmci",
.id_table = vmci_ids,
.probe = vmci_probe_device,
- .remove = __devexit_p(vmci_remove_device),
+ .remove = vmci_remove_device,
};
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
@@ -1750,7 +1750,7 @@
*-----------------------------------------------------------------------------
*/
-static int __devinit
+static int
vmci_probe_device(struct pci_dev *pdev, // IN: vmci PCI device
const struct pci_device_id *id) // IN: matching device ID
{
@@ -1978,7 +1978,7 @@
*-----------------------------------------------------------------------------
*/
-static void __devexit
+static void
vmci_remove_device(struct pci_dev* pdev)
{
struct vmci_device *dev = pci_get_drvdata(pdev);
###################################cd /usr/lib/vmware/modules/source
tar -xf vmci.tar
cd vmci-only
patch -p1 < 'vmware9.k3.8rc4.patch'
cd ..
tar -cf vmci.tar vmci-only/
Then solve the problem.
Reference:
0 意見:
張貼留言