Linux ATA/IDE development
 help / color / mirror / Atom feed
* erro in building(android_kernel)
@ 2008-07-11  5:14 abhishek srivasatava
  2008-07-11  7:03 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: abhishek srivasatava @ 2008-07-11  5:14 UTC (permalink / raw)
  To: linux-ide

hi
i am usng the linux-2.6.23-android-m3-rc20 kernel and  tool
chain
arm-2008q1-126-arm-none-linux-gnueabi.bin

while building the kernel i have found this error .............>

i am using  make goldfish_defconfig
 and make menuconfig and i am not copy the ".config" from the emulator
,is it necessory to copy the .config to build the kernel
i have solved that problem by applying add_pci_get_legacy_ide_irq.patch
and this patch solved that problem

now i am facing this problem--->

UPD     include/linux/compile.h
 CC      init/version.o
 LD      init/built-in.o
 LD      .tmp_vmlinux1
drivers/built-in.o: In function `nvram_ioctl':
/home/android/kernel/drivers/char/nvram.c:331: undefined reference to `rtc_lock'
drivers/built-in.o: In function `nvram_write':
/home/android/kernel/drivers/char/nvram.c:293: undefined reference to `rtc_lock'
drivers/built-in.o: In function `nvram_read':
/home/android/kernel/drivers/char/nvram.c:260: undefined reference to `rtc_lock'
drivers/built-in.o: In function `nvram_read_proc':
/home/android/kernel/drivers/char/nvram.c:403: undefined reference to `rtc_lock'
drivers/built-in.o: In function `nvram_check_checksum':
/home/android/kernel/drivers/char/nvram.c:191: undefined reference to `rtc_lock'
drivers/built-in.o:/home/android/kernel/drivers/char/nvram.c:173: more
undefined references to `rtc_lock' follow
drivers/built-in.o: In function `create_android_kdbg_endpoints':
/home/android/kernel/drivers/android/android_kernel_debug.c:668:
undefined reference to `usb_ep_autoconfig'
/home/android/kernel/drivers/android/android_kernel_debug.c:678:
undefined reference to `usb_ep_autoconfig'
make: *** [.tmp_vmlinux1] Error 1

but when i saw in include/linux/mc146818rtc.h
 it will defined extern spinlock_t rtc_lock;
shuold i chenge rtc_lock to spinlock_t rtc_lock;

or i read that use linus.patch
should i used this patch
pls help me

regards
Abhishek

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: erro in building(android_kernel)
  2008-07-11  5:14 erro in building(android_kernel) abhishek srivasatava
@ 2008-07-11  7:03 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2008-07-11  7:03 UTC (permalink / raw)
  To: abhishek srivasatava; +Cc: linux-ide

On Fri, 11 Jul 2008 10:44:14 +0530
"abhishek srivasatava" <getabhisheksrivastava@gmail.com> wrote:

> hi
> i am usng the linux-2.6.23-android-m3-rc20 kernel and  tool
> chain
> arm-2008q1-126-arm-none-linux-gnueabi.bin
> 
> while building the kernel i have found this error .............>

You should direct your queries to whoever provided you with that
non-standard kernel and ask them to fix it.

Alan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-11  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-11  5:14 erro in building(android_kernel) abhishek srivasatava
2008-07-11  7:03 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox