Shouldn't CONFIG_BLK_DEV_HD_ONLY work?

John R. Lenton (lenton@famaf.fis.uncor.edu)
Sun, 29 Nov 1998 10:22:18 -0300


Hello all.

I've been trying to compile 2.1.130 for my 386dx33 (you
might remember my questions about hercules?), and I'm trying
to cut down on kernel memory (which is already huge because
of CONFIG_MATH_EMULATION). Modules are out, as is most fs's,
also the /new/ IDE driver (CONFIG_BLK_DEV_IDE). Or so I
thought: when I try to compile it using
CONFIG_BLK_DEV_HD_ONLY it refuses, grumbling along the lines
of
init/main.c:627: `hd_setup' undeclared here (not in a
function)
init/main.c:627: initializer element for
`cooked_params[12].setup_func' is not constant
make: *** [init/main.o] Error 1

It's probably something very silly (i.e. me), but I've only
just started down the path to C, so I'm not yet daring a
guess.

If it's not /that/ silly, I'll send in the full config so
y'all can figure it out. Or conversely, give me a hand'n'a
shuv and I'll do it myself.

Cheers,

John

-
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/