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 -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html