or i shuold apply linus.patch regards abhishek
On 7/10/08, abhishek srivasatava <[EMAIL PROTECTED]> wrote: > no 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; > > pls suggest me > > > On 7/10/08, abhishek srivasatava <[EMAIL PROTECTED]> wrote: > > no 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 > > > > > > > > > > On 7/9/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > What is the command line used to build? > > > Did you do a make menuconfig or oldconfig? > > > Did you copy the ".config" from the emulator? > > > > > > Jeff > > > > > > On Jul 8, 9:22 am, "[EMAIL PROTECTED]" > > > > > > <[EMAIL PROTECTED]> wrote: > > > > 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 .............> > > > > > > > > drivers/ide/pci/amd74xx.c: In function 'init_hwif_amd74xx': > > > > drivers/ide/pci/amd74xx.c:408: error: implicit declaration of > function > > > > 'pci_get_legacy_ide_irq' > > > > make[3]: *** [drivers/ide/pci/amd74xx.o] Error 1 > > > > make[2]: *** [drivers/ide/pci] Error 2 > > > > make[1]: *** [drivers/ide] Error 2 > > > > make: *** [drivers] Error 2 > > > > > > > > pls help me to solve this problem > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Internals" group. To post to this group, send email to android-internals@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-internals?hl=en -~----------~----~----~----~------~----~------~--~---