kernel 2.5.2-pre11 -- `rd_image_start' undeclared (PATCH)

From: xsdg (xsdg@openprojects.net)
Date: Sat Jan 12 2002 - 16:03:51 EST


In kernels 2.5.1 and 2.5.2-pre11, I encountered the error

make CFLAGS="-D__KERNEL__ -I/usr/src/11pre-2.5.2k/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 " -C arch/i386/kernel
make[1]: Entering directory `/usr/src/11pre-2.5.2k/arch/i386/kernel'
gcc -D__KERNEL__ -I/usr/src/11pre-2.5.2k/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -c -o setup.o setup.c
setup.c: In function `setup_arch':
setup.c:682: `rd_image_start' undeclared (first use in this function)
setup.c:682: (Each undeclared identifier is reported only once
setup.c:682: for each function it appears in.)
setup.c:683: `rd_prompt' undeclared (first use in this function)
setup.c:684: `rd_doload' undeclared (first use in this function)
make[1]: *** [setup.o] Error 1
make[1]: Leaving directory `/usr/src/11pre-2.5.2k/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

when make'ing bzImage with ramdisks enabled, but initrd disabled. The attached
patch fixes that problem (by ungrouping ramdisk-related and initrd-enabled
variables in include/linux/blk.h).

        --xsdg

-- 
|---------------------------------------------------|
| Time flies like the wind, fruit flies like        |
|   bananas.                                        |
|---------------------------------------------------|
| http://xsdg.hypermart.net   xsdg@openprojects.net |
|---------------------------------------------------|


- 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 : Tue Jan 15 2002 - 21:00:39 EST