Re: console_struct.h:97: `MAX_NR_CONSOLES' undeclared here
From: James Simmons <hidden>
Date: 2002-12-04 22:12:56
Okay. I applied a fix. I will push it soon.
gcc -Wp,-MD,kernel/.suspend.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
-Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DKBUILD_BASENAME=suspend -DKBUILD_MODNAME=suspend -DEXPORT_SYMTAB -c
-o kernel/suspend.o kernel/suspend.c
In file included from include/linux/vt_kern.h:12,
from kernel/suspend.c:46:
include/linux/console_struct.h:97: `MAX_NR_CONSOLES' undeclared here
(not in a function)
kernel/suspend.c:294:2: warning: #warning This might be broken. We need
to somehow wait for data to reach the disk
kernel/suspend.c: In function `count_and_copy_data_pages':
kernel/suspend.c:516: warning: passing arg 1 of `mmx_copy_page' makes
pointer from integer without a cast
kernel/suspend.c:516: warning: passing arg 2 of `mmx_copy_page' makes
pointer from integer without a cast
make[2]: *** [kernel/suspend.o] Error 1
CONFIG_MK7=y
#
# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_CLGEN is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
CONFIG_FB_RIVA=y
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
# CONFIG_FBCON_ADVANCED is not set
# CONFIG_FONTWIDTH8_ONLY is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf