Hi,

i started working with the android kernel and wanted to compile a lkm for 
android 8.1, arm64. (I already succeeded in building an android kernel with 
module support) 
My current process fails with this error trace

In file included from include/linux/time.h:6:0,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /[...]/MyModul/sysc_test.c:2:
include/linux/math64.h:5:23: fatal error: asm/div64.h: No such file or 
directory
 #include <asm/div64.h>
                       ^
And in my android kernel directory (msm kernel, since my testing device is 
a Nexus 5X) there exists a asm/div64.h for about each architecture, except 
arm64

$ find ./msm -name "div64.h"
./include/asm-generic/div64.h
./arch/m68k/include/asm/div64.h
./arch/avr32/include/asm/div64.h
./arch/ia64/include/asm/div64.h
./arch/mn10300/include/asm/div64.h
./arch/powerpc/include/asm/div64.h
./arch/h8300/include/asm/div64.h
./arch/m32r/include/asm/div64.h
./arch/s390/include/asm/div64.h
./arch/cris/include/asm/div64.h
./arch/mips/include/asm/div64.h
./arch/frv/include/asm/div64.h
./arch/score/include/asm/div64.h
./arch/metag/include/asm/div64.h
./arch/x86/include/asm/div64.h
./arch/microblaze/include/asm/div64.h
./arch/arm/include/asm/div64.h
./arch/alpha/include/asm/div64.h

Is this normal? Do i have to use some special includes for arm64? The same 
code already compiled for arm7. 

Best regards,
Alex

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to