Hi James,

One workaround is to also disable CONFIG_ACPI which will allow the build
to finish, just not sure if that's something you want disabled or not.

If you take a peek at the Makefile:

[EMAIL PROTECTED]:~$ head linux-2.6.24/init/Makefile 
#
# Makefile for the linux kernel.
#

obj-y                          := main.o version.o mounts.o
ifneq ($(CONFIG_BLK_DEV_INITRD),y)
obj-y                          += noinitramfs.o
else
obj-$(CONFIG_BLK_DEV_INITRD)   += initramfs.o
endif

You can see that since you've disabled BLK_DEV_INITRD, initramfs.o is
not being built and thus "early_populate_rootfs" is not defined.  As a
hack to get the compile to finish, you can comment out the
"early_populate_rootfs" call from linux-2.6.24/init/main.c with
something like:

[EMAIL PROTECTED]:~$ diff -Naur ubuntu-hardy/init/main.c 
linux-2.6.24/init/main.c
--- ubuntu-hardy/init/main.c    2007-12-09 15:11:22.000000000 -0800
+++ linux-2.6.24/init/main.c    2008-02-19 21:47:33.000000000 -0800
@@ -644,7 +644,9 @@
 
        check_bugs();
 
+#ifdef CONFIG_BLK_DEV_INITRD
        early_populate_rootfs(); /* For DSDT override from initramfs */
+#endif
        acpi_early_init(); /* before LAPIC and SMP init */
 
        /* Do the rest non-__init'ed, we're now alive */

Since BLK_DEV_INITRD is enabled by default for the Ubuntu kernels,
you're really building your own custom kernel by disabling this option.
I'm not sure how much attention the kernel team will devote to this bug
because of that fact but I'll ask them to take a peek anyways.  Thanks.

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium
     Assignee: (unassigned) => Ubuntu Kernel Team (ubuntu-kernel-team)
       Status: New => Triaged

-- 
compile fails without BLK_DEV_INITRD
https://bugs.launchpad.net/bugs/193507
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to