I am trying to cross compile a code with CodeSourcery Arm compiler and I receive this error: CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/../arm-none-linux-gnueabi/libc/usr/include/time.h:123:5: error: unknown type name '__syscall_slong_t'
Do you know how to fix this error? I am using Ubuntu 12.04 OS.
This is my Makefile : http://paste.ubuntu.com/6010932/ and this is what I have after "make" command: http://paste.ubuntu.com/6010923/