I recently emerged linux-2.4.22-gentoo-r7. I compiled ntfs as a modules. At the end of make modules_install where it runs depmod -ae ...., I get an unresolved symbols message with ntfs.o , the function was __mark_dirty Reproducible: Always Steps to Reproduce: 1. compile ntfs as a module, include debug and write functions 2. at the end of make modules_install you will see it 3. or just run depmod -a Actual Results: Unresolved symbols with ntfs.o . I cannot reproduce the bug now because I think I've found out what was missing. Expected Results: nothing. I saw from the following patch that EXPORT_SYMBOL(__mark_dirty); was missing from kernel/ksyms.c I put it in and now it works. At first I tried putting in EXPORT_SYMBOL(end_buffer_io_sync); but I got errors with that. I think it was exported somewhere else. --- linux-2.4.25/kernel/ksyms.c 2004-02-18 14:36:32.000000000 +0100 +++ linux-2.4.25-ntfs/kernel/ksyms.c 2004-03-09 23:26:10.000000000 +0100 @@ -177,6 +177,8 @@ EXPORT_SYMBOL(mark_buffer_dirty); EXPORT_SYMBOL(set_buffer_async_io); /* for reiserfs_writepage */ EXPORT_SYMBOL(end_buffer_io_async); +EXPORT_SYMBOL(end_buffer_io_sync); +EXPORT_SYMBOL(__mark_dirty); EXPORT_SYMBOL(__mark_buffer_dirty); EXPORT_SYMBOL(__mark_inode_dirty); EXPORT_SYMBOL(fd_install);
Can you try latest gentoo-sources please