#22230: #49193 breaks compiling /w kernels >4.4
-------------------------+---------------------------------------
Reporter: olmari | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Designated Driver (Trunk)
Component: base system | Version: Trunk
Keywords: |
-------------------------+---------------------------------------
#49193 breaks compiling with kernels under 4.4 at least (for example
default is 4.1(.20) for ar71xx currently. after dirclean I still get this
with make V=s:
{{{
make[5]: Entering directory '/home/sami/sorsat/openwrt/trunk/build_dir
/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/linux-4.1.20'
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/mips/ath79/mach-om5pacv2.o
arch/mips/ath79/mach-om5pacv2.c:14:5: error: "LINUX_VERSION_CODE" is not
defined [-Werror=undef]
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
^
arch/mips/ath79/mach-om5pacv2.c:14:26: error: "KERNEL_VERSION" is not
defined [-Werror=undef]
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
^
arch/mips/ath79/mach-om5pacv2.c:14:40: error: missing binary operator
before token "("
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
^
arch/mips/ath79/mach-om5pacv2.c:17:44: fatal error: linux/platform_data
/mdio-gpio.h: No such file or directory
}}}
And then errors out...
--
Ticket URL: <https://dev.openwrt.org/ticket/22230>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets