Hi,
looks like a missing

#include <asm/ptrace.h>

in arch/arm64/kernel/ptrace.c

ttyl
bero

On 19 September 2014 14:27, Khasim Syed Mohammed <khasim.mohammed@linaro.org> wrote:
Hi Zhizhou,

On 19 September 2014 01:10, Zhizhou Zhang (张治洲) <Zhizhou.Zhang@spreadtrum.com> wrote:

Dear Khasim,


I tried to build  kernel on branch lsk/linux-linaro-lsk-android. but the compiler complained the following messages:


16:03:52@~/work/linux-linaro-tracking$ make
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC      scripts/mod/devicetable-offsets.s
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTLD  scripts/mod/modpost
  CHK     include/generated/compile.h
  CC      arch/arm64/kernel/ptrace.o
arch/arm64/kernel/ptrace.c: In function ‘syscall_trace_exit’:
arch/arm64/kernel/ptrace.c:1112:3: error: implicit declaration of function ‘regs_return_value’ [-Werror=implicit-function-declaration]
   trace_sys_exit(regs, regs_return_value(regs));
   ^
cc1: some warnings being treated as errors
make[1]: *** [arch/arm64/kernel/ptrace.o] Error 1
make: *** [arch/arm64/kernel] Error 2


I thought this branch is not tested on arm64. that's said we use another branch to develop linaro-android for arm64. Am I right?

If I got it could you tell me witch branch should I track for develop android on arm64?

Can you please follow the instructions mentioned on Linaro release page ?


Let me know if you still find any problems.

Many thanks.


--
Zhizhou

Regards,
Khasim

_______________________________________________
linaro-android mailing list
linaro-android@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-android