Home Forum Software discussion Openwrt 4.4.52 VLAN compile error

This topic contains 0 replies, has 1 voice, and was last updated by  cpwrunner 1 week, 5 days ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #7131

    cpwrunner
    Participant

    When attempting to compile the 17.10 openwrt source with br_vlan compiled in I receive the error listed below. Has anyone had any success compiling a kernel with vlan support enabled? Otherwise I am able to get the compile to succeed.

    net/bridge/br_vlan.c: In function ‘__br_vlan_filter_toggle’:
    net/bridge/br_vlan.c:668:3: error: unknown field ‘orig_dev’ specified in initializer
    .orig_dev = br->dev,
    ^
    net/bridge/br_vlan.c:668:15: error: incompatible types when initializing type ‘enum switchdev_attr_id’ using type ‘struct net_device *’
    .orig_dev = br->dev,
    ^
    net/bridge/br_vlan.c: In function ‘nbp_vlan_init’:
    net/bridge/br_vlan.c:963:3: error: unknown field ‘orig_dev’ specified in initializer
    .orig_dev = p->br->dev,
    ^
    net/bridge/br_vlan.c:963:15: error: incompatible types when initializing type ‘enum switchdev_attr_id’ using type ‘struct net_device *’
    .orig_dev = p->br->dev,
    ^
    net/bridge/br_vlan.c: In function ‘nbp_vlan_add’:
    net/bridge/br_vlan.c:1011:3: error: unknown field ‘orig_dev’ specified in initializer
    .obj.orig_dev = port->dev,
    ^
    net/bridge/br_vlan.c:1011:19: error: incompatible types when initializing type ‘enum switchdev_obj_id’ using type ‘struct net_device *’
    .obj.orig_dev = port->dev,
    ^

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Technical specification tables can not be displayed on mobile. Please view on desktop