-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 3 Sep 2009, Jack Neely wrote:
> I'm having trouble rebuilding the Open VM Tools for 2.6.18-164.el5:
>
> In file included from
> /builddir/build/BUILD/open-vm-tools-2009.08.24-187411/_kmod_build_/modules/linux/vmxnet3/vmxnet3_drv.c:44:
>
> /builddir/build/BUILD/open-vm-tools-2009.08.24-187411/_kmod_build_/modules/linux/shared/compat_netdevice.h:299:
>
> error: redefinition of 'struct napi_struct'
Just remove declaration of napi_struct struct form compat_netdevice.h on
line 299.
Or use the attached patch.
You can use the same patch on host and guest vmnet.tar.
Gabriel
- --
// Gabriel VLASIU
//
// OpenGPG-KeyID : 0xE684206E
// OpenGPG-Fingerprint: 0C3D 9F8B 725D E243 CB3C 8428 796A DB1F E684 206E
// OpenGPG-URL : http://www.vlasiu.net/public.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFKn//ueWrbH+aEIG4RAjlAAJ42FQSUwfoPI3W3Ba5fcuyHOOKdRgCcCv6R
kkDB/xXvRrx8PvWw/vriFfQ=
=pIQp
-----END PGP SIGNATURE-----diff -urNd vmnet-only.OLD/compat_netdevice.h vmnet-only/compat_netdevice.h
--- vmnet-only.OLD/compat_netdevice.h 2009-08-15 05:55:21.000000000 +0300
+++ vmnet-only/compat_netdevice.h 2009-08-28 23:05:50.000000000 +0300
@@ -287,10 +287,6 @@
#define compat_napi_enable(dev, napi) napi_enable(napi)
#define compat_napi_disable(dev, napi) napi_disable(napi)
#else
-struct napi_struct {
- int dummy;
-};
-
#define compat_netif_napi_add(dev, napi, pollcb, quota) \
do { \
(dev)->poll = (pollcb); \
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list