linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* console_struct.h:97: `MAX_NR_CONSOLES' undeclared here
@ 2002-12-04  4:44 Miles Lane
  2002-12-04 17:17 ` James Simmons
  2002-12-04 23:05 ` James Simmons
  0 siblings, 2 replies; 3+ messages in thread
From: Miles Lane @ 2002-12-04  4:44 UTC (permalink / raw)
  To: jsimmons, linux-fbdev-devel

I applied the patch from tonight to 2.5.50 and got this build error:
http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz 
<http://phoenix.infradead.org/%7Ejsimmons/fbdev.diff.gz> 

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: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: console_struct.h:97: `MAX_NR_CONSOLES' undeclared here
  2002-12-04  4:44 console_struct.h:97: `MAX_NR_CONSOLES' undeclared here Miles Lane
@ 2002-12-04 17:17 ` James Simmons
  2002-12-04 23:05 ` James Simmons
  1 sibling, 0 replies; 3+ messages in thread
From: James Simmons @ 2002-12-04 17:17 UTC (permalink / raw)
  To: Miles Lane; +Cc: linux-fbdev-devel


> I applied the patch from tonight to 2.5.50 and got this build error:
> http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz
> <http://phoenix.infradead.org/%7Ejsimmons/fbdev.diff.gz>

Okay. I found the problem. tty.h was missing in this file. I will post
another patch soon.




-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: console_struct.h:97: `MAX_NR_CONSOLES' undeclared here
  2002-12-04  4:44 console_struct.h:97: `MAX_NR_CONSOLES' undeclared here Miles Lane
  2002-12-04 17:17 ` James Simmons
@ 2002-12-04 23:05 ` James Simmons
  1 sibling, 0 replies; 3+ messages in thread
From: James Simmons @ 2002-12-04 23:05 UTC (permalink / raw)
  To: Miles Lane; +Cc: linux-fbdev-devel


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-04 22:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-04  4:44 console_struct.h:97: `MAX_NR_CONSOLES' undeclared here Miles Lane
2002-12-04 17:17 ` James Simmons
2002-12-04 23:05 ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).