initrd bk6 & 7 builds - undefined initrd_load & real_root_dev

From: sean darcy (seandarcy@hotmail.com)
Date: Sat Apr 26 2003 - 12:21:00 EST


If initrd is compiled in, both 2.5.68-bk6 and bk7 give the same errors when
building;

.........
  gcc -E -Wp,-MD,arch/i386/.vmlinux.lds.s.d -D__ASSEMBLY__ -D__KERNEL__
-Iinclude -Iinclude/asm-i386/mach-default
-nostdinc -iwithprefix include -P -C -Ui386 -o arch/i386/vmlinux.lds.s
arch/i386/vmlinux.lds.S
  GEN .version
  CHK include/linux/compile.h
  UPD include/linux/compile.h
  gcc -Wp,-MD,init/.version.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon
-Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix
include -DKBUILD_BASENAME=version -DKBUILD_MODNAME=version -c -o
init/version.o init/version.c
   ld -m elf_i386 -r -o init/built-in.o init/main.o init/version.o
init/mounts.o init/initramfs.o
        ld -m elf_i386 -T arch/i386/vmlinux.lds.s arch/i386/kernel/head.o
arch/i386/kernel/init_task.o init/built-in.o --start-group usr/built-in.o
  arch/i386/kernel/built-in.o arch/i386/mm/built-in.o
arch/i386/mach-default/built-in.o kernel/built-in.o mm/built-in.o
fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o
lib/lib.a arch/i386/lib/lib.a drivers/built-in.o sound/built-in.o
arch/i386/pci/built-in.o net/built-in.o --end-group -o vmlinux
init/built-in.o(.init.text+0xf39): In function `prepare_namespace':
: undefined reference to `initrd_load'
kernel/built-in.o(.data+0x860): undefined reference to `real_root_dev'
make: *** [vmlinux] Error 1

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:24 EST