I've tried this but I get the following error :
external/iproute2/ip/iplink_vlan.c: In function 'vlan_parse_qos_map':
external/iproute2/ip/iplink_vlan.c:49: warning: pointer of type 'void
*' used in arithmetic
external/iproute2/ip/iplink_vlan.c:68: warning: pointer of type 'void
*' used in arithmetic
external/iproute2/ip/iplink_vlan.c:68: warning: pointer of type 'void
*' used in subtraction
external/iproute2/ip/iplink_vlan.c: In function 'vlan_parse_opt':
external/iproute2/ip/iplink_vlan.c:78: warning: missing initializer
external/iproute2/ip/iplink_vlan.c:78: warning: (near initialization
for 'flags.mask')
external/iproute2/ip/iplink_vlan.c:89: error: 'VLAN_FLAG_REORDER_HDR'
undeclared (first use in this function)
external/iproute2/ip/iplink_vlan.c:89: error: (Each undeclared
identifier is reported only once
external/iproute2/ip/iplink_vlan.c:89: error: for each function it
appears in.)
external/iproute2/ip/iplink_vlan.c:98: error: 'VLAN_FLAG_GVRP'
undeclared (first use in this function)
external/iproute2/ip/iplink_vlan.c:75: warning: unused parameter 'lu'
external/iproute2/ip/iplink_vlan.c: In function 'vlan_print_flags':
external/iproute2/ip/iplink_vlan.c:157: error: 'VLAN_FLAG_REORDER_HDR'
undeclared (first use in this function)
external/iproute2/ip/iplink_vlan.c:158: error: 'VLAN_FLAG_GVRP'
undeclared (first use in this function)
external/iproute2/ip/iplink_vlan.c: In function 'vlan_print_opt':
It seems that most of the flags are not defined in header files.
On Feb 13, 11:11 pm, Ying Wang <wangy...@android.com> wrote:
> You have to do a full build before you can run mm or mmm.
> To build only the "ip" command, run "make showcommands ip"
>
>
>
>
>
>
>
> On Fri, Feb 10, 2012 at 4:22 AM, Jorge Lanza <jlanza....@gmail.com> wrote:
> > The issue is that I want to compile the ip command, and I get lot of
> > errors.
>
> > I have tried using the busybox ip, but not all the features are available
> > (ip tunnels ip6ip6 for instance)
>
> > Thanks.
>