Is there anyone who runs VMware-Player-4.0.0-471780.x86_64 with kernel linux-1msc 3.1.0-rc7-3-desktop x86_64 on 12.1 Beta?
I always get errors in the vmnet-only directory:
===============================================================
CC [M] /tmp/vmware-root/modules/vmnet-only/vnetUserListener.o
In file included from /tmp/vmware-root/modules/vmnet-only/netif.c:43:0:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:186:0: warning: “alloc_netdev” redefined [enabled by default]
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2438:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:187:0: warning: “alloc_etherdev” redefined [enabled by default]
/usr/src/linux-3.1.0-rc7-3/include/linux/etherdevice.h:53:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: error: conflicting types for ‘netif_start_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1804:20: note: previous definition of ‘netif_start_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_start_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:210:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: error: conflicting types for ‘netif_stop_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1869:20: note: previous definition of ‘netif_stop_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_stop_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:216:19: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:220:1: error: conflicting types for ‘netif_queue_stopped’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1895:19: note: previous definition of ‘netif_queue_stopped’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_queue_stopped’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:226:1: error: conflicting types for ‘netif_wake_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1838:20: note: previous definition of ‘netif_wake_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_wake_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:228:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:4: error: implicit declaration of function ‘mark_bh’ -Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: error: ‘NET_BH’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: note: each undeclared identifier is reported only once for each function it appears in
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: error: conflicting types for ‘netif_running’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1911:19: note: previous definition of ‘netif_running’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:235:14: error: ‘struct device’ has no member named ‘start’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:239:1: error: conflicting types for ‘netif_carrier_ok’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2145:19: note: previous definition of ‘netif_carrier_ok’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:245:1: error: conflicting types for ‘netif_carrier_on’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2154:13: note: previous declaration of ‘netif_carrier_on’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:250:1: error: conflicting types for ‘netif_carrier_off’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2156:13: note: previous declaration of ‘netif_carrier_off’ was here
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfSetup’:
/tmp/vmware-root/modules/vmnet-only/netif.c:149:7: error: ‘struct net_device’ has no member named ‘init’
/tmp/vmware-root/modules/vmnet-only/netif.c:150:7: error: ‘struct net_device’ has no member named ‘open’
/tmp/vmware-root/modules/vmnet-only/netif.c:151:7: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/tmp/vmware-root/modules/vmnet-only/netif.c:152:7: error: ‘struct net_device’ has no member named ‘stop’
/tmp/vmware-root/modules/vmnet-only/netif.c:153:7: error: ‘struct net_device’ has no member named ‘get_stats’
/tmp/vmware-root/modules/vmnet-only/netif.c:154:7: error: ‘struct net_device’ has no member named ‘set_mac_address’
/tmp/vmware-root/modules/vmnet-only/netif.c:155:7: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfNetDeviceToNetIf’:
/tmp/vmware-root/modules/vmnet-only/netif.c:196:14: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIf_Create’:
/tmp/vmware-root/modules/vmnet-only/netif.c:311:4: error: implicit declaration of function ‘compat_alloc_netdev’ -Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/netif.c:311:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/vmware-root/modules/vmnet-only/netif.c:316:7: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfReceive’:
/tmp/vmware-root/modules/vmnet-only/netif.c:397:4: warning: passing argument 1 of ‘netif_running’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetifOpen’:
/tmp/vmware-root/modules/vmnet-only/netif.c:477:4: warning: passing argument 1 of ‘netif_start_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetifClose’:
/tmp/vmware-root/modules/vmnet-only/netif.c:525:4: warning: passing argument 1 of ‘netif_stop_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:236:1: warning: control reaches end of non-void function -Wreturn-type]
cc1: some warnings being treated as errors
make[4]: *** [/tmp/vmware-root/modules/vmnet-only/netif.o] Fehler 1
make[4]: *** Warte auf noch nicht beendete Prozesse…
In file included from /tmp/vmware-root/modules/vmnet-only/bridge.c:51:0:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:186:0: warning: “alloc_netdev” redefined [enabled by default]
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2438:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:187:0: warning: “alloc_etherdev” redefined [enabled by default]
/usr/src/linux-3.1.0-rc7-3/include/linux/etherdevice.h:53:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: error: conflicting types for ‘netif_start_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1804:20: note: previous definition of ‘netif_start_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_start_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:210:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: error: conflicting types for ‘netif_stop_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1869:20: note: previous definition of ‘netif_stop_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_stop_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:216:19: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:220:1: error: conflicting types for ‘netif_queue_stopped’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1895:19: note: previous definition of ‘netif_queue_stopped’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_queue_stopped’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:226:1: error: conflicting types for ‘netif_wake_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1838:20: note: previous definition of ‘netif_wake_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_wake_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:228:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:4: error: implicit declaration of function ‘mark_bh’ -Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: error: ‘NET_BH’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: note: each undeclared identifier is reported only once for each function it appears in
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: error: conflicting types for ‘netif_running’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1911:19: note: previous definition of ‘netif_running’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:235:14: error: ‘struct device’ has no member named ‘start’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:239:1: error: conflicting types for ‘netif_carrier_ok’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2145:19: note: previous definition of ‘netif_carrier_ok’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:245:1: error: conflicting types for ‘netif_carrier_on’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2154:13: note: previous declaration of ‘netif_carrier_on’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:250:1: error: conflicting types for ‘netif_carrier_off’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2156:13: note: previous declaration of ‘netif_carrier_off’ was here
cc1: some warnings being treated as errors
I found no useful patch for Kernel 3.1.0-rc7:
Can someone post a solution?
With the 12.1 Milestone 5 everything worked fine with the 2.6 Kernel version.