Hi There will be one more file associated with the alarm driver.
Your need to add the header/source file to android drivers directory. Please check in source.android.com for the other drivers associated with android alarm driver. You can even look in netmite site for the same. Thanks On Fri, Aug 19, 2011 at 6:31 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 > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel