public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.5.42: unresolved symbols ext2
       [not found] <fa.j2ck6sv.162gurn@ifi.uio.no>
@ 2002-10-12 10:45 ` Stig Brautaset
  2002-10-12 13:50   ` [PATCH] " Benjamin LaHaise
  0 siblings, 1 reply; 2+ messages in thread
From: Stig Brautaset @ 2002-10-12 10:45 UTC (permalink / raw)
  To: linux-kernel

On Oct 12 2002, Stig wrote:
> /usr/bin/make -f arch/i386/lib/Makefile modules_install
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /usr/src/linux/debian/tmp-image -r 2.5.42; fi
> depmod: *** Unresolved symbols in /usr/src/linux/debian/tmp-image/lib/modules/2.5.42/kernel/fs/ext2/ext2.o
> depmod:         generic_file_aio_read
> depmod:         generic_file_aio_write
> make[2]: *** [_modinst_post] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.5.x'
> make[1]: *** [real_stamp_image] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.5.x'

Oops, that was compiled with the debian make-kpkg tool. Here's the
output from vanilla make modules_install:

make -f arch/i386/lib/Makefile modules_install
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.42; fi
depmod: *** Unresolved symbols in /lib/modules/2.5.42/kernel/fs/ext2/ext2.o
depmod:         generic_file_aio_read
depmod:         generic_file_aio_write
make: *** [_modinst_post] Error 1

Sorry about that.


Stig
-- 
brautaset.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] Re: 2.5.42: unresolved symbols ext2
  2002-10-12 10:45 ` 2.5.42: unresolved symbols ext2 Stig Brautaset
@ 2002-10-12 13:50   ` Benjamin LaHaise
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin LaHaise @ 2002-10-12 13:50 UTC (permalink / raw)
  To: Linus Torvalds, Stig Brautaset; +Cc: linux-kernel

On Sat, Oct 12, 2002 at 11:45:04AM +0100, Stig Brautaset wrote:
> Oops, that was compiled with the debian make-kpkg tool. Here's the
> output from vanilla make modules_install:

Whoops, looks like I missed a couple of exports.  Please apply the patch 
below that adds exports for generic_file_aio_{read,write}.

		-ben

diff -urN v2.5.42/mm/filemap.c v2.5.42-syms/mm/filemap.c
--- v2.5.42/mm/filemap.c	Sat Oct 12 09:42:35 2002
+++ v2.5.42-syms/mm/filemap.c	Sat Oct 12 09:44:23 2002
@@ -893,6 +893,8 @@
 	return __generic_file_aio_read(iocb, &local_iov, 1, &iocb->ki_pos);
 }
 
+EXPORT_SYMBOL(generic_file_aio_read);
+
 ssize_t
 generic_file_read(struct file *filp, char *buf, size_t count, loff_t *ppos)
 {
@@ -1652,6 +1654,8 @@
 	return generic_file_write(iocb->ki_filp, buf, count, &iocb->ki_pos);
 }
 
+EXPORT_SYMBOL(generic_file_aio_write);
+
 ssize_t generic_file_write(struct file *file, const char *buf,
 			   size_t count, loff_t *ppos)
 {

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-12 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.j2ck6sv.162gurn@ifi.uio.no>
2002-10-12 10:45 ` 2.5.42: unresolved symbols ext2 Stig Brautaset
2002-10-12 13:50   ` [PATCH] " Benjamin LaHaise

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox