lkml.org 
[lkml]   [2000]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.2.18pre* CONFIG_AGP=Y compile problem
In article <Pine.LNX.4.21.0009121550150.30704-100000@nuke.sitek.net> you wrote:

> Hello !

> There is error during "make bzImage" 2.2.18pre(3,4,5) with CONFIG_AGP=Y.
> I have it on both Slackware 7.0 and 7.1.
> Error message follows.

[snip]
> init/main.o: In function `do_basic_setup':
> init/main.o(.text.init+0xe02): undefined reference to `agp_initialize'
> init/main.o(.data.init+0x144): undefined reference to `agp_setup'
> make: *** [vmlinux] Error 1

Could you try the patch below?

Greetings,
Arjan van de Ven

--- /mnt/raid/1/2.2/linux-2.2.18p6/init/main.c Tue Sep 12 21:11:23 2000
+++ linux/init/main.c Tue Sep 12 21:43:34 2000
@@ -401,8 +401,7 @@
#endif

#ifdef CONFIG_AGP
-extern int agp_initialize (void);
-extern void agp_setup(char *str, int *ints);
+extern int agp_init (void);
#endif

/*
@@ -1059,9 +1058,6 @@
#ifdef CONFIG_BLK_CPQ_DA
{ "smart2=", cpqarray_setup },
#endif
-#ifdef CONFIG_AGP
- { "agp_try_unsupported=", agp_setup},
-#endif
{ 0, 0 }
};

@@ -1559,7 +1555,7 @@
nubus_init();
#endif
#ifdef CONFIG_AGP
- agp_initialize ();
+ agp_init();
#endif

/* Networking initialization needs a process context */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.040 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site