2.3.22 CONFIG_BLK_DEV_INITRD/setup.c:622: `memory_end' undeclared

John Kennedy (jk@csuchico.edu)
Sat, 16 Oct 1999 10:43:36 -0700


--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii

It looks like some of the memory_end changes between 2.3.21 and 2.3.22
didn't get made for the CONFIG_BLK_DEV_INITRD block.

...
gcc -D__KERNEL__ -I/h/src/kernel/linux-2.3.22/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=686 -march=i686 -c -o setup.o setup.c
setup.c: In function `setup_arch':
setup.c:622: `memory_end' undeclared (first use in this function)
setup.c:622: (Each undeclared identifier is reported only once
setup.c:622: for each function it appears in.)
make[1]: *** [setup.o] Error 1
make[1]: Leaving directory `/mnt/h/src2/kernel/linux-2.3.22/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

No easy fix (at least not for me). (:

For now I've disabled CONFIG_BLK_DEV_INITRD, which lets it compile.

--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: Xf1zuhCrC5ICDyIWBz/yJ5xma716+PcM

iQA/AwUBOAi5SG/ftxGdcmZ0EQLaDQCdGsMuIlsy0r024lBDhzTlWc9814YAn3Si
+FNXjjO88Fywc7JxaxkdAOdo
=EvgZ
-----END PGP SIGNATURE-----

--5mCyUwZo2JvN/JJP--

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