2001-11-02 09:55:08

by jarausch

[permalink] [raw]
Subject: 2.4.14-pre7 Unresolved symbols

Hi,

trying to build 2.4.14-pre7 breaks with the error message
depmod: *** Unresolved symbols in /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o
depmod: unlock_page

during make modules_install.

2.4.14-pre6 is running fine here.

Thank for hint,
Helmut Jarausch

Inst. of Technology
RWTH Aachen
Germany



2001-11-02 10:22:01

by Sebastian Droege

[permalink] [raw]
Subject: Re: 2.4.14-pre7 Unresolved symbols

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi
There are a more unresolved symbols in:

depmod: *** Unresolved symbols in
/lib/modules/2.4.14-pre7/kernel/drivers/block/loop.o
depmod: unlock_page
depmod: *** Unresolved symbols in
/lib/modules/2.4.14-pre7/kernel/fs/isofs/isofs.o
depmod: unlock_page
depmod: *** Unresolved symbols in
/lib/modules/2.4.14-pre7/kernel/fs/smbfs/smbfs.o
depmod: unlock_page

Bye

Am Freitag, 2. November 2001 11:53 schrieb [email protected]:
> Hi,
>
> trying to build 2.4.14-pre7 breaks with the error message
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o depmod:
> unlock_page
>
> during make modules_install.
>
> 2.4.14-pre6 is running fine here.
>
> Thank for hint,
> Helmut Jarausch
>
> Inst. of Technology
> RWTH Aachen
> Germany
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE74oH/vIHrJes3kVIRAor2AKCUi5Uf98lvFCZwsIYaEnRS4Y7yhACcCJqG
HmAcNnrowgMPOaRyI9s1lD0=
=m5TA
-----END PGP SIGNATURE-----

2001-11-02 10:43:24

by Eyal Lebedinsky

[permalink] [raw]
Subject: Re: 2.4.14-pre7 Unresolved symbols [PATCH]

--- linux/mm/filemap.c.orig Fri Nov 2 21:28:22 2001
+++ linux/mm/filemap.c Fri Nov 2 21:28:48 2001
@@ -785,6 +785,7 @@
if (waitqueue_active(&(page)->wait))
wake_up(&(page)->wait);
}
+EXPORT_SYMBOL(unlock_page);

/*
* Get a lock on the page, assuming we need to sleep


Attachments:
2.4.14-pre7-filemap.patch (278.00 B)

2001-11-02 18:54:28

by Michael H. Warfield

[permalink] [raw]
Subject: Re: 2.4.14-pre7 Unresolved symbols

On Fri, Nov 02, 2001 at 12:22:37PM +0100, Sebastian Dr?ge wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
> There are a more unresolved symbols in:

> depmod: *** Unresolved symbols in
> /lib/modules/2.4.14-pre7/kernel/drivers/block/loop.o
> depmod: unlock_page

Also rd.o if you have that compiled as a module.

> depmod: *** Unresolved symbols in
> /lib/modules/2.4.14-pre7/kernel/fs/isofs/isofs.o
> depmod: unlock_page
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.14-pre7/kernel/fs/smbfs/smbfs.o
> depmod: unlock_page
>
> Bye
>
> Am Freitag, 2. November 2001 11:53 schrieb [email protected]:
> > Hi,
> >
> > trying to build 2.4.14-pre7 breaks with the error message
> > depmod: *** Unresolved symbols in
> > /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o depmod:
> > unlock_page
> >
> > during make modules_install.
> >
> > 2.4.14-pre6 is running fine here.
> >
> > Thank for hint,
> > Helmut Jarausch
> >
> > Inst. of Technology
> > RWTH Aachen
> > Germany

Mike
--
Michael H. Warfield | (770) 985-6132 | [email protected]
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!

2001-11-02 19:39:28

by jjs

[permalink] [raw]
Subject: Re: 2.4.14-pre7 Unresolved symbols

trivial patch, "works for me" (tm) -

diff -urN linux/kernel/ksyms.c linux-patched/kernel/ksyms.c
--- linux/kernel/ksyms.c Fri Nov 2 11:02:45 2001
+++ linux-patched/kernel/ksyms.c Fri Nov 2 10:09:48 2001
@@ -83,6 +83,7 @@
EXPORT_SYMBOL(do_mmap_pgoff);
EXPORT_SYMBOL(do_munmap);
EXPORT_SYMBOL(do_brk);
+EXPORT_SYMBOL(unlock_page);
EXPORT_SYMBOL(exit_mm);
EXPORT_SYMBOL(exit_files);
EXPORT_SYMBOL(exit_fs);