Public bug reported:

When compiling r8168 from source using the code downloaded from the realtek 
website you are faced with the following errors:
r8168-8.036.00/src/r8168_n.c: In function ‘rtl8168_rx_vlan_skb’:
r8168-8.036.00/src/r8168_n.c:2237:9: error: too few arguments to function 
‘__vlan_hwaccel_put_tag’
In file included from r8168-8.036.00/src/r8168_n.c:46:0:
include/linux/if_vlan.h:236:31: note: declared here
r8168-8.036.00/src/r8168_n.c: In function ‘rtl8168_hw_set_features’:
8168-8.036.00/src/r8168_n.c:2298:25: error: ‘NETIF_F_HW_VLAN_RX’ undeclared 
(first use in this function)
r8168-8.036.00/src/r8168_n.c:2298:25: note: each undeclared identifier is 
reported only once for each function it appears in
r8168-8.036.00/src/r8168_n.c: In function ‘rtl8168_init_one’:
r8168-8.036.00/src/r8168_n.c:16198:26: error: ‘NETIF_F_HW_VLAN_TX’ undeclared 
(first use in this function)
r8168-8.036.00/src/r8168_n.c:16198:47: error: ‘NETIF_F_HW_VLAN_RX’ undeclared 
(first use in this function)
make[3]: *** [r8168-8.036.00/src/r8168_n.o] Error 1

These are as a result of the following breaking changes:
 
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f646968f8f7c624587de729115d802372b9063dd
 and this 
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/linux/if_vlan.h?id=86a9bad3ab6b6f858fd4443b48738cabbb6d094c

I'm not sure exactly in which version of the kernel these appeared.

I'm running the latest linux kernel thus I don't think this issue is
present on the software center but will be a forthcoming issue. Have
attached a non-backward compatible patch fixing the issue (for me).
Please review in particular the htons() argument.

lsb_release -rd
Description:    Ubuntu 13.04
Release:        13.04

** Affects: r8168 (Ubuntu)
     Importance: Undecided
     Assignee: Edward Baunton (edbaunton)
         Status: New


** Tags: r8168 realtek

** Changed in: r8168 (Ubuntu)
     Assignee: (unassigned) => Edward Baunton (edbaunton)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1216906

Title:
  r8168-8.036.00 fails to compile under 3.11.0-rc7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/r8168/+bug/1216906/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to