Re: [bug] only serial console -> build failure

Jeff Garzik (jgarzik@pobox.com)
Fri, 23 May 2003 12:04:04 -0400


On Fri, May 23, 2003 at 12:02:39PM -0400, Jeff Garzik wrote:
> gcc -Wp,-MD,drivers/char/.vt.o.d -D__KERNEL__ -Iinclude -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=pentium4
> -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=vt -DKBUILD_MODNAME=vt -c -o
> drivers/char/vt.o drivers/char/vt.c
> drivers/char/vt.c: In function `vty_init':
> drivers/char/vt.c:2518: `console_driver' undeclared (first use in this
> function)
> drivers/char/vt.c:2518: (Each undeclared identifier is reported only
> once
> drivers/char/vt.c:2518: for each function it appears in.)
> make[2]: *** [drivers/char/vt.o] Error 1
> make[1]: *** [drivers/char] Error 2

Following up:

This only occurs when CONFIG_VT=y but not CONFIG_VT_CONSOLE=y.

Jeff

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