Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 219257

VMWare Tools fail to compile in kubuntu

$
0
0

Hello All,

 

I try to install Kubuntu 14 as guest in VM Workstation.

Install of VMWare Tools fails with kernel compile error.

Can you help?

 

Thanks,

Gert

 

Searching for GCC...

Detected GCC binary at "/usr/bin/gcc".

The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.

Would you like to change it? [no]

 

Searching for a valid kernel header path...

Detected the kernel headers at "/lib/modules/3.19.0-25-generic/build/include".

The path "/lib/modules/3.19.0-25-generic/build/include" appears to be a valid

path to the 3.19.0-25-generic kernel headers.

Would you like to change it? [no] yes                                            

 

Enter the path to the kernel header files for the 3.19.0-25-generic kernel?

[/lib/modules/3.19.0-25-generic/build/include] /usr/src/linux-headers-3.19.0-25-generic/include

 

The path "/usr/src/linux-headers-3.19.0-25-generic/include" appears to be a

valid path to the 3.19.0-25-generic kernel headers.

Would you like to change it? [no]

 

Using 2.6.x kernel build system.

make: Entering directory `/tmp/modconfig-qFw5gg/vmhgfs-only'

/usr/bin/make -C /usr/src/linux-headers-3.19.0-25-generic/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

          MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/linux-headers-3.19.0-25-generic'

  CC [M]  /tmp/modconfig-qFw5gg/vmhgfs-only/backdoor.o

  CC [M]  /tmp/modconfig-qFw5gg/vmhgfs-only/backdoorGcc64.o

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/backdoor.h:30:0,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/backdoor.c:35:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/backdoor_types.h: In function ‘BACKDOOR_STRUCT_SIZES’:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:320:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]

       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \

                    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:342:7: note: in definition of macro ‘MY_ASSERTS’

       assertions \

       ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/backdoor_types.h:112:12: note: in expansion of macro ‘ASSERT_ON_COMPILE’

            ASSERT_ON_COMPILE(sizeof(Backdoor_proto) == 6 * sizeof(uintptr_t));

            ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:320:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]

       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \

                    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:342:7: note: in definition of macro ‘MY_ASSERTS’

       assertions \

       ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/backdoor_types.h:113:12: note: in expansion of macro ‘ASSERT_ON_COMPILE’

            ASSERT_ON_COMPILE(sizeof(Backdoor_proto_hb) == 7 * sizeof(uintptr_t));

            ^

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/backdoor.h:30:0,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/backdoorGcc64.c:38:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/backdoor_types.h: In function ‘BACKDOOR_STRUCT_SIZES’:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:320:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]

       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \

                    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:342:7: note: in definition of macro ‘MY_ASSERTS’

       assertions \

       ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/backdoor_types.h:112:12: note: in expansion of macro ‘ASSERT_ON_COMPILE’

            ASSERT_ON_COMPILE(sizeof(Backdoor_proto) == 6 * sizeof(uintptr_t));

            ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:320:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]

       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \

                    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:342:7: note: in definition of macro ‘MY_ASSERTS’

       assertions \

       ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/backdoor_types.h:113:12: note: in expansion of macro ‘ASSERT_ON_COMPILE’

            ASSERT_ON_COMPILE(sizeof(Backdoor_proto_hb) == 7 * sizeof(uintptr_t));

            ^

  CC [M]  /tmp/modconfig-qFw5gg/vmhgfs-only/bdhandler.o

  CC [M]  /tmp/modconfig-qFw5gg/vmhgfs-only/cpName.o

  CC [M]  /tmp/modconfig-qFw5gg/vmhgfs-only/cpNameLinux.o

  CC [M]  /tmp/modconfig-qFw5gg/vmhgfs-only/cpNameLite.o

  CC [M]  /tmp/modconfig-qFw5gg/vmhgfs-only/dentry.o

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/hgfs.h:40:0,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/request.h:38,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/transport.h:26,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/bdhandler.c:30:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:245:0: warning: "DEPRECATED" redefined [enabled by default]

    #define DEPRECATED(_fix) do {} while (0)

^

In file included from include/linux/kernel.h:13:0,

                 from include/asm-generic/bug.h:13,

                 from ./arch/x86/include/asm/bug.h:35,

                 from include/linux/bug.h:4,

                 from include/linux/kref.h:18,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/request.h:32,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/transport.h:26,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/bdhandler.c:30:

include/linux/printk.h:103:0: note: this is the location of the previous definition

#define DEPRECATED "[Deprecated]: "

^

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vmci_defs.h:33:0,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/hgfsTransport.h:28,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/request.h:39,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/transport.h:26,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/bdhandler.c:30:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]

       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \

                    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’

MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)

^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]

       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \

                    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’

MAKE_ATOMIC_TYPE(Int, 32, int, int, int)

^

  CC [M]  /tmp/modconfig-qFw5gg/vmhgfs-only/dir.o

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/hgfs.h:40:0,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/hgfsProto.h:37,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/module.h:39,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/dentry.c:34:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:245:0: warning: "DEPRECATED" redefined [enabled by default]

    #define DEPRECATED(_fix) do {} while (0)

^

In file included from include/linux/kernel.h:13:0,

                 from include/linux/list.h:8,

                 from include/linux/wait.h:6,

                 from include/linux/fs.h:6,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/./shared/compat_fs.h:22,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/dentry.c:28:

include/linux/printk.h:103:0: note: this is the location of the previous definition

#define DEPRECATED "[Deprecated]: "

^

  CC [M]  /tmp/modconfig-qFw5gg/vmhgfs-only/file.o

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/hgfs.h:40:0,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/hgfsProto.h:37,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:37:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:245:0: warning: "DEPRECATED" redefined [enabled by default]

    #define DEPRECATED(_fix) do {} while (0)

^

In file included from include/linux/kernel.h:13:0,

                 from include/linux/list.h:8,

                 from include/linux/module.h:9,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:29:

include/linux/printk.h:103:0: note: this is the location of the previous definition

#define DEPRECATED "[Deprecated]: "

^

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vmci_defs.h:33:0,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/hgfsTransport.h:28,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/request.h:39,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:40:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]

       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \

                    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’

MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)

^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]

       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \

                    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’

MAKE_ATOMIC_TYPE(Int, 32, int, int, int)

^

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c: In function ‘HgfsPackDirOpenRequest’:

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:417:26: error: ‘struct file’ has no member named ‘f_dentry’

                      file->f_dentry) < 0) {

                          ^

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c: In function ‘HgfsDirLlseek’:

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:707:32: error: ‘struct file’ has no member named ‘f_dentry’

    struct dentry *dentry = file->f_dentry;

                                ^

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:39:0:

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c: In function ‘HgfsReaddirNextEntry’:

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:993:31: error: ‘struct file’ has no member named ‘f_dentry’

    si = HGFS_SB_TO_COMMON(file->f_dentry->d_inode->i_sb);

                               ^

/tmp/modconfig-qFw5gg/vmhgfs-only/module.h:78:62: note: in definition of macro ‘HGFS_SB_TO_COMMON’

#define HGFS_SB_TO_COMMON(sb)             ((HgfsSuperInfo *)(sb)->s_fs_info)

                                                              ^

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:1082:26: error: ‘struct file’ has no member named ‘f_dentry’

          *entryIno = file->f_dentry->d_inode->i_ino;

                          ^

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:30:0:

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:1088:44: error: ‘struct file’ has no member named ‘f_dentry’

          *entryIno = compat_parent_ino(file->f_dentry);

                                            ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/compat_fs.h:120:46: note: in definition of macro ‘compat_parent_ino’

#define compat_parent_ino(dentry) parent_ino(dentry)

                                              ^

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:1093:52: error: ‘struct file’ has no member named ‘f_dentry’

      *entryIno = HgfsGetFileInode(&entryAttrs, file->f_dentry->d_inode->i_sb);

                                                    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c: In function ‘HgfsDoReaddir’:

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:1172:13: error: ‘struct file’ has no member named ‘f_dentry’

       !(file->f_dentry) ||

             ^

/tmp/modconfig-qFw5gg/vmhgfs-only/dir.c:1173:13: error: ‘struct file’ has no member named ‘f_dentry’

       !(file->f_dentry->d_inode)) {

             ^

make[2]: *** [/tmp/modconfig-qFw5gg/vmhgfs-only/dir.o] Error 1

make[2]: *** Waiting for unfinished jobs....

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/hgfs.h:40:0,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/hgfsProto.h:37,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/file.c:41:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_assert.h:245:0: warning: "DEPRECATED" redefined [enabled by default]

    #define DEPRECATED(_fix) do {} while (0)

^

In file included from include/linux/kernel.h:13:0,

                 from include/linux/list.h:8,

                 from include/linux/module.h:9,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/file.c:29:

include/linux/printk.h:103:0: note: this is the location of the previous definition

#define DEPRECATED "[Deprecated]: "

^

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vmci_defs.h:33:0,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/hgfsTransport.h:28,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/request.h:39,

                 from /tmp/modconfig-qFw5gg/vmhgfs-only/file.c:43:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]

       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \

                    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’

MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)

^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]

       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \

                    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’

MAKE_ATOMIC_TYPE(Int, 32, int, int, int)

^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c: In function ‘HgfsPackOpenRequest’:

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:334:26: error: ‘struct file’ has no member named ‘f_dentry’

                      file->f_dentry) < 0) {

                          ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c: In function ‘HgfsOpen’:

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:654:32: error: ‘struct file’ has no member named ‘f_dentry’

             dparent = dget(file->f_dentry->d_parent);

                                ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:657:40: error: ‘struct file’ has no member named ‘f_dentry’

             HgfsSetUidGid(iparent, file->f_dentry,

                                        ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:658:27: error: incompatible type for argument 3 of ‘HgfsSetUidGid’

                           current_fsuid(), current_fsgid());

                           ^

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/file.c:45:0:

/tmp/modconfig-qFw5gg/vmhgfs-only/fsutil.h:92:6: note: expected ‘uid_t’ but argument is of type ‘kuid_t’

void HgfsSetUidGid(struct inode *parent,

      ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:658:27: error: incompatible type for argument 4 of ‘HgfsSetUidGid’

                           current_fsuid(), current_fsgid());

                           ^

In file included from /tmp/modconfig-qFw5gg/vmhgfs-only/file.c:45:0:

/tmp/modconfig-qFw5gg/vmhgfs-only/fsutil.h:92:6: note: expected ‘gid_t’ but argument is of type ‘kgid_t’

void HgfsSetUidGid(struct inode *parent,

      ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:717:30: error: ‘struct file’ has no member named ‘f_dentry’

       HgfsDentryAgeForce(file->f_dentry);

                              ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c: In function ‘HgfsAioRead’:

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:758:41: error: ‘struct file’ has no member named ‘f_dentry’

    result = HgfsRevalidate(iocb->ki_filp->f_dentry);

                                         ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:764:4: error: implicit declaration of function ‘generic_file_aio_read’ [-Werror=implicit-function-declaration]

    result = generic_file_aio_read(iocb, iov, numSegs, offset);

    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c: In function ‘HgfsAioWrite’:

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:807:41: error: ‘struct file’ has no member named ‘f_dentry’

    result = HgfsRevalidate(iocb->ki_filp->f_dentry);

                                         ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:813:4: error: implicit declaration of function ‘generic_file_aio_write’ [-Werror=implicit-function-declaration]

    result = generic_file_aio_write(iocb, iov, numSegs, offset);

    ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c: In function ‘HgfsSeek’:

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:951:41: error: ‘struct file’ has no member named ‘f_dentry’

    result = (loff_t) HgfsRevalidate(file->f_dentry);

                                         ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c: In function ‘HgfsMmap’:

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:1042:32: error: ‘struct file’ has no member named ‘f_dentry’

    result = HgfsRevalidate(file->f_dentry);

                                ^

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c: In function ‘HgfsSpliceRead’:

/tmp/modconfig-qFw5gg/vmhgfs-only/file.c:1271:32: error: ‘struct file’ has no member named ‘f_dentry’

    result = HgfsRevalidate(file->f_dentry);

                                ^

cc1: some warnings being treated as errors

make[2]: *** [/tmp/modconfig-qFw5gg/vmhgfs-only/file.o] Error 1

make[1]: *** [_module_/tmp/modconfig-qFw5gg/vmhgfs-only] Error 2

make[1]: Leaving directory `/usr/src/linux-headers-3.19.0-25-generic'

make: *** [vmhgfs.ko] Error 2

make: Leaving directory `/tmp/modconfig-qFw5gg/vmhgfs-only'

 

The filesystem driver (vmhgfs module) is used only for the shared folder

feature. The rest of the software provided by VMware Tools is designed to work

independently of this feature.

 

If you wish to have the shared folders feature, you can install the driver by

running vmware-config-tools.pl again after making sure that gcc, binutils, make

and the kernel sources for your running kernel are installed on your machine.

These packages are available on your distribution's installation CD.

[ Press Enter key to continue ]

 

Using 2.6.x kernel build system.

make: Entering directory `/tmp/modconfig-TW5zlZ/vmxnet-only'

/usr/bin/make -C /usr/src/linux-headers-3.19.0-25-generic/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

          MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/linux-headers-3.19.0-25-generic'

  CC [M]  /tmp/modconfig-TW5zlZ/vmxnet-only/vmxnet.o

In file included from /tmp/modconfig-TW5zlZ/vmxnet-only/vmxnet.c:54:0:

/tmp/modconfig-TW5zlZ/vmxnet-only/./shared/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined [enabled by default]

#define PCI_VENDOR_ID_VMWARE                    0x15AD

^

In file included from include/linux/pci.h:34:0,

                 from /tmp/modconfig-TW5zlZ/vmxnet-only/./shared/compat_pci.h:27,

                 from /tmp/modconfig-TW5zlZ/vmxnet-only/vmxnet.c:31:

include/linux/pci_ids.h:2251:0: note: this is the location of the previous definition

#define PCI_VENDOR_ID_VMWARE  0x15ad

^

/tmp/modconfig-TW5zlZ/vmxnet-only/vmxnet.c: In function ‘vmxnet_probe_device’:

/tmp/modconfig-TW5zlZ/vmxnet-only/vmxnet.c:1148:7: error: ‘struct net_device’ has no member named ‘do_ioctl’

    dev->do_ioctl = vmxnet_ioctl;

       ^

make[2]: *** [/tmp/modconfig-TW5zlZ/vmxnet-only/vmxnet.o] Error 1

make[1]: *** [_module_/tmp/modconfig-TW5zlZ/vmxnet-only] Error 2

make[1]: Leaving directory `/usr/src/linux-headers-3.19.0-25-generic'

make: *** [vmxnet.ko] Error 2

make: Leaving directory `/tmp/modconfig-TW5zlZ/vmxnet-only'

 

The fast network device driver (vmxnet module) is used only for our fast

networking interface. The rest of the software provided by VMware Tools is

designed to work independently of this feature.

If you wish to have the fast network driver enabled, you can install the driver

by running vmware-config-tools.pl again after making sure that gcc, binutils,

make and the kernel sources for your running kernel are installed on your

machine. These packages are available on your distribution's installation CD.

[ Press Enter key to continue ] ^C

Execution aborted.

 

Ubuntu 14.04.3 LTS


Viewing all articles
Browse latest Browse all 219257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>