linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.19-pre8 compile fix
@ 2002-05-28 14:20 Meelis Roos
  0 siblings, 0 replies; only message in thread
From: Meelis Roos @ 2002-05-28 14:20 UTC (permalink / raw)
  To: linux-kernel

2.4.19-pre8 from BK, x86 and sparc, all partition types enabled:

fs/fs.o: In function `riscix_partition':
fs/fs.o(.text+0x27eb4): undefined reference to `page_cache_release'
fs/fs.o: In function `linux_partition':
fs/fs.o(.text+0x28054): undefined reference to `page_cache_release'
fs/fs.o: In function `adfspart_check_ADFS':
fs/fs.o(.text+0x280e8): undefined reference to `page_cache_release'
fs/fs.o(.text+0x28138): undefined reference to `page_cache_release'
fs/fs.o: In function `adfspart_check_ICSLinux':
fs/fs.o(.text+0x28268): undefined reference to `page_cache_release'
fs/fs.o(.text+0x28440): more undefined references to `page_cache_release' follow

page_cache_release is used in check.c and check.h. check.h is included
in several other files (includeing check.c) and there the errors come.
The solution is to include linux/pagemap.h in check.h.

This is a resubmit by me, I'm not the original author of the patch but
the problem bites me since I compile in support for all partition types.

The patch:

--- fs/partitions/check.h.old	Fri May 24 18:59:10 2002
+++ fs/partitions/check.h	Fri May 24 18:59:36 2002
@@ -2,6 +2,9 @@
  * add_partition adds a partitions details to the devices partition
  * description.
  */
+
+#include <linux/pagemap.h>
+
 void add_gd_partition(struct gendisk *hd, int minor, int start, int size);

 typedef struct {struct page *v;} Sector;

-- 
Meelis Roos (mroos@linux.ee)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-28 14:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-28 14:20 2.4.19-pre8 compile fix Meelis Roos

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).