Tracker item #3457581, was opened at 2011-12-11 14:21
Message generated for change (Comment added) 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: Closed
>Resolution: Fixed
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.
----------------------------------------------------------------------
>Comment By: Zbigniew Luszpinski (zbiggy)
Date: 2011-12-26 05:23
Message:
Fixed in open-vm-tools-2011.12.20-562307.tar.gz
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3457581&group_id=204462
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
open-vm-tools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel