Hi, >>>drivers/rtc/alarm.c:17:27: error: asm/mach/time.h: No such file or directory You can find this file : arch/<arch>/include/asm/mach/time.h For ARM architecture: arch/arm/include/asm/mach/time.h
>>>drivers/rtc/alarm.c:335: warning: format ‘%d’ expects type ‘int’, but >>>argument 2 has type ‘long int’ >>>drivers/rtc/alarm.c:358: warning: format ‘%d’ expects type ‘int’, but >>>argument 2 has type ‘long int’ You can resolve these warnings by replacing "%d" to "%ld" in the format specifier string of your prints. Thanks and Regards, Ashay Jaiswal. On Aug 19, 6:01 pm, naga raj <vimal.e...@gmail.com> wrote: > ---------- Forwarded message ---------- > From: naga raj <vimal.e...@gmail.com> > Date: Fri, Aug 19, 2011 at 6:31 PM > Subject: error in drivers/rtc/alarm.c > To: android-port...@googlegroups.com > > hi all, > > i am trying to compile google's android kernel 3.0.but it gives the > following error.... > drivers/rtc/alarm.c:17:27: error: asm/mach/time.h: No such file or directory > drivers/rtc/alarm.c: In function ‘alarm_timer_triggered’: > drivers/rtc/alarm.c:335: warning: format ‘%d’ expects type ‘int’, but > argument 2 has type ‘long int’ > drivers/rtc/alarm.c:358: warning: format ‘%d’ expects type ‘int’, but > argument 2 has type ‘long int’ > make[2]: *** [drivers/rtc/alarm.o] Error 1 > make[1]: *** [drivers/rtc] Error 2 > make: *** [drivers] Error 2 > if anybody know how to solve this problem.....pls let me know...... > > Thanks and regards > Nagarajan k- Hide quoted text - > > - Show quoted text - -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel