On tiistaina 24. toukokuuta 2016 15.05.08 EEST, Riku Voipio wrote:
Ok, fair enough, applied.
dropped since the build failed on squeeze. I take the simplest fix is to
wrap all nl support #ifdef IFLA_PROTO_DOWN since that is the newest define
available.
/squeeze-container/qemu/linux-user/syscall.c: In function
'host_to_target_data_link_rtattr':
/squeeze-container/qemu/linux-user/syscall.c:1674: error: 'IFLA_CARRIER'
undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c:1674: error: (Each undeclared
identifier is reported only once
/squeeze-container/qemu/linux-user/syscall.c:1674: error: for each function
it appears in.)
/squeeze-container/qemu/linux-user/syscall.c:1675: error: 'IFLA_PROTO_DOWN'
undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c:1682: error:
'IFLA_CARRIER_CHANGES' undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c:1683: error:
'IFLA_NUM_RX_QUEUES' undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c:1684: error:
'IFLA_NUM_TX_QUEUES' undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c:1685: error:
'IFLA_PROMISCUITY' undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c:1686: error: 'IFLA_EXT_MASK'
undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c:1687: error:
'IFLA_LINK_NETNSID' undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c:1688: error: 'IFLA_GROUP'
undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c:1690: error: 'IFLA_NUM_VF'
undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c:1728: error: 'IFLA_STATS64'
undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c:1730: error: dereferencing
pointer to incomplete type
/squeeze-container/qemu/linux-user/syscall.c:1730: error: dereferencing
pointer to incomplete type
/squeeze-container/qemu/linux-user/syscall.c:1731: error: dereferencing
pointer to incomplete type
....
/squeeze-container/qemu/linux-user/syscall.c:1758: error: dereferencing
pointer to incomplete type
/squeeze-container/qemu/linux-user/syscall.c:1769: error: 'IFLA_AF_SPEC'
undeclared (first use in this function)
/squeeze-container/qemu/linux-user/syscall.c: In function
'host_to_target_data_addr_rtattr':
/squeeze-container/qemu/linux-user/syscall.c:1795: error: 'IFA_FLAGS'
undeclared (first use in this function)
make[1]: *** [linux-user/syscall.o] Error 1
make: *** [subdir-aarch64-linux-user] Error 2