Tracker item #3457581, was opened at 2011-12-11 14:21
Message generated for change (Tracker Item Submitted) made by zbiggy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3457581&group_id=204462

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: kernel modules
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Zbigniew Luszpinski (zbiggy)
Assigned to: Nobody/Anonymous (nobody)
Summary: vmxnet fails to compile on kernels 3.0 nad later

Initial Comment:
Hello,

vmxnet kernel module fails to build on kernels 3.0 and later up to and 
including latest 3.2rc5. Here is compile error:
/usr/src/open-vm-tools-2011.11.20-535097/modules/linux/vmxnet/vmxnet.c: In 
function 'vmxnet_probe_device':
/usr/src/open-vm-tools-2011.11.20-535097/modules/linux/vmxnet/vmxnet.c:992:7: 
error: unknown field 'ndo_set_multicast_list' specified in initializer
/usr/src/open-vm-tools-2011.11.20-535097/modules/linux/vmxnet/vmxnet.c:992:7: 
warning: initialization from incompatible pointer type [enabled by default]     
                                                                                
                                                
/usr/src/open-vm-tools-2011.11.20-535097/modules/linux/vmxnet/vmxnet.c:992:7: 
warning: (near initialization for 'vmxnet_netdev_ops.ndo_vlan_rx_add_vid') 
[enabled by default]                                                            
                                                     
/usr/src/open-vm-tools-2011.11.20-535097/modules/linux/vmxnet/vmxnet.c: In 
function 'vmxnet_map_pkt':                                          
/usr/src/open-vm-tools-2011.11.20-535097/modules/linux/vmxnet/vmxnet.c:2047:32: 
error: incompatible type for argument 2 of 'pci_map_page'      
include/asm-generic/pci-dma-compat.h:43:1: note: expected 'struct page *' but 
argument is of type 'struct <anonymous>'
/usr/src/open-vm-tools-2011.11.20-535097/modules/linux/vmxnet/vmxnet.c:2066:26: 
error: incompatible type for argument 2 of 'pci_map_page'
include/asm-generic/pci-dma-compat.h:43:1: note: expected 'struct page *' but 
argument is of type 'struct <anonymous>'
/usr/src/open-vm-tools-2011.11.20-535097/modules/linux/vmxnet/vmxnet.c: In 
function 'vmxnet_rx_frags':
/usr/src/open-vm-tools-2011.11.20-535097/modules/linux/vmxnet/vmxnet.c:2561:48: 
error: incompatible types when assigning to type 'struct <anonymous>' from type 
'struct page *'
make[4]: *** 
[/usr/src/open-vm-tools-2011.11.20-535097/modules/linux/vmxnet/vmxnet.o] Error 1
make[3]: *** 
[_module_/usr/src/open-vm-tools-2011.11.20-535097/modules/linux/vmxnet] Error 2
make[2]: *** [vmxnet.ko] Error 2
make[1]: *** [vmxnet] Error 2
make: *** [all-recursive] Error 1

I use gcc 4.6.2, kernel 3.2rc5 from kernel,org and latest open-vm-tools.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3457581&group_id=204462

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to