Hi, there is also a ticket about the problem here[1].
The problem is a missing include for barrier.h that is caused by a duplicate header guard - I guess it might be this commit that introduced the problem: [2] The problem seems to be that both barrier.h header files are included when compiling mac80211 for UML, however the identical header guard prevents the inclusion of the original <asm-generic/barrier.h> hat therefore barrier.h is never included[3]. Missing definitions are the cause for the failing build. The fix is simple: Changing the header guard for backports-generic/asm/barrier.h to something different like __BACKPORT_ASM_BARRIER_H fixes the problem for me. Unfortunately I'm not sure how to create a patch for this or where to send it. This fixes the build issue and mac80211 hwsim could be activated again for the UML targets. thanks®ards Martin 1: https://dev.openwrt.org/ticket/19146 2: https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=2d7d4083a7a418c1682d289920683f8b159d16c7 3: https://gist.githubusercontent.com/anonymous/32f08ca5b5c12e46b8d7/raw/347509635de4f30034eb79dc9860fb90f61ab479/gistfile1.txt
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel