2002-01-22 21:23:49

by Miles Lane

[permalink] [raw]
Subject: 2.5.3-pre3 -- fbdev.c:1814: In function `riva_set_fbinfo': incompatible types in assignment


gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -c -o fbdev.o fbdev.c
fbdev.c: In function `riva_set_fbinfo':
fbdev.c:1814: incompatible types in assignment
make[4]: *** [fbdev.o] Error 1
make[4]: Leaving directory `/usr/src/linux/drivers/video/riva'

CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FB_RIVA=y
CONFIG_VIDEO_SELECT=y
CONFIG_FBCON_ADVANCED=y
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB32=y
CONFIG_FBCON_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_FONT_8x16=y



2002-01-22 22:06:21

by Dave Jones

[permalink] [raw]
Subject: Re: 2.5.3-pre3 -- fbdev.c:1814: In function `riva_set_fbinfo': incompatible types in assignment

On Tue, Jan 22, 2002 at 01:22:31PM -0800, Miles Lane wrote:
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -c -o fbdev.o fbdev.c
> fbdev.c: In function `riva_set_fbinfo':
> fbdev.c:1814: incompatible types in assignment
> make[4]: *** [fbdev.o] Error 1
> make[4]: Leaving directory `/usr/src/linux/drivers/video/riva'

Change the -1 on that line to NODEV

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs