Linux ATA/IDE development
 help / color / mirror / Atom feed
From: "abhishek srivasatava" <getabhisheksrivastava@gmail.com>
To: linux-ide@vger.kernel.org
Subject: erro in building(android_kernel)
Date: Fri, 11 Jul 2008 10:44:14 +0530	[thread overview]
Message-ID: <ed4c39ba0807102214i55475bd7tfccead678d24dff9@mail.gmail.com> (raw)

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

             reply	other threads:[~2008-07-11  5:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-11  5:14 abhishek srivasatava [this message]
2008-07-11  7:03 ` erro in building(android_kernel) Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ed4c39ba0807102214i55475bd7tfccead678d24dff9@mail.gmail.com \
    --to=getabhisheksrivastava@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox