* compile error -rmap12a and 2.4.18-pre7
@ 2002-01-24 23:36 knobo
2002-01-24 23:51 ` Rik van Riel
2002-01-25 1:52 ` Dan Chen
0 siblings, 2 replies; 3+ messages in thread
From: knobo @ 2002-01-24 23:36 UTC (permalink / raw)
To: linux-kernel
Hi
I applied first rmap12a ant then 2.4.18-pre7
then I removed line 502 (i think) "nr_pages--" from
linux/mm/vmscan.c. (thanx to mjc)
Then I did make dep clean bzImage.
then I got some warnings:
In file included from /usr/src/linux/include/linux/modversions.h:144,
from /usr/src/linux/include/linux/module.h:21,
from dec_and_lock.c:1:
/usr/src/linux/include/linux/modules/ksyms.ver:249: warning: `__ver_waitfor_one_page' redefined
/usr/src/linux/include/linux/modules/buffer.ver:13: warning: this is the location of the previous definition
And finally:
fs/fs.o(__ksymtab+0x38): multiple definition of `__ksymtab_waitfor_one_page'
kernel/kernel.o(__ksymtab+0x548): first defined here
fs/fs.o(.kstrtab+0xfb): multiple definition of `__kstrtab_waitfor_one_page'
kernel/kernel.o(.kstrtab+0x10fa): first defined here
make: *** [vmlinux] Error 1
Then I turned off loadable module support, and the kernel compiled ok.
--
Knut Olav Bøhmer
_ _
/ / (_)__ __ ____ __
/ /__/ / _ \/ // /\ \/ / ... The choice of a
/____/_/_//_/\.,_/ /_/\.\ GNU generation
export PAGER="od -x |less"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: compile error -rmap12a and 2.4.18-pre7
2002-01-24 23:36 compile error -rmap12a and 2.4.18-pre7 knobo
@ 2002-01-24 23:51 ` Rik van Riel
2002-01-25 1:52 ` Dan Chen
1 sibling, 0 replies; 3+ messages in thread
From: Rik van Riel @ 2002-01-24 23:51 UTC (permalink / raw)
To: knobo; +Cc: linux-kernel
On 25 Jan 2002 knobo@linpro.no wrote:
> I applied first rmap12a ant then 2.4.18-pre7
>
> then I removed line 502 (i think) "nr_pages--" from
> linux/mm/vmscan.c. (thanx to mjc)
Yes, this line is added by the -pre7 patch.
The reason I haven't upgraded -rmap to -pre7 yet is that
I used to pull the new kernel patches from Ted T'so's
2.4 bitkeeper tree, but he hasn't updated his tree yet.
I think I'll have to re-do his changes to bk's import
script so I can import incremental kernel patches with
the changelog messages in the bk tree ...
regards,
Rik
--
"Linux holds advantages over the single-vendor commercial OS"
-- Microsoft's "Competing with Linux" document
http://www.surriel.com/ http://distro.conectiva.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: compile error -rmap12a and 2.4.18-pre7
2002-01-24 23:36 compile error -rmap12a and 2.4.18-pre7 knobo
2002-01-24 23:51 ` Rik van Riel
@ 2002-01-25 1:52 ` Dan Chen
1 sibling, 0 replies; 3+ messages in thread
From: Dan Chen @ 2002-01-25 1:52 UTC (permalink / raw)
To: knobo; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1516 bytes --]
I believe you applied this in the reverse order. Patch
.17->.18-pre7->rmap12a. Use
http://www.cs.unc.edu/~chenda/Other/2.4.18-pre7_to_rmap12a.diff
I did a sanity build, and the kernel did compile and link correctly
using default config (though I did not reboot as I'm running tied up at
the moment).
On Fri, Jan 25, 2002 at 12:36:08AM +0100, knobo@linpro.no wrote:
> Hi
>
> I applied first rmap12a ant then 2.4.18-pre7
>
> then I removed line 502 (i think) "nr_pages--" from
> linux/mm/vmscan.c. (thanx to mjc)
>
> Then I did make dep clean bzImage.
>
> then I got some warnings:
> In file included from /usr/src/linux/include/linux/modversions.h:144,
> from /usr/src/linux/include/linux/module.h:21,
> from dec_and_lock.c:1:
> /usr/src/linux/include/linux/modules/ksyms.ver:249: warning: `__ver_waitfor_one_page' redefined
> /usr/src/linux/include/linux/modules/buffer.ver:13: warning: this is the location of the previous definition
>
> And finally:
>
> fs/fs.o(__ksymtab+0x38): multiple definition of `__ksymtab_waitfor_one_page'
> kernel/kernel.o(__ksymtab+0x548): first defined here
> fs/fs.o(.kstrtab+0xfb): multiple definition of `__kstrtab_waitfor_one_page'
> kernel/kernel.o(.kstrtab+0x10fa): first defined here
> make: *** [vmlinux] Error 1
>
>
>
> Then I turned off loadable module support, and the kernel compiled ok.
--
Dan Chen crimsun@email.unc.edu
GPG key: www.unc.edu/~crimsun/pubkey.gpg.asc
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-01-25 1:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-24 23:36 compile error -rmap12a and 2.4.18-pre7 knobo
2002-01-24 23:51 ` Rik van Riel
2002-01-25 1:52 ` Dan Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox