From: Willy Tarreau <wtarreau@free.fr>
To: hjb@pro-linux.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.18-rc4 compile problem
Date: Sun, 24 Feb 2002 08:58:32 +0100 (CET) [thread overview]
Message-ID: <200202240758.g1O7wWP00403@ns.home.local> (raw)
> I had no problems compiling 2.4.17. Then I applied patch 2.4.18-rc1 without
> error, and the above problem appeared. Then I applied the incremental
> patches through -rc4 but the problem remains.
2.4.18-rc1 unexports page_cache_release and replaces it with a macro, so you
may have one driver under the fs directory that now needs to include
linux/pagemap.h.
You'll catch the culprit with simething like :
# find fs -name '*.o' | xargs nm -oa|grep page_cache_release
But I sincerely think that you have a damaged 2.4.17 source tree. You may want
to de-tar it again to check. I tried to compile everything under 2.4.18-rc1,
and all compiled well. You may have tried rmap or other patches on it before.
Well, finally I compiled 2.4.18-rc4 with your .config (gcc-2.95.3) while typing
this mail and it compiled and linked :
# tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT > bzImage
# Root device is (8, 3)
# Boot sector 512 bytes.
# Setup is 2516 bytes.
# System is 649 kB
# make[1]: Leaving directory `/usr/src/linux-2.4.18-rc4/arch/i386/boot'
# 106.120u 9.440s 0:59.65 193.7% 0+0k 0+0io 400347pf+0w
# pcw{willy}120:
Regards,
Willy
#### for info, extract from patch-2.4.18-rc1 ####
--- linux.orig/include/linux/pagemap.h Tue Jan 22 17:51:24 2002
+++ linux/include/linux/pagemap.h Wed Jan 9 17:10:17 2002
@@ -29,7 +29,7 @@
#define PAGE_CACHE_ALIGN(addr) (((addr)+PAGE_CACHE_SIZE-1)&PAGE_CACHE_MASK)
#define page_cache_get(x) get_page(x)
-extern void FASTCALL(page_cache_release(struct page *));
+#define page_cache_release(x) __free_page(x)
--- linux.orig/kernel/ksyms.c Tue Jan 22 17:51:24 2002
+++ linux/kernel/ksyms.c Wed Feb 6 21:06:42 2002
@@ -95,7 +95,6 @@
-EXPORT_SYMBOL(page_cache_release);
next reply other threads:[~2002-02-24 7:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-24 7:58 Willy Tarreau [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-02-23 16:02 Hans-Joachim Baader
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200202240758.g1O7wWP00403@ns.home.local \
--to=wtarreau@free.fr \
--cc=hjb@pro-linux.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®