The same situation like in the last question. An android kernel (3.4.0), that I try to compile with gcc 5.2 (Linaro toolchain).
arch/arm/mach-msm/built-in.o:memory.c:function check_for_compat: error: undefined reference to '__compat_exports_start'
arch/arm/mach-msm/built-in.o:memory.c:function check_for_compat: error: undefined reference to '__compat_exports_end'
Here are some relevant files from the source for solving the problem:https://drive.google.com/folderview?id=0BzvG7t0B9TTDTk5MNlBEcVgxUVk&usp=sharing