2.5.42: unresolved symbols ext2
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Stig
/usr/bin/make-farch/i386/lib/Makefilemodules_install
if [ -r System.map ]; then/sbin/depmod-ae -F System.map -b/usr/src/linux/debian/tmp-image-r 2.5.42; fidepmod: *** 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_writemake[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
Signature · 1 line
brautaset.org
Quoted 2 lines · Stig Brautaset
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
mm/filemap.c +4 -0
@@ -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) {