[PATCH]Re: 124pre1 err

Eastep, Tom (eastep@loc1.tandem.com)
Wed, 30 Sep 1998 08:31:48 -0700


mario.mikocevic@sk.tel.hr wrote:
>
> Hi,
>
> In file included from vesafb.c:27:
> /usr/src/linux/include/asm/mtrr.h:89: warning: return-type defaults to `int'
> init/main.o(.data.init+0x90): undefined reference to `video_setup'
> drivers/char/char.a(mem.o): In function `chr_dev_init':
> mem.o(.text.init+0x2d): undefined reference to `fbmem_init'
> make: *** [vmlinux] Error 1
>

The following patch corrects this problem. Now if it would only boot...

--- linux/drivers/video/orig.Makefile Wed Sep 30 08:19:45 1998
+++ linux/drivers/video/Makefile Wed Sep 30 08:18:44 1998
@@ -35,7 +35,7 @@

ifeq ($(CONFIG_FB),y)
L_OBJS += fonts.o
- OX_OBJS += fbcon.o fbcmap.o
+ OX_OBJS += fbcon.o fbcmap.o fbmem.o
# fbgen is not compiled by default since nobody uses it yet, except clgenfb
ifeq ($(CONFIG_FONT_8x8),y)
L_OBJS += font_8x8.o

-- 
Tom Eastep	
COMPAQ Computer Corporation
Enterprise Computing Group
Tandem Division
tom.eastep@compaq.com

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